Skip to content
Permalink
449164ff43
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
18 lines (14 sloc) 335 Bytes
##init.sh
##Force no internet
#nmcli networking off
##Check for internet connection
wget -q --spider http://google.com
if [ $? -eq 0 ]; then
echo "Online"
echo -e "---- Starting Network scans ---- \n "
/bin/bash ~/Documents/DVWA/scripts/scanInit.sh
else
echo "No network connection"
echo "quitting"
exit
fi