shell script for enabling sniffer mode in wire shark
--------------------------------------------
#! /bin/sh
sudo ifconfig wlan8 down
sudo iwconfig wlan8 mode monitor
echo "Enter Ch no. "
read ch_no
sudo iwconfig wlan8 ch $ch_no
#echo $ch_no
sudo ifconfig wlan8 up
sudo wireshark
----------------------------------------------
No comments:
Post a Comment