title: Using fuzzing lib (python)
body: <p>I'm trying to use this library : <a href="http://pastebin.com/xgPXpGtw" rel="nofollow noreferrer">http://pastebin.com/xgPXpGtw</a> (an example of use: <a href="http://pastebin.com/fNFAW3Fh" rel="nofollow noreferrer">http://pastebin.com/fNFAW3Fh</a>)
  I have some issues since I dont want to split in an array all the byte as he does.</p>
  
  <p>My test script looks like this:</p>
  
  <pre><code>import random
  from random import *
  
  def onerand(packet):
      pack  = packet[:]
      byte = str(chr(choice(range(256))))
      pack[choice(range(len(packet)))]= byte
      print "fuzzing rand byte:%s\n" % (byte.encode("hex"))
      return pack
  
  test = "\x63\x63\x63\x63\x63\x63\x63\x63\x63\x63\x63\x63\x63\x63"
  
  while True:
     print onerand(test)
  </code></pre>
  
  <p>And actually returns :</p>
  
  <pre><code>Traceback (most recent call last):
    File "test.py", line 14, in &lt;module&gt; 
      print onerand(test)
    File "test.py", line 7, in onerand
      pack[choice(range(len(packet)))]= byte
  TypeError: 'str' object does not support item assignment
  </code></pre>
  
  <p>So what should i do to be able to use that function on the test parameters ?</p>
  
  <p>Thanks !</p>