Month: March 2018

blog | March 18, 2018

My favorite nmap commands

nmap –sT -p- -Pn 192.168.18.132 nmap –sS -p- -Pn 192.168.0.100 nmap –sUV 192.168.0.100 nmap –sX -p- -Pn 192.168.0.100 nmap –sN -p- -Pn 192.168.0.100 nmap –script vuln 192.168.18.132 nmap –script banner […]

git | March 13, 2018

Add Git Branch Name to Shell Prompt

PS1=’\[\033[0;32m\]\[\033[0m\033[0;32m\]\u\[\033[0;36m\] @ \w\[\033[0;32m\]\n$(git branch 2>/dev/null | grep “^*” | colrm 1 2)\[\033[0;32m\]??\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\]\[\033[0m\] ‘ Credit: https://gist.github.com/justintv/168835