Fading Coder

One Final Commit for the Last Sprint

Practical Log Collection for Security Operations Using Elastic Stack

Effective incident response and attack attribution rely heavily on comprehensive log data. To detect, analyze, and block adversaries early in their lifecycle, organizations must collect diverse logs across endpoints and infrastructure. Deploying Elasticsearch and Kibana RPM-Based Installation (Recom...

Building a SpringMVC Project with Apache Shiro Integration

This tutorial demonstrates how to integrate Apache Shiro security framework with a SpringMVC application in IntelliJ IDEA. The setup includes authentication, authorization, and role-based access control. Project Structure After creating and configuring the Maven project, the directory structure is a...

Essential Nginx Hardening and Performance Tuning Techniques

Software Maintenance and Updates Running the latest stable version of Nginx is critical for security. Regular updates patch vulnerabilities and improve performance. While package managers like apt or yum simplify installation, compiling from source provides two distinct advantages: it allows the int...

Understanding Jackson Deserialization Vulnerabilities

Core Dependencies <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.7.9</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>...

PHP Security Vulnerabilities and Bypass Techniques in CTF Challenges

extract() Variable覆盖: Related Functions: extract(): Imports variables from an array into the current symbol table. Array keys become variable names and array values become variable values. When duplicate keys exist, the later value overwrites the previous one by default. trim(): Strips whitespace or...

File Upload Vulnerability: Basic Upload Techniques

File Upload Vulnerability: Basic Upload Techniques
I. Front-End Only Detection, No Back-End Validation (ctfshow-web152) Uploading files with extensions like .php is not allowed. Disable JavaScript. Upload a valid .png image, then use Burpsuite to change the extension to .php to bypass front-end detection. II. Exploiting .user.ini Files (ctfshow-web1...

Working with JSON Web Tokens in Python Using PyJWT

What is PyJWT? PyJWT is a Python library designed for creating, parsing, and validating JSON Web Tokens (JWT). JWT is a compact, self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. PyJ...

SSH Key Fingerprints: Generation and Verification

When connecting to a remote host via SSH, you might encounter a warning like this: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHI...

Extending K8s Certificate Validity to 100 Years

Modify Source Code ==== 1. Extend CA Expiration to 100 Years (Default is 10 Years) --------------------------- Edit file: `./staging/src/k8s.io/client-go/util/cert/cert.go```` // Locate the NotAfter field within this function: // NotAfter: now.Add(duration365d * 10).UTC() // Change default 10-year...

Understanding Encryption and Signature Verification in API Testing

API encryption prtoects data during transmission using algorithms like AES, DES, and RSA. Testing verifies both the correctness and security of these encryption methods. Symmetric Encryption Symmetric encryption uses a single key for both encryption and decryption. Common algorithms include: DES 3DE...