Repository navigation
Helpers
In $FARADAY/helpers you can find several scripts developed to help you load and manage Faraday data. None of them are included as part of the Faraday core, and using them can usually mean deleting content from the database in a permanent way, so be careful when executing any of them and always make sure to have a fresh backup.
$ python helpers/pushCwe.py --help
usage: pushCwe [-h] [-c COUCHDB]
optional arguments:
-h, --help show this help message and exit
-c COUCHDB, --couchdburi COUCHDB
Couchdb URL (default http://127.0.0.1:5984)
Example: ./pushCwe.py
This script allows you to upload your Vulnerability templates database to CouchDB. Read more about it here.
This script allows you, create a CSV file with Vulnerability templates, based in Cfdb open source project. Read more about it here.
This script allows you, create a CSV file with Vulnerability templates, based in Vulndb open source project. Read more about it here.
$ python helpers/cleanXML.py --help
usage: cleanXML [-h] -i INFILE [-o OUTFILE]
optional arguments:
-h, --help show this help message and exit
-i INFILE, --input INFILE
XML File to read from
-o OUTFILE, --output OUTFILE
Filename to write output
Example: ./cleanXML.py
Some tools are known for creating invalid XML output files which tend to be hard to fix by hand. If you want a quick way to patch an XML to feed it to Faraday for processing, this script is your best friend. Run it like this (make sure to have BeautifulSoup):
python $FARADAY/helpers/cleanXML.py broken_file.xml
$ python helpers/removeBySeverity.py --help
usage: removeBySeverity [-h] [-c COUCHDB] -d DB -s SEVERITY [-t] [-v]
optional arguments:
-h, --help show this help message and exit
-c COUCHDB, --couchdburi COUCHDB
Couchdb URL as
http://user:password@couch_ip:couch_port (defaults to
http://127.0.0.1:5984)
-d DB, --db DB DB to process
-s SEVERITY, --severity SEVERITY
Vulnerability severity
-t, --test Dry run, does everything except updating the DB
-v, --verbose Extended output
Example: ./removeBySeverity.py
Removes all vulnerabilities with selected severity. Faraday has 6 levels of severity defined from highest to lowest:
- critical
- high
- med
- low
- info
- unclassified
- About
- First steps
- Installation - Server
- Installation - Client
- Using SSL
- Vulnerabilities Database
- Updates
- Usage
- Bug bounties
- Chat and Communication
- Continuous-Scanning
- CSV Exporting & Importing
- Executive Report
- Helpers
- JIRA Integration
- Manage Hosts and Services GUI WEB
- Manage Users
- Manage Workspaces
- Scripts
- Workspace-Diff
- Workspace replication
- Demos
- Architecture
- Plugins
- Burp Proxy Extender
- BeEF
- Evilgrade
- Faraday Plugin
- Immunitys-CANVAS
- Metasploit
- Nessus
- More
- Development
- APIs
- Basic Plugin Development
- Faraday Awards
- FAQ
- Troubleshooting
- Contact us