d0c-s4vage/pfp

see if this is a bug in pfp

Open

#43 建立於 2016年10月19日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (37 fork)github user discovery
buggood first issue

倉庫指標

Star
 (203 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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>

貢獻者指南