Courses
1. Introduction to Blockchain and Solana
2. Setting Up Your Development Environment
3. Solana Architecture and Key Concepts
4. Creating and Managing Wallets
5. Understanding Solana Programs
6. Building Your First Solana Program
7. Deploying Programs on the Solana Network
8. Interacting with Solana Programs
9. Using Solana CLI and SDKs
10. Developing Decentralized Applications (DApps)
11. Smart Contract Security Best Practices
12. Testing and Debugging Solana Programs
13. Optimizing Performance on Solana
14. Exploring Solana Ecosystem Tools
1. Introduction to Blockchain and Ethereum
2. Setting Up Your Development Environment
3. Ethereum Architecture and Key Concepts
4. Creating and Managing Wallets
5. Understanding Smart Contracts
6. Building Your First Smart Contract
7. Deploying Smart Contracts on the Ethereum Network
8. Interacting with Smart Contracts
9. Using Ethereum CLI and SDKs
10. Developing Decentralized Applications (DApps)
11. Smart Contract Security Best Practices
12. Testing and Debugging Smart Contracts
13. Optimizing Performance on Ethereum
14. Exploring Ethereum Ecosystem Tools
1. Introduction to Blockchain and Polygon
2. Setting Up Your Development Environment
3. Polygon Architecture and Key Concepts
4. Creating and Managing Wallets
5. Understanding Smart Contracts on Polygon
6. Building Your First Smart Contract on Polygon
7. Deploying Smart Contracts on the Polygon Network
8. Interacting with Smart Contracts on Polygon
9. Using Polygon CLI and SDKs
10. Developing Decentralized Applications (DApps) on Polygon
11. Smart Contract Security Best Practices for Polygon
12. Testing and Debugging Smart Contracts on Polygon
13. Optimizing Performance on Polygon
14. Exploring Polygon Ecosystem Tools
1. Introduction to Cybersecurity
2. Report Writing for Penetration Testers
3. Information Gathering
4. Vulnerability Scanning
5. Introduction to Web Applications
6. Common Web Application Attacks
7. SQL Injection Attacks
8. Client-Side Attacks
9. Locating Public Exploits
10. Fixing Exploits
11. Antivirus Evasion
12. Password Attacks
13. Windows Privilege Escalation
14. Linux Privilege Escalation
15. Advanced Tunneling
16. The Metasploit Framework
17. Active Directory: Introduction and Enumeration
18. Attacking Active Directory Authentication
19. Lateral Movement in Active Directory
Blind SQL Injection
OSWE · Chapter 9
Blind SQL Injection
Blind SQL injection occurs when the application is vulnerable to SQL injection but never reflects query results or database errors back in the response. Data must be extracted indirectly — via boolean conditions, timing delays, or out-of-band channels — one bit at a time.
Key concepts
- Boolean-based: inject a condition and observe a difference in the response (e.g. "Welcome back" vs nothing) to infer true/false.
- Time-based: inject a conditional delay (`IF(condition, SLEEP(5), 0)`) and measure response time when no visible difference exists at all.
- Out-of-band (OAST): trigger a DNS/HTTP callback to an attacker-controlled server, exfiltrating data directly in the subdomain of the lookup — often the most reliable technique when others fail.
- The prevention is identical to normal SQL injection: parameterized queries. Blind SQLi is only harder to *find and exploit*, not fundamentally different to prevent.
Example
-- Boolean-based probe
xyz' AND SUBSTRING((SELECT password FROM users WHERE username='admin'),1,1)='a
-- Time-based probe (MySQL)
xyz' AND IF(1=1, SLEEP(5), 0)-- -Try it yourself
On a lab blind-SQLi challenge (PortSwigger Web Security Academy has several labs), extract a single character of a password using the time-delay technique and confirm it against the boolean-based technique for the same character.