Skip to content

Commit

Permalink
complete refactor of fuzzer, turning it into phuzzer, a more general …
Browse files Browse the repository at this point in the history
…fuzzer automation framework!
  • Loading branch information
zardus committed Apr 13, 2019
1 parent 04c3b51 commit a791ea8
Show file tree
Hide file tree
Showing 20 changed files with 796 additions and 812 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Fuzzer
# Phuzzer

This module provides a Python wrapper for interacting with AFL (American Fuzzy Lop: http://lcamtuf.coredump.cx/afl/).
This module provides a Python wrapper for interacting with fuzzers, such as AFL (American Fuzzy Lop: http://lcamtuf.coredump.cx/afl/).
It supports starting an AFL instance, adding slave workers, injecting and retrieving testcases, and checking various performance metrics.
Shellphish used it in Mechanical Phish (our CRS for the Cyber Grand Challenge) to interact with AFL.
It is based on the module that Shellphish used in Mechanical Phish (our CRS for the Cyber Grand Challenge) to interact with AFL.

## Installation

Expand Down
6 changes: 3 additions & 3 deletions bin/analyze_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
import sys
import tqdm
import json
import fuzzer
import phuzzer

DIR = sys.argv[1].rstrip('/')
BIN = os.path.basename(DIR).split('-')[-1]
print(DIR,BIN)
f = fuzzer.Fuzzer('/results/bins/%s'%BIN, '', job_dir=DIR)
h = fuzzer.InputHierarchy(fuzzer=f, load_crashes=True)
f = phuzzer.Phuzzer('/results/bins/%s'%BIN, '', job_dir=DIR)
h = phuzzer.InputHierarchy(fuzzer=f, load_crashes=True)

def good(_i):
return _i.instance not in ('fuzzer-1', 'fuzzer-2', 'fuzzer-3', 'fuzzer-4', 'fuzzer-5')
Expand Down
76 changes: 0 additions & 76 deletions bin/create_dict.py

This file was deleted.

Loading

0 comments on commit a791ea8

Please sign in to comment.