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

fix not working when sending with netcat #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

osiris-plus
Copy link

for some reason it times out when trying to read a line from socket connection

for some reason it times out when trying to read a line from socket connection
@osiris-plus
Copy link
Author

@Cynosphere
Copy link
Member

This fix did not change anything in my testing of using both gnu-netcat and openbsd-netcat in MinGW.

nmap's ncat works fine without needing this fix.

@osiris-plus
Copy link
Author

This happens with nmap for windows.

@osiris-plus
Copy link
Author

osiris-plus commented Dec 21, 2024

Idk why there's even a zero timeout, I guess luasocket is not async? Then the correct fix would be trying to read the socket next frame if there's a timeout error (vararg 2 of read)

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 this pull request may close these issues.

2 participants