VPS-Bug-Bounty-Tools icon indicating copy to clipboard operation
VPS-Bug-Bounty-Tools copied to clipboard

: invalid option

Open IstiakFahim28 opened this issue 2 years ago • 3 comments

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

image

IstiakFahim28 avatar Jun 30 '22 11:06 IstiakFahim28

Hi, you can try with /bin/bash.

drak3hft7 avatar Jul 04 '22 08:07 drak3hft7

how ?

s4s0r1 avatar May 21 '23 18:05 s4s0r1

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.

w4r-h0und avatar Apr 10 '24 13:04 w4r-h0und