Skip to main content

Posts

SSL Pinning

Android VAPT Notes — Cleartext Traffic & SSL/TLS Pinning Android VAPT Interview Notes Cleartext Traffic, HTTP/HTTPS, SSL/TLS Validation, Certificate Pinning & Public-Key Pinning Cleartext traffic Android configuration TLS validation Pinning concepts How pinning works VAPT testing Interview answers 1. What happens when cleartext traffic is enabled? When an Android app allows cleartext traffic, it is permitted to communicate using unencrypted protocols such as HTTP. The traffic is not protected by TLS encryption. Simple explanation: cleartextTrafficPermitted="true" allows cleartext HTTP communication. It does not encrypt traffic. Real-life example Imagine a banking app sending a login request over HTTP while the user is connected to public airport Wi-Fi: The user enters their username and password. The app sends the request over HTTP. An attacker positioned on the same network may intercept the traff...

SQL Injection (SQLi) – Complete Pentesting & Interview Guide

SQL Injection (SQLi) – Complete Pentesting & Interview Guide SQL Injection (SQLi) Complete pentesting and interview preparation guide — concepts, major types, identification, impact, remediation, testing workflow, and practice questions. Contents 1. What is SQL Injection? 2. SQLi classification 3. In-band SQLi 4. Blind SQLi 5. Out-of-band SQLi 6. Second-order SQLi 7. Stacked queries 8. Other variations 9. Pentester workflow 10. Tools 11. Prevention 12. Interview questions 13. Knowledge check 1. What is SQL Injection? SQL Injection (SQLi) is a vulnerability that occurs when an application incorporates untrusted user input into an SQL query without safely separating data from SQL code. An attacker may manipulate the query's intended logic. Depending on the database permissions and application design, this can lead to authentication bypass, unauthorized data access, data modification, or deletion. Example: vulnerable query SELECT * FROM users WHERE...

SQL Injection (SQLi) – All Types Explained with Examples

                                                12. Important SQL Injection Interview Questions These are the questions I recommend preparing after understanding the concepts above. No. Interview question 1 What is SQL Injection? 2 What is the root cause of SQL Injection? 3 Explain all major types of SQL Injection. 4 What is the difference between error-based and UNION-based SQLi? 5 What is the difference between Boolean-based and time-based SQLi? 6 What is out-of-band SQL Injection? 7 What is second-order SQL Injection? 8 What is the difference between first-order and second-order SQLi? 9 What are stacked queries? 10 What is the difference between UNION and UNION ALL? 11 What is the difference between SQL Injection and NoSQL Injection? 12 How do you test SQLi in REST APIs? 13 How do you test SQLi in login functionality? 14 Can SQL Injection happen through HTTP headers...

Web-cache-poisoning

Web Cache Poisoning Explained Web Security Web Cache Poisoning: How One Request Can Attack Thousands A caching layer is supposed to make a site faster. Handled carelessly, it can turn a single malicious request into an attack delivered to every visitor. Application Security · ~8 min read What is web cache poisoning? Web cache poisoning is an attack where an attacker gets a harmful HTTP response stored in a cache , so that the cache then serves that poisoned response to all the normal users of the site. The key idea: it is not a standalone attack by itself . Think of it as a delivery mechanism . On its own, a reflected bug might only affect the one person who triggers it. But once it is baked into the cache, it gets handed out to everyone who loads the page — turning a low-impact bug into a mass attack with zero interaction from the victims. First, how does a cache actually work? A cache sits between the user and the back-end server. When a res...

Security Learning Roadmap For MAANG FAANG

Security Learning Roadmap — Aditya Kumar Security Career Roadmap Fill the gaps. Land the role. A structured learning map for Aditya Kumar targeting offensive security and product security engineering roles at FAANG / top-tier companies. Based on gap analysis against current resume. 5 Critical gaps 3 High priority areas 2 Strategic certs ~12mo Estimated timeline Track your progress 0 of 20 topics started 0% 🐍 Python & Security Scripting 4 topics · ~3 months Python fundamentals for security Critical The #1 filter at FAANG security interviews. You need to write scripts, automate exploitation, and build tooling. Start with the basics, then immediately apply to security contexts — socket programming, file I/O, HTTP requests. Data types & control flow File handli...