You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IP=$(ifconfig | grep 'eth0\|ens33' -A1 | grep "inet " | awk -F' ' '{print $2}') # change the interface if you're using a different interface other than eth0
if [ "$EUID" -ne 0 ]
then
echo -e "$R[!] Please run as root!"
exit
fi
echo -e "$Y[*] Creating docker image...$NC"
sudo docker build -t nessus:v1 .
echo -e "$Y[*] Creating nessus container..$NC"
sudo docker run -dti --name nessus_runner -p $PORT:8834 nessus:v1 bash