noam09/go-knock

work script in win64

Opened this issue · 5 comments

shrv commented

Hello.
I compile this script in exe from win64.
in windows, I do traffic capture for debugging. And I see that the script for some reason sends only two packets. does not send for the first port.
What could be the problem?

Hey @shrv, can you please post an example of the command you are running, as well as a screenshot or log of the packets captured? I assume you are already doing this, but please make sure to initiate the packet capture well before executing the knock program.
Does this also happen when using the pre-compiled EXE available here?

shrv commented

Hi. Thank you for your answer.
Yes, i captured packet before executing programm.
Yes, also happen when using pre-compiled exe, availible from link.

Example, command

knock.exe -d 200 10.106.65.102 15010 3000 9999 (result, plz see in
go-knop1

If i execute, example knock.exe -d 200 10.106.65.102 12 15010 3000 9999 , result
go-knop2

Thanks for the info. Please try building again using the latest commit and see if there is any difference.

shrv commented

Thank's.
I will check your fix in the next couple of days and report the result.

Hey @shrv, any update?