d0c-s4vage/pfp

see if this is a bug in pfp

Open

#43 aberto em 19 de out. de 2016

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Python (37 forks)github user discovery
buggood first issue

Métricas do repositório

Stars
 (203 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

C:\Users\usr\Desktop\exodus\fuzz\Fuzzing_Code\Code\fuzzers>format_fuzzer.py -i p
ngs -o crashes -e png -t 2 --template 010/PNG12Template.bt -f 3 -n 1000 -- C:\Wi
ndows\System32\mspaint.exe %s
Traceback (most recent call last):
  File "C:\Users\usr\Desktop\exodus\fuzz\Fuzzing_Code\Code\fuzzers\format_fuzzer
.py", line 219, in <module>
    main(sys.argv[1:])
  File "C:\Users\usr\Desktop\exodus\fuzz\Fuzzing_Code\Code\fuzzers\format_fuzzer
.py", line 214, in main
    web        = args.web
  File "C:\Users\usr\Desktop\exodus\fuzz\Fuzzing_Code\Code\fuzzers\format_fuzzer
.py", line 124, in mutate_files
    for mutation in self.mutate(src_data):
  File "C:\Users\usr\Desktop\exodus\fuzz\Fuzzing_Code\Code\fuzzers\format_fuzzer
.py", line 91, in mutate
    for mutation in pfp.fuzz.mutate(dom, "binary_only", num=self.iters, at_once=
self.at_once):
  File "C:\Python27\lib\site-packages\pfp\fuzz\__init__.py", line 78, in mutate
    rand_field,field_strat = rand.choice(with_strats)
  File "C:\Python27\lib\random.py", line 275, in choice
    return seq[int(self.random() * len(seq))]  # raises IndexError if seq is emp
ty
IndexError: list index out of range

C:\Users\usr\Desktop\exodus\fuzz\Fuzzing_Code\Code\fuzzers>

Guia do colaborador