-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfuzzer
More file actions
executable file
·47 lines (37 loc) · 1.5 KB
/
fuzzer
File metadata and controls
executable file
·47 lines (37 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/python3
import sys
import argparse
from argparse import FileType
from fuzzybear import Aggregator
from colorama import Fore, Style
from rich import print
def print_banner():
print(''' [b cyan]
____ _____ _ _ ____________ __ ____ _____ _ ____
\ \ \ | ___| | | |__ /__ /\ \ / / | __ )| ____| / \ | _ \
\ \ \ | |_ | | | | / / / / \ V / | _ \| _| / _ \ | |_) |
/ / / | _| | |_| |/ /_ / /_ | | | |_) | |___ / ___ \| _ <
/_/_/ |_| \___//____/____| |_| |____/|_____/_/ \_\_| \_\
[/b cyan]''')
# TODO :: indent this help txt
parser = argparse.ArgumentParser(description=print_banner(),
epilog='Fuzzy Bear says - \'Happy Fuzzing\''
)
parser.add_argument('binary',
metavar = '<binary>',
help = 'binary program to fuzz'
)
parser.add_argument('input',
metavar = '<input>',
help = 'sample foramtted input to the binary ' +
'(Plaintext, JSON, XML, CSV, JPEG)'
)
parser.add_argument('-L', '--lol',
dest = 'lol',
action ='store_true',
help = 'we don\'t have any other args yet'
)
args = parser.parse_args()
#############################################################################
aggregator = Aggregator(args.binary, args.input)
aggregator.run_fuzzer()