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

netcat - testing connection #14

Closed
jerguslejko opened this issue May 2, 2018 · 0 comments
Closed

netcat - testing connection #14

jerguslejko opened this issue May 2, 2018 · 0 comments

Comments

@jerguslejko
Copy link
Owner

jerguslejko commented May 2, 2018

NETCAT

nc -l 8000 < ./http-response # run tcp server on port 8000 (server contents from ./file)

while(true); do nc -l 8000 < ./http-response; done # simulate "server"

nc jerguslejko.com 90 < ./http-request # send raw request


nc -l 8000 <(echo "hey there")

# or 

echo "hey there" | nc -l 8000

nc response must by at least 5 characters ????

@jerguslejko jerguslejko changed the title bash/zsh <() returns file descriptor netcat - testing connection May 4, 2018
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

1 participant