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

Add option to use nc (netcat) instead o bash /dev/tcp/ #111

Open
evandrocoan opened this issue Oct 3, 2021 · 1 comment · May be fixed by #112
Open

Add option to use nc (netcat) instead o bash /dev/tcp/ #111

evandrocoan opened this issue Oct 3, 2021 · 1 comment · May be fixed by #112

Comments

@evandrocoan
Copy link

I was using to use this script (which used (echo -n > /dev/tcp/$WAITFORIT_HOST/$WAITFORIT_PORT) >/dev/null 2>&1 hack on a old operating system/bash 3.2.39), but it was not working, i.e., detecting the when the connection was open. When, I forced the script to use nc -z alternative and it started working.

@evandrocoan evandrocoan linked a pull request Oct 3, 2021 that will close this issue
@le-shi
Copy link

le-shi commented Feb 16, 2022

I also encountered a similar problem. Some security products of public cloud platforms would identify (echo -n > /dev/tcp/$WAITFORIT_HOST/$WAITFORIT_PORT) >/dev/null 2>&1 as horizontal penetration, which resulted in my inability to use it. I could only complete the original work by using nc command.

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

Successfully merging a pull request may close this issue.

2 participants