This file contains hidden or 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
| var list = document.getElementsByClassName('JobInfo__name'); | |
| console.log(list.length); | |
| for (var i=0; i<list.length; i++) | |
| console.log(list[i].innerHTML); |
This file contains hidden or 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
| nmap -sS -p 443 --script=ssl-cert.nse -iL /tmp/foo -vv -PN | grep -E "Nmap scan report for|Subject: commonName" | tr "\n" ":" | sed 's/Nmap scan report for /\n/g' | sed 's/| ssl-cert: Subject: commonName=//g' | cut -f 1 -d "/" |
This file contains hidden or 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
| nmap -sP 192.168.0.1/24 -vv -n | grep -v "host down" | grep "scan report" | cut -f 5 -d " " | xargs nmap -p- -sSVC -vv -n --exclude <ownip> -oA filename |
This file contains hidden or 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
| curl http://www.example.com/phpinfo.php | grep "class=\"e\"" | sed -e 's/<tr><td class=\"e\">//g' | sed -e 's/<\/td><\/tr>//g' | sed -e 's/<\/td><td class=\"v\">/ = /g' |
This file contains hidden or 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
| cat nmap-output.xml | grep -v "mac" | xmlstarlet sel -T -t -m "//state[@state='open']" -m ../../.. -v address/@addr -m hostnames/hostname -i @name -o ' (' -v @name -o ')' -b -b -b -o "," -m .. -v @portid -o ',' -v @protocol -o "," -m service -v @name -i "@tunnel='ssl'" -o 's' -b -o "," -v @product -o ' ' -v @version -v @extrainfo -b -n -| sed 's_^\([^\t ]*\)\( ([^)]*)\)\?\t\([^\t ]*\)_\1.\3\2_' | sort -n -t. > nmap-output.csv |