Implementing TOTP-based Two-Factor Authentication in Spring Boot

Understanding TOTP Two-Factor Authentication Time-based One-Time Password (TOTP) is a widely adopted second-factor authentication mechanism that generates temporary codes using a shared secret key and the current timestamp. Unlike traditional SMS-based verification, TOTP relies on authenticator applications (such as Google Authenticator or Micr ...

Posted on Sun, 10 May 2026 04:43:07 +0000 by False

Linux System Persistence Techniques and Implementation Methods

File Concealment Strategies During security assessments, defensive teams typically scan for newly created or modified files and examine sensitive directories for unauthorized uploads. To counter these detection methods, two primary approaches are employed: timestamp manipulation and file attribute locking. Timestamp manipulation involves alteri ...

Posted on Sun, 10 May 2026 04:18:53 +0000 by andrei.mita

Exploiting File Upload Vulnerabilities: Webshell Deployment and Bypass Techniques

HTTP Request Methods and Data TransmissionWhen clients interact with web servers, HTTP/HTTPS protocols facilitate the exchange of request and response messages. The primary methods for transmitting data are GET and POST.GET Request: Parameters are appended to the URL as query strings, separated by ampersands (e.g., http://target.org/api?user=ad ...

Posted on Sat, 09 May 2026 05:47:51 +0000 by west4me

OAuthLib: A Robust Python Library for OAuth Authentication Implementation

What is OAuthLib? OAuthLib is a comprehensive Python toolkit for implementing OAuth 1.0 and OAuth 2.0 authentication protocols. OAuth enables third-party applications to access user resources without exposing credentials like usernames and passwords. This library provides developers with modular and extensible components to integrate OAuth flow ...

Posted on Sat, 09 May 2026 04:47:21 +0000 by Imtehbegginer

Refactoring User Authentication in ABP Framework

a、Core Layer - Authorizasion.Users.UserStore.cs public class UserStore : AbpUserStore<Role, User> { private readonly IRepository<User, long> _userRepository; public UserStore( IUnitOfWorkManager unitOfWorkManager, IRepository<User, long> userRepository, IRepository<Role> roleRepository, ...

Posted on Fri, 08 May 2026 19:39:55 +0000 by brunosdiniz

System-Wide Permission Corruption from Docker Root Volume Mounts

Deploying a multi-service RSS aggregator via a graphical container orchestration interface led to catastrophic filesystem permission degradation when a Redis data volume inadvertent mounted to the host root directory. The deployment process involved importing a Docker Compose specification containing three distinct services: the RSS application ...

Posted on Fri, 08 May 2026 19:18:43 +0000 by Hitch54

Securing C# Applications Against HTTP Replay Attacks

Understanding Replay Threats A replay attack involves intercepting legitimate network traffic—such as HTTP requests—and retransmitting it to the server to trigger unauthorized actions. For instance, if a user submits a purchase order, an attacker could capture that packet and submit it repeatedly. This causes unintended side effects like duplic ...

Posted on Fri, 08 May 2026 14:57:30 +0000 by akki85

Advanced Linux Permission Management: Special Bits and ACLs

Linux Security Context and Permission ModelIn the Linux security framework, processes operate as agents for the user who initiated them. Consequently, these processes execute with the identity and privileges of that user. The system evaluates file access through a sequential matching model:The system checks if the process owner matches the file ...

Posted on Fri, 08 May 2026 11:14:20 +0000 by sbcwebs

Exploring Java Reflection Capabilities and Usage

Retrieving Class Objects There are three primary ways to obtain a Class instance at runtime: 1. Class<?> clazz = Class.forName("java.util.ArrayList"); 2. String text = "example"; Class<?> clazz = text.getClass(); 3. Class<?> clazz = Integer.class; // Note the lowercase 'class' Inspecting Class Fields ...

Posted on Fri, 08 May 2026 08:32:52 +0000 by MikeSnead

Creating a Password Generator Tool

A password is a technique used to obscure information, aiming to transform recognizable data into unreadable form. While some individuals can reprocess this unreadable information, it's generally considered secure. In Chinese, "password" refers to the general term for "passcode." The "passwords" you enter when logg ...

Posted on Thu, 07 May 2026 23:42:35 +0000 by oops73