From 89362ab251242ffb76a97440a864520e317d0a4b Mon Sep 17 00:00:00 2001 From: Frozenk Date: Fri, 20 Sep 2024 16:51:45 +0200 Subject: [PATCH 1/3] Create networkIP Added an alias to copy the IP address of a network interface directly to the clipboard. --- sources/assets/shells/aliases.d/networkIP | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sources/assets/shells/aliases.d/networkIP diff --git a/sources/assets/shells/aliases.d/networkIP b/sources/assets/shells/aliases.d/networkIP new file mode 100644 index 00000000..1cc3d539 --- /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" | xclip -sel c; tun0ip=$(xsel -ob); echo "\033[1;32m[+]\033[0m Copié avec succès \033[1;32m$tun0ip\033[0m (tun0) dans le presse-papiers !"' +alias eth0='ip a sh dev eth0 | grep -oP "(?<=inet\s)(?:[0-9]{1,3}\.){3}[0-9]{1,3}" | head -n 1 | xclip -sel c; eth0ip=$(xsel -ob); echo "\033[1;32m[+]\033[0m Copié avec succès \033[1;32m$eth0ip\033[0m (eth0) dans le presse-papiers !"' From e4627234c2657576f40d66827bbe76f4121d0d59 Mon Sep 17 00:00:00 2001 From: Frozenk Date: Fri, 20 Sep 2024 16:55:35 +0200 Subject: [PATCH 2/3] Update nmap add Nmap UDP speed scan --- sources/assets/shells/history.d/nmap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 From 92dc6c4cb340319681c891a2e188c90853c8caf8 Mon Sep 17 00:00:00 2001 From: Frozenk Date: Mon, 7 Oct 2024 16:40:13 +0200 Subject: [PATCH 3/3] Update networkIP --- sources/assets/shells/aliases.d/networkIP | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/assets/shells/aliases.d/networkIP b/sources/assets/shells/aliases.d/networkIP index 1cc3d539..43d4cad8 100644 --- a/sources/assets/shells/aliases.d/networkIP +++ b/sources/assets/shells/aliases.d/networkIP @@ -1,2 +1,2 @@ -alias tun0='ip a sh dev tun0 | grep -oP "(?:[0-9]{1,3}\.){3}[0-9]{1,3}" | tr -d "\n" | xclip -sel c; tun0ip=$(xsel -ob); echo "\033[1;32m[+]\033[0m Copié avec succès \033[1;32m$tun0ip\033[0m (tun0) dans le presse-papiers !"' -alias eth0='ip a sh dev eth0 | grep -oP "(?<=inet\s)(?:[0-9]{1,3}\.){3}[0-9]{1,3}" | head -n 1 | xclip -sel c; eth0ip=$(xsel -ob); echo "\033[1;32m[+]\033[0m Copié avec succès \033[1;32m$eth0ip\033[0m (eth0) dans le presse-papiers !"' +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'