Closed citypw closed 10 years ago
Thanks for the contribution! When I was developing the ICMP hook I typically just tested with:
ping 192.168.1.6 -s 10 -p 78563412aaaaaaaabbbb
...where 78563412
is the auth token, aaaaaaaa
is the IP address, and bbbb
is the port number.
It would be valuable to wrap this up in a pretty Python script like you did. I want to make sure the code is clean and to my style, however, so I'm going to write this part myself. If you're still looking to use your code somewhere, it might be useful to post on your blog or something in the meantime.
That's good about code style..... If I known the option "-p" of ping, I wouldn't write python code;-) Still, looking forward to see your implementation.
A simple example: Construct an ICMP packet to trigger file transfer.