Skip to content

Commit

Permalink
1.0.3 - Update requirements.txt & Fix fullscan.py issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Anteste committed Jan 11, 2021
1 parent 021c22b commit dff87c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

# Verify the OS witch is using and install on the right one
if [ "$(grep -Ei 'debian|buntu|mint' /etc/*release)" ]; then ##If need more distributions just add more
sudo apt-get install nmap nikto git -y
sudo apt-get install nmap nikto git python3-pip -y
elif [ "$(grep -Ei 'redhat|centos' /etc/*release)" ]; then ##To install on RPM CentOS/RedHat
os_version=`cat /etc/system-release-cpe | cut -d ':' -f5`
if [ $os_version == 8 ]; then
sudo dnf install https://extras.getpagespeed.com/release-el8-latest.rpm -y
sudo dnf install nikto nmap -y
sudo dnf install nikto nmap python3-pip -y
elif [ $os_version == 7 ]; then
sudo rpm -Uvh http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/atomic-release-1.0-20.el7.art.noarch.rpm
sudo rpm -Uvh http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/atomic-release-1.0-21.art.noarch.rpm
sudo rpm -Uvh http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/atomic-release-1.0-21.art.noarch.rpm
sudo yum install nikto nmap git -y
sudo yum install nikto nmap git python3-pip -y
fi
fi

pip3 install -r conf/requirements.txt
sudo chmod +x webmap.py
sudo ln -s webmap.py webmap
sudo ln -s webmap.py /usr/bin/webmap
cd /opt && sudo git clone https://github.com/maurosoria/dirsearch.git
cd -
6 changes: 3 additions & 3 deletions modules/fullscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,21 @@ def fullScan() :
+ ipAll
+ " -o "
+ outputAll
+ "/nmap.txt &"
+ "/nmap.txt"
)

conf.os.system(
"python3 /opt/dirsearch/dirsearch.py -u "
+ targetAll
+ " --simple-report="
+ outputAll
+ "/dirsearch.txt &"
+ "/dirsearch.txt"
)

conf.os.system(
"nikto +h "
+ targetAll
+ " -output "
+ outputAll
+ "/nikto.txt &"
+ "/nikto.txt"
)

0 comments on commit dff87c6

Please sign in to comment.