PDA

View Full Version : nexus 7 spiderfoot issues



secjunkie
2014-09-27, 11:38
Hello all,

The tablet in question is a nexus 7 with a stock 4.4 fresh install.
using the kalimenu to launch spiderfoot I get

500 Internal Server Error



Starting web server at http://127.0.0.1:5001...

************************************************** ***********
Use SpiderFoot by starting your web browser of choice and
browse to http://127.0.0.1:5001
************************************************** ***********

[27/Sep/2014:11:14:47] ENGINE Listening for SIGHUP.
[27/Sep/2014:11:14:47] ENGINE Listening for SIGTERM.
[27/Sep/2014:11:14:47] ENGINE Listening for SIGUSR1.
[27/Sep/2014:11:14:47] ENGINE Bus STARTING
[27/Sep/2014:11:14:47] ENGINE Started monitor thread '_TimeoutMonitor'.
[27/Sep/2014:11:14:47] ENGINE Serving on http://127.0.0.1:5001
[27/Sep/2014:11:14:47] ENGINE Bus STARTED
[27/Sep/2014:11:31:20] HTTP Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/local/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/spiderfoot/sfwebui.py", line 138, in index
templ = Template(filename='dyn/scanlist.tmpl', lookup=self.lookup)
File "/usr/lib/python2.7/dist-packages/mako/template.py", line 276, in __init__
module = self._compile_from_file(path, filename)
File "/usr/lib/python2.7/dist-packages/mako/template.py", line 349, in _compile_from_file
data = util.read_file(filename)
File "/usr/lib/python2.7/dist-packages/mako/util.py", line 414, in read_file
fp = open(path, mode)
IOError: [Errno 2] No such file or directory: 'dyn/scanlist.tmpl'

Any help would be much appreciated.

Thank you in advance :)

muts
2014-09-27, 12:09
To fix this, you need to make a small edit to the kalimenu script, located in the Kali chroot, in /usr/bin/kalimenu.

Change this :


f_spiderfoot(){
python /opt/spiderfoot/sf.py
}


to this :



f_spiderfoot(){
cd /opt/spiderfoot/ && python /opt/spiderfoot/sf.py
}


and re-start spiderfoot.

This fix has been pushed to github.

binkybear
2014-09-28, 02:50
missed muts post above, pushed fix to github

secjunkie
2014-09-28, 11:33
Victory! many thanks again @muts