Re: [sqlmap-users] certificate authentication
Brought to you by:
inquisb
From: Travis A. <tra...@gm...> - 2013-02-04 18:26:22
|
Command line: sqlmap.py -c sqlmap.conf Technique: None Back-end DBMS: Oracle (identified) Traceback (most recent call last): File "/Users/travis/tools/sqlmap/_sqlmap.py", line 73, in main start() File "/Users/travis/tools/sqlmap/lib/controller/controller.py", line 351, in start if not checkConnection(suppressOutput=conf.forms) or not checkString() or not checkRegexp(): File "/Users/travis/tools/sqlmap/lib/controller/checks.py", line 1047, in checkConnection page, _ = Request.queryPage(content=True, noteResponseTime=False) File "/Users/travis/tools/sqlmap/lib/request/connect.py", line 802, in queryPage page, headers, code = Connect.getPage(url=uri, get=get, post=post, cookie=cookie, ua=ua, referer=referer, host=host, silent=silent, method=method, auxHeaders=auxHeaders, response=response, raise404=raise404, ignoreTimeout=timeBasedCompare) File "/Users/travis/tools/sqlmap/lib/request/connect.py", line 355, in getPage conn = urllib2.urlopen(req) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 394, in open response = self._open(req, data) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 412, in _open '_open', req) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain result = func(*args) File "/Users/travis/tools/sqlmap/lib/request/certhandler.py", line 21, in https_open return self.do_open(self.getConnection, req) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1140, in do_open h = http_class(host, timeout=req.timeout) # will parse host:port TypeError: getConnection() got an unexpected keyword argument 'timeout' [*] shutting down at 11:58:46 On Mon, Feb 4, 2013 at 1:24 PM, Miroslav Stampar <mir...@gm... > wrote: > Hi. > > Traceback would be most helpful. > > Bye > On Feb 4, 2013 7:22 PM, "Travis Altman" <tra...@gm...> wrote: > >> I've got an application that requires a certificate before it allows me >> through the front door. I'm using the sqlmap.conf file and I'm adjusting >> the aCert parameter to be "key.key,cert.pem". I extracted the key and cert >> from the pkcs file using the technique here >> http://blog.bioid.com/post/Extract-the-certificate-and-key-from-a-PKCS12-file. >> I try to run sqlmap at that point but it errors out. If the stack trace >> would help let me know but figured someone might be able to answer my >> question and ensure that I'm utilizing the cert function properly. Thanks. >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_jan >> _______________________________________________ >> sqlmap-users mailing list >> sql...@li... >> https://lists.sourceforge.net/lists/listinfo/sqlmap-users >> >> |