Last active
June 2, 2020 00:43
-
-
Save albovieira/9f54775dbb9a1f8d973877ca72e71b5a to your computer and use it in GitHub Desktop.
eth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** gerais **/ | |
// Request | |
// curl -X GET --url http://192.168.0.21:3000/ | |
// curl -X -I --url http://192.168.0.21:80/ -> SEND A HEAD REQUEST TO GET INFO ABOUT WHAT IS RUNNING ON PORT X | |
/** Nmap | |
https://nmap.org/book/ | |
*/ | |
// nmap -sn -n 192.168.0.1/24 | grep 192 | cut -d ' ' -f 5 > ips.txt | |
// nmap -iL ips.txt | |
// sudo nmap -p0 -sW 192.168.0.1/24 | |
// sudo nmap -p0 -O 192.168.0.1/24 | |
// nmap --script [scriptname] --script-args exploit.cmd=[commnand] 192.168.0.47 | |
// ls /usr/share/nmap/scripts/ | grep '' // find scripts | |
/** | |
shodan | |
https://cli.shodan.io/ | |
**/ | |
// net 192.168.0.1 | |
// busca por webservers IIS | |
// shodan search --fields ip_str,port,org,hostnames microsoft iis 6.0 | |
/** | |
netcat | |
**/ | |
// verifica | |
nc 192.168.0.21 3000 + http verb with / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment