diff --git a/sources/assets/shells/aliases.d/networkIP b/sources/assets/shells/aliases.d/networkIP new file mode 100644 index 00000000..43d4cad8 --- /dev/null +++ b/sources/assets/shells/aliases.d/networkIP @@ -0,0 +1,2 @@ +alias tun0='ip a sh dev tun0 | grep -oP "(?:[0-9]{1,3}\.){3}[0-9]{1,3}" | tr -d "\n"' +alias eth0='ip a sh dev eth0 | grep -oP "(?<=inet\s)(?:[0-9]{1,3}\.){3}[0-9]{1,3}" | head -n 1' diff --git a/sources/assets/shells/history.d/nmap b/sources/assets/shells/history.d/nmap index e9e5a6fd..28695735 100644 --- a/sources/assets/shells/history.d/nmap +++ b/sources/assets/shells/history.d/nmap @@ -8,4 +8,5 @@ nmap -Pn -v -sS -F "$TARGET" nmap -p 5900 --script=realvnc-auth-bypass "$TARGET" nmap -sC -sV -p 139,445,80,21 "$TARGET" nmap -sS -n --open -p 88 "$TARGET" -nmap -sS -p 3268,3269 "$TARGET" \ No newline at end of file +nmap -sS -p 3268,3269 "$TARGET" +nmap -sU --min-rate 5000 -p- $TARGET