Configuring MySQL Server on Ubuntu 20.04 with Security Enhancements

Installing MySQL Server Execute these commands to instal MySQL on Ubuntu 20.04: sudo apt update sudo apt install mysql-server Verify the installation and check the service status: mysql --version sudo systemctl status mysql Securing MySQL Installation Run the security script to configure basic security settings: sudo mysql_secure_installation ...

Posted on Thu, 14 May 2026 01:45:18 +0000 by DevXen

Understanding Role-Based Access Control in Kubernetes

Overview All API objects in Kubernetes are persisted in etcd, but every operation on these objects must go through the kube-apiserver. The API server acts as the gatekeeper for authorization, and Kubernetes uses RBAC (Role-Based Access Control) as its authorization mechanism. Core RBAC Concepts Three fundamental conecpts form the foundation of ...

Posted on Wed, 13 May 2026 18:47:14 +0000 by CountryGirl

Internal Reflection Utilities Within ysoserial Payloads

Effective exploitation via Java deserialization often hinges on bypassing access controls and instantiating objects without invoking standard constructors. The ysoserial toolkit addresses these challenges through specialized utility classes, primarily located in the payloads.util package. Two critical components facilitate these operations: Ref ...

Posted on Mon, 11 May 2026 10:04:07 +0000 by mr_zhang

Understanding GitHub Personal Access Tokens (PAT)

Creating Personal Access Tokens Personal access tokens (PATs) serve as an alternative to passwords when authenticating with GitHub through the command line or API. Note: If you authenticate to GitHub using the GitHub CLI, you can skip generating a PAT and authenticate through your web browser instead. PATs can be used with the GitHub API or com ...

Posted on Sun, 10 May 2026 07:35:31 +0000 by tomd79

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