offlinemark / poet

[unmaintained] Post-exploitation tool
MIT License
183 stars 55 forks source link

use better socket convention #28

Closed offlinemark closed 9 years ago

offlinemark commented 9 years ago

instead of appending strings to your tcp packets, reserve say 4 bytes (or 8 bytes since we're transferring files) as raw bytes at the beginning which you can just struct.pack/unpack