diff options
author | Dan Fedele <dan.fedele@gmail.com> | 2023-06-13 10:59:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 10:59:02 -0400 |
commit | b8e08d78024e53ecbb00267623a5aea73e6b538d (patch) | |
tree | 269e6a5402d34a650e8313dacc91111611aa0295 /master-bash_functions | |
parent | 8986e5bcabccb476a9088fe925a3ba05ed517053 (diff) | |
parent | dfa9f2398bd614f73a0df92cbcfd561c609a2f3b (diff) |
Merge pull request #5 from AgroDan/dev
Merge pull request #4 from AgroDan/master
Diffstat (limited to 'master-bash_functions')
-rw-r--r-- | master-bash_functions | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/master-bash_functions b/master-bash_functions deleted file mode 100644 index 0b5026c..0000000 --- a/master-bash_functions +++ /dev/null @@ -1,9 +0,0 @@ -# This is a file I will store all bash functions I use - -scan() { - echo "Scanning with masscan..." - echo "If this takes way too long, ping $1 in a separate terminal" - echo "because masscan has a weird bug that holds connections open or something" - P=$(sudo masscan -p 1-65535 -e tun0 --rate=1000 $1 | grep Discovered | awk '{print $4}' | cut -d/ -f1 | tr "\n" "," | sed 's/\,$/\n/') ; sudo nmap -sC -sV -p $P -oN scanresults-$1.txt $1 - echo "Stored results in scanresults-$1.txt" -} |