fcavallarin / htcap

htcap is a web application scanner able to crawl single page application (SPA) recursively by intercepting ajax calls and DOM changes.
GNU General Public License v2.0
610 stars 114 forks source link

execution error #8

Closed Indeserpen closed 7 years ago

Indeserpen commented 8 years ago

I am getting this error when run crawl command: Exception in thread Thread-31: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in *bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(_self.__args, _self.__kwargs) File "/opt/htcap/core/lib/shell.py", line 44, in executor self.process = subprocess.Popen(self.cmd,stderr=subprocess.PIPE, stdout=subprocess.PIPE, bufsize=0, close_fds=sys.platform != "win32") File "/usr/lib/python2.7/subprocess.py", line 710, in __init** errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 8] Exec format error

Exception in thread Thread-30: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in *bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(_self.__args, _self.__kwargs) File "/opt/htcap/core/lib/shell.py", line 44, in executor self.process = subprocess.Popen(self.cmd,stderr=subprocess.PIPE, stdout=subprocess.PIPE, bufsize=0, close_fds=sys.platform != "win32") File "/usr/lib/python2.7/subprocess.py", line 710, in __init** errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 8] Exec format error

Exception in thread Thread-32: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in *bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(_self.__args, _self.__kwargs) File "/opt/htcap/core/lib/shell.py", line 44, in executor self.process = subprocess.Popen(self.cmd,stderr=subprocess.PIPE, stdout=subprocess.PIPE, bufsize=0, close_fds=sys.platform != "win32") File "/usr/lib/python2.7/subprocess.py", line 710, in __init** errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 8] Exec format error

Exception in thread Thread-33:

System is Backbox 32 bit

segment-srl commented 8 years ago

Hi, I'm unable to reproduce the issue with the latest version of backbox linux (32bit). Could you please provide some more infos about your OS and the exact command you run? Also, which version of phantomjs are you using? It seems that you are running an old version of htcap, could you please do a git pull to update your local copy..

many thanks for your help, Filippo