This tool aims to look through files in a given directory to detect any unsafe, vulnerable, or dangerous function calls. It is designed to be extensible and easy to understand; you can “plug-and-play” modules that specify criteria on which types of files will trigger what ‘scans,’ in which you determine what action it should take to find and report dangerous content within each file.
Also, it may be run as an experimental automated fuzzing tool. Given effective modules, the framework can be adapted to automatically fuzz executables. You may implement fuzzers using the generic fuzz.fuzzer.Fuzzer class. WARNING: this is a subclass of scan.scanner.Scanner, but will EXECUTE all files with executable permission! Be carefull.
File & Directory Information:
This is the core of the utility; the Python script that kickstarts all threads and scans from the given command-line arguments.
This directory hosts all the classes that can be duplicated and extended for specific file “scans,” in which you could do pretty much anything you want. They are just housed in this folder to keep things clean.
This acts like the global configuation; in this JSON file you specify what scans you want to run for all of the files processed, and determine whatever criteria you want to use to identify those files (file extension, MIME type, or executable). All scanners listed in this configuration should be merely that: scanners. No fuzzers should be listed here!
This file is similar to vulnscan.json except that it contains references to fuzzers and can be used to start automatically fuzzing a directory or file. WARNING: using this config will execute ALL files with executable permissions! Be careful using it!
This directory holds anything that has been often used to test some of the scanners. You can add to it as you please.
This small module acts as a wrapper for colorama, in an effort to supply some shorthand function calls.
git clone https://github.com/Caleb1994/peach && cd peach
pip2 install pwn
python2 peach.py -h