Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

: invalid option #2

Open
IstiakFahim28 opened this issue Jun 30, 2022 · 3 comments
Open

: invalid option #2

IstiakFahim28 opened this issue Jun 30, 2022 · 3 comments

Comments

@IstiakFahim28
Copy link

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

image

@drak3hft7
Copy link
Owner

Hi, you can try with /bin/bash.

@s4s0r1
Copy link

s4s0r1 commented May 21, 2023

how ?

@w4r-h0und
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants