drak3hft7 / VPS-Bug-Bounty-Tools

Script that automates the installation of the main tools used for web application penetration testing and Bug Bounty.
176 stars 43 forks source link

: invalid option #2

Open IstiakFahim28 opened 2 years ago

IstiakFahim28 commented 2 years ago

After i run this command ./Tools-BugBounty-installer.sh , i get this error(: invalid option).

image

drak3hft7 commented 2 years ago

Hi, you can try with /bin/bash.

s4s0r1 commented 1 year ago

how ?

w4r-h0und commented 7 months ago

If anyone ends up here like I did before figuring it out:

The issue seems to be with the script being in dos format. If you cat -v Tools-BugBounty-installer.sh you will see an ^M at the end of each line where a return is. This is easily and quickly fixed by installing dos2unix and running dos2unix Tools-BugBounty-installer.sh. The offending characters will be removed and you'll be able to run the script.