With faraday_csv Plugin, you can upload data to Faraday by using CSV files.
Main header: The main headers for faraday_csv Plugin are target or ip. Both columns contain the same information (host's IP). Without any of them, Faraday won't recognize the plugin. We recommend you to use the target header.
You can upload hosts, services, and vulnerabilities. In order to upload them, you'll need to add the following mandatory headers:
- To upload hosts: you need to add the header target. This column will contain the host's IP.
- To upload services: you need to add the headers port and protocol. These columns will contain the service's port and protocol, respectively.
- To upload vulnerabilities: you need to add the headers name and desc. These columns will contain the vulnerability's name and protocol, respectively.
Note: in each case, you need to add the target header. The target in every row will be the parent of the service or vulnerability to be created.
Using Faraday's Export CSV with faraday_csv plugin
You can export your workspace with Faraday's Export CSV option and then import that same CSV into another workspace with faraday_csv plugin. Keep in mind that if you have vulnerabilities with Custom Fields, you'll need to change there Custom Fields headers. You can take a look at the Importing Custom Fields
section at the end of this article.
IMPORTANT: This feature works because of the compatibility between the headers of the CSV exported and the headers of the faraday_csv.
Don't use this feature to backup a workspace.
In case you need to add more information to the report, you can use the following headers for each object:
- Host's headers
- Service's headers
- Vulnerability's headers:
Importing Custom Fields
If you want to import vulnerabilities with Custom Fields, you'll need to change the Custom Fields' headers by adding "cf_" at the beginning of the header.
E.x: If you have a Custom Field named CVSS_Score, you have to define its header inside de CSV file as: cf_CVSS_Score.