567 B
567 B
PHP Command Injection
Injecting commands to execute code on the server side via php.
-
Blind injection
-
Verbose injection
Blind Injection
- Check via ping, open a
tcpdump
on ICMP to listen for packets - Redirect to logfile and read
- Use
sleep
ortimeout
to check if ci is possible in general
Detect Blind Command Injection
Try to save output to URI resource like output.php
Functions
- Watch out for
eval()
exec()
passthru()
system()