skavngr / rapidscan

:new: The Multi-Tool Web Vulnerability Scanner.
GNU General Public License v2.0
1.69k stars 385 forks source link

Rapid Scan Updater Bug #3

Closed 5UP4F15H closed 5 years ago

5UP4F15H commented 5 years ago

If run without internet connection or wget fails on this line

os.system('wget -N https://raw.githubusercontent.com/skavngr/rapidscan/master/rapidscan.py -O rapidscan.py > /dev/null 2>&1')

will overwrite rapiscan.py with 0 bytes essentially deleting its contents. There needs to be a conditional here to see if the file was actually retrieved.