Re: [sqlmap-users] Error while excecuting os-cmd in sqlmap 0.9
Brought to you by:
inquisb
From: prashant j. <pra...@gm...> - 2010-10-03 17:25:42
|
it wrk thnks On Thu, Sep 30, 2010 at 11:00 PM, prashant jadhav < pra...@gm...> wrote: > hi , > While testing the --os-cmd=ls in sqlmap 0.9 dev i m getting the following > error > > > Please advice > The details are > > URL = sudo python ./sqlmap.py -u "http://xxx/bbb.php?article_id=2322" > --os-cmd=ls -v 1 > > > " > [23:06:37] [CRITICAL] unhandled exception in sqlmap/0.9-dev, please copy > the command line and the following text and send by e-mail to > sql...@li.... The developer will fix it as soon as > possible: > sqlmap version: 0.9-dev > Python version: 2.5.2 > Operating system: posix > Traceback (most recent call last): > File "./sqlmap.py", line 95, in main > start() > File "/pentest/database/sqlmap-dev/lib/controller/controller.py", line > 280, in start > action() > File "/pentest/database/sqlmap-dev/lib/controller/action.py", line 152, > in action > conf.dbmsHandler.osCmd() > File "/pentest/database/sqlmap-dev/plugins/generic/takeover.py", line 66, > in osCmd > self.initEnv(web=web) > File "/pentest/database/sqlmap-dev/lib/takeover/abstraction.py", line > 154, in initEnv > self.webInit() > File "/pentest/database/sqlmap-dev/lib/takeover/web.py", line 198, in > webInit > uplPage, _ = Request.getPage(url=self.webUploaderUrl, direct=True, > raise404=False) > File "/pentest/database/sqlmap-dev/lib/request/connect.py", line 174, in > getPage > conn = urllib2.urlopen(req) > File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen > return _opener.open(url, data) > File "/usr/lib/python2.5/urllib2.py", line 381, in open > response = self._open(req, data) > File "/usr/lib/python2.5/urllib2.py", line 399, in _open > '_open', req) > File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain > result = func(*args) > File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open > return self.do_open(httplib.HTTPConnection, req) > File "/usr/lib/python2.5/urllib2.py", line 1064, in do_open > h = http_class(host) # will parse host:port > File "/usr/lib/python2.5/httplib.py", line 639, in __init__ > self._set_hostport(host, port) > File "/usr/lib/python2.5/httplib.py", line 651, in _set_hostport > raise InvalidURL("nonnumeric port: '%s'" % host[i+1:]) > InvalidURL: nonnumeric port: '80jpma' > > [*] shutting down at: 23:06:37 > " > |