NetScan Function For Bash RC File
Page 1 of 1
NetScan Function For Bash RC File
Vid
You will need nmap installed
Put above into your bash rc file
To use type netscan (target-name)
You will need nmap installed
- Code:
sudo apt install -y nmap
- Code:
function netscan(){
if [ $# -eq 0 ]
then
echo "Enter Target"
read myvar
fi
sudo nmap -sS $myvar
}
Put above into your bash rc file
- Code:
sudo gedit .bashrc
To use type netscan (target-name)
Re: NetScan Function For Bash RC File
Same sort of thing but with masscan
- Code:
sudo apt install -y masscan
- Code:
function mscan(){
if [ $# -eq 0 ]
then
echo "Enter Target IP"
read myvar
fi
# echo "Enter port"
echo "Enter Network Example 24"
read mysvar
echo "Enter Port Range End"
read mypvar
sudo masscan -p80,01-$mypvar $myvar/$mysvar
}
from command line type
- Code:
mscan
Then inpit IP of target to scan and then enter, then the network for example 24.
Re: NetScan Function For Bash RC File
More Interesting Links
youtube.com/user/Jamieduk999/videos
jnet.forumotion.com/t900-network-scanning-recon-python-scanner
youtube.com/user/Jamieduk999/videos
jnet.forumotion.com/t900-network-scanning-recon-python-scanner
Similar topics
» File Crypter Bash App
» Countdown Timer Using A File On Linux Bash Script Example
» Make linux bash dot sh file executable shell script
» Linux BASH Script Running Commands and Functions From Bash Script and saving to varables
» How to fix samba in linux file missing config file error
» Countdown Timer Using A File On Linux Bash Script Example
» Make linux bash dot sh file executable shell script
» Linux BASH Script Running Commands and Functions From Bash Script and saving to varables
» How to fix samba in linux file missing config file error
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum