tylerdurden2010 / sulley

Automatically exported from code.google.com/p/sulley
GNU General Public License v2.0
0 stars 0 forks source link

struct.error: unpack requires a string argument of length 1 #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. When trying to fuzz binary files with custom request
2.
3.

What is the expected output? What do you see instead?
seems value       = struct.unpack(endian + "B", value)[0] in primitives.py will 
not unpack binary data sent.
Custom request is attached.

  File "C:\sulley\primitives.py", line 807, in __init__
    value       = struct.unpack(endian + "B", value)[0]
struct.error: unpack requires a string argument of length 1

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by radlsn...@gmail.com on 3 Apr 2011 at 8:48

Attachments: