Fading Coder

One Final Commit for the Last Sprint

Web Security Challenges: PHP, SSTI, SQL Injection, and More

PHP Vulnerability Exploitation The target page reveals no obvious clues through packet capture or backend scanning. A search for write-ups (WP) indicates the presence of .phps files. Accessing index.phps displays source code: <?php if("admin" === $_GET[id]) { echo("<p>not all...

Comprehensive Guide to PHP Form Management and Security

Handling User Input with PHP PHP serves as a robust backbone for server-side logic, particularly in the context of processing user data via HTML forms. Efficient form handling requires a structured approach to data collection, validation, sanitization, and security measures. This guide explores the...

Browser Security Mechanisms: Same-Origin Policy and Cross-Origin Techniques

The Same-Origin Policy Browser security architecture relies fundamentally on the concept of an origin. An origin is strictly defined by the triplet consisting of the protocol, the hostname, and the port number. Two resources are considered same-origin only if all three components match exactly. Deve...

Digital Asset Platform Security Assessment: A Complete Penetration Testing Walkthrough

Initial Reconnaissance and Framework Identification The target platform exhibited several telltale signs of poor security implementation. The application lacked CDN protection and was built using ThinkPHP framework, which immediately suggested potential attack vectors. Initial automated vulnerabilit...

Gray-Box Security Notes for WebGoat 8: Defensive Patterns and Secure Implementations

SQL Injection Risk indicators String-concatenated predicates, e.g., building WHERE clauses from raw request parameters. Dynamic DDL/DCL powered by user input (ALTER, GRANT, DROP). Client-provided sort keys fed directly into ORDER BY. Safer patterns (Java/JDBC) try (var conn = DriverManager.getConnec...