Comments (6)
Hi @nickkilla thanks for tried faraday!
Could you please try on debug mode using ./faraday.py -d
Is it possible to share us the report? Maybe there is something new that it's breaking the parser.
Best
from faraday.
2015-05-10 20:13:05,584 - faraday.CouchDbConnector - DEBUG - Watching for changes
2015-05-10 20:13:05,598 - faraday.MainApplication - DEBUG - Starting Reports Manager Thread
2015-05-10 20:13:05,599 - faraday.model.api - DEBUG - Faraday ready...
2015-05-10 20:13:05,599 - faraday.model.api - DEBUG - clearTree called
2015-05-10 20:13:06,118 - faraday.model.api - DEBUG - createShellEnvironment called - About to create new shell env with name Shell-1
2015-05-10 20:13:06,603 - faraday.model.api - DEBUG - processOutputHandler (IGNORED by flags):
'export PS1="[\u@\h:\w]>$ "\r\n[root@kali:/Desktop/scripts/faraday/faraday-dev]>$ clear\r\n'/Desktop/scripts/faraday/faraday-dev]>$ '
2015-05-10 20:13:06,610 - faraday.model.api - DEBUG - processOutputHandler (IGNORED by flags):
'\x1b[H\x1b[2J[root@kali:
2015-05-10 20:14:36,240 - faraday.model.api - DEBUG - Report file is /root/.faraday/report/labs2/7xa6po.nessus
2015-05-10 20:14:36,256 - faraday.model.api - DEBUG - nessus
2015-05-10 20:14:36,258 - faraday.model.api - DEBUG - The file is /root/.faraday/report/labs2/7xa6po.nessus, nessus
2015-05-10 20:14:36,260 - faraday.model.api - DEBUG - Executing ./nessus report
2015-05-10 20:14:36,276 - faraday.CouchDbConnector - DEBUG - Saving document in couch db
2015-05-10 20:14:36,393 - faraday.CouchDbConnector - DEBUG - Saving document in couch db
2015-05-10 20:14:36,412 - faraday.model.api - DEBUG - PluginController (191560524) - Created plugin_process (194885420) for plugin instance (191524140)
2015-05-10 20:14:36,430 - faraday.model.api - DEBUG - ----------------------------------------
2015-05-10 20:14:36,431 - faraday.model.api - DEBUG - proc_name = PluginProcess-1
2015-05-10 20:14:36,431 - faraday.model.api - DEBUG - Starting run method on PluginProcess
2015-05-10 20:14:36,432 - faraday.model.api - DEBUG - parent process: 30008
2015-05-10 20:14:36,432 - faraday.model.api - DEBUG - process id: 30532
2015-05-10 20:14:36,432 - faraday.model.api - DEBUG - ----------------------------------------
2015-05-10 20:14:36,439 - faraday.model.api - DEBUG - PluginProcess-1: New Output
2015-05-10 20:14:37,131 - faraday.model.api - DEBUG - Plugin raised an exception:
2015-05-10 20:14:37,132 - faraday.model.api - DEBUG - Traceback (most recent call last):
File "/root/Desktop/scripts/faraday/faraday-dev/plugins/core.py", line 799, in run
self.plugin.parseOutputString(output)
File "/root/.faraday/plugins/nessus/plugin.py", line 163, in parseOutputString
resolution=resolution,ref=ref)
File "/root/Desktop/scripts/faraday/faraday-dev/plugins/core.py", line 686, in createAndAddVulnWebToService
category=category, parent_id=service_id)
File "/root/Desktop/scripts/faraday/faraday-dev/model/common.py", line 546, in generateID
return '.'.join([parent_id, tmpObj.getID()])
File "/root/Desktop/scripts/faraday/faraday-dev/model/common.py", line 248, in getID
self.updateID()
File "/root/Desktop/scripts/faraday/faraday-dev/model/common.py", line 1012, in updateID
self.id = get_hash([self.name, self.website, self.path, self.desc ])
File "/root/Desktop/scripts/faraday/faraday-dev/utils/common.py", line 17, in get_hash
return hashlib.sha1("..".join(parts)).hexdigest()
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 515: ordinal not in range(128)
2015-05-10 20:14:37,134 - faraday.model.api - DEBUG - PluginProcess-1: Exiting
Where should I send the nessus file?
from faraday.
please send to devel [at] infobytesec [dot] com
Thanks!
from faraday.
Nessus file emailed.
from faraday.
Hi @nickkilla!
We had problems with unicode characters inside the nessus report.
Could you try this patch? Move to the faraday root, save the diff in a file like "nessus.patch" and then run: patch -p1 < nessus.patch
diff --git a/plugins/repo/nessus/plugin.py b/plugins/repo/nessus/plugin.py
index 722f937..81d1e63 100644
--- a/plugins/repo/nessus/plugin.py
+++ b/plugins/repo/nessus/plugin.py
@@ -129,10 +129,10 @@ class NessusPlugin(core.PluginBase):
for v in t.vulns:
desc=""
- desc+=v.get('description') if v.get('description') else ""
+ desc+=v.get('description').encode("ascii", errors="backslashreplace") if v.get('description') else ""
resolution = ""
- resolution = v.get('solution') if v.get('solution') else ""
- desc+="\nOutput: "+v.get('plugin_output') if v.get('plugin_output') else ""
+ resolution = v.get('solution').encode("ascii", errors="backslashreplace") if v.get('solution') else ""
+ desc+="\nOutput: "+v.get('plugin_output').encode("ascii", errors="backslashreplace") if v.get('plugin_output') else ""
ref=[]
if v.get('cve'):
ref.append(", ".join(v.get('cve')))
Thanks!
from faraday.
Patch worked. Nessus file was imported.
from faraday.
Related Issues (20)
- Faraday-Server does not start up with HTTPS(kali-linux) HOT 2
- Error in faraday GUI, "Foreign field status not found in submodel", how can I fix it. HOT 4
- Error starting faraday 0.11.8
- Hello, can I get the front-end code of this project? HOT 1
- Failed to import Nuclei report HOT 1
- faraday-manage initdb failed! HOT 1
- Can you add integration with snyk ( https://app.snyk.io/ )? HOT 2
- Cannot connect to host :9000 HOT 1
- Doc docker-compose doesn't work HOT 5
- Allow for multiple characters (maybe using the same neural net)
- Port 9000 down on fresh build with docker-compose HOT 2
- The WebApp Crash during Workspace Switch HOT 1
- docker-compose up failing with latest image HOT 5
- What's the password? HOT 5
- The docker image of faraday missing entrypoint.sh HOT 4
- Port 9000 faraday-dispatcher HOT 1
- Application-level Denial-of-Service due to a One Million Unicode attack when a Report is Uploaded Inbox HOT 2
- error when upload template or run commands HOT 11
- Cannot import big AWS Inspector report HOT 6
- error when show workspaces HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faraday.