diff --git a/Cheatsheet_BashScripting.txt b/Cheatsheet_BashScripting.txt index c976e4d..9dfea99 100644 --- a/Cheatsheet_BashScripting.txt +++ b/Cheatsheet_BashScripting.txt @@ -121,4 +121,9 @@ fi for host in $(cat hosts.txt) do command $host -done \ No newline at end of file +done + +[+] One Liners + +Port Scan: +for port in $(cat Ports.txt); do nc -nzv 192.168.0.1 $port & sleep 0.5; done \ No newline at end of file