From c59a73e2b30f659fd1b6e1f5d82b57cc662a8d3a Mon Sep 17 00:00:00 2001 From: Jamie Shaw Date: Mon, 31 Aug 2015 11:01:55 +0100 Subject: [PATCH] Added command Added command --- Cheatsheet_UsefulCommands.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cheatsheet_UsefulCommands.txt b/Cheatsheet_UsefulCommands.txt index 8bd15ea..e51cb91 100644 --- a/Cheatsheet_UsefulCommands.txt +++ b/Cheatsheet_UsefulCommands.txt @@ -27,4 +27,8 @@ net rpc shutdown -I ipAddressOfWindowsPC -U username%password [+] Conficker Detection with NMAP -nmap -PN -d -p445 --script=smb-check-vulns --script-args=safe=1 IP-RANGES \ No newline at end of file +nmap -PN -d -p445 --script=smb-check-vulns --script-args=safe=1 IP-RANGES + +[+] Determine if a port is open with bash + +(: /dev/null && echo "OPEN" || echo "CLOSED" \ No newline at end of file