Skip to content

Commit

Permalink
#1 Example in tutorial fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
stbraun committed Dec 2, 2015
1 parent d77ba6d commit b083102
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ ASCII texts, HTML, XML, JSON and other text based formats.

Example of a simple generator:
++++++++++++++++++++++++++++++

Example
::

import fuzzing.fuzzer as fuzzer
import fuzzing
seed = "This could be the content of a huge text file."
number_of_fuzzed_variants_to_generate = 10
fuzz_factor = 7
fuzzed_data = fuzzer.fuzz_string(seed, number_of_fuzzed_variants_to_generate, fuzz_factor)
fuzzed_data = fuzzing.fuzz_string(seed, number_of_fuzzed_variants_to_generate, fuzz_factor)
print(fuzzed_data)

Of course you can also create one fuzzed variant at a time and feed it directly into the SUT.
Expand Down

0 comments on commit b083102

Please sign in to comment.