Skip to content

run webshell detector using pythin 2.7 #5

@keithcusters

Description

@keithcusters

Hi
I am trying to run your webshelldetector script using python 2.7. I got following error:

Traceback (most recent call last):
File "C:\Python27\shelldetect.py", line 347, in
shell.start()
File "C:\Python27\shelldetect.py", line 148, in start
self.version()
File "C:\Python27\shelldetect.py", line 235, in version
_server_version = urllib2.urlopen('https://raw.github.com/emposha/PHP-Shell-
Detector/master/version/db').read()
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 391, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 409, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 369, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1181, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Python27\lib\urllib2.py", line 1148, in do_open
raise URLError(err)
urllib2.URLError:

Could you advise what I am doing wrong?
THX
Keith

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions