Skip to content

Commit

Permalink
Merge pull request #388 from Frozenka/main
Browse files Browse the repository at this point in the history
Added Alias and history
  • Loading branch information
ShutdownRepo authored Oct 17, 2024
2 parents 82912af + 92dc6c4 commit 03fa6be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sources/assets/shells/aliases.d/networkIP
Original file line number Diff line number Diff line change
@@ -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'
3 changes: 2 additions & 1 deletion sources/assets/shells/history.d/nmap
Original file line number Diff line number Diff line change
Expand Up @@ -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"
nmap -sS -p 3268,3269 "$TARGET"
nmap -sU --min-rate 5000 -p- $TARGET

0 comments on commit 03fa6be

Please sign in to comment.