luadev icon indicating copy to clipboard operation
luadev copied to clipboard

fix not working when sending with netcat

Open osiris-plus opened this issue 11 months ago • 4 comments

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

osiris-plus avatar Dec 21 '24 14:12 osiris-plus

https://github.com/osiris-plus/luadev-sh

osiris-plus avatar Dec 21 '24 14:12 osiris-plus

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.

Cynosphere avatar Dec 21 '24 17:12 Cynosphere

This happens with nmap for windows.

osiris-plus avatar Dec 21 '24 17:12 osiris-plus

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)

osiris-plus avatar Dec 21 '24 17:12 osiris-plus