hi Jovon.

it should be fixed with the latest commit. the problem is that in your
case some of crawled links were in "invalid" form but from now on
sqlmap shouldn't crash on these any more.

kr

On Mon, Jul 11, 2011 at 6:55 AM, Ahmed Shawky <ah...@isecur1ty.org> wrote:
> From the exception "InvalidURL: nonnumeric port: '80#content'"
> It seems that you supplied sqlmap with Invalid URL
>
> On Mon, Jul 11, 2011 at 5:00 AM, Jovon Itwaru <jovon.itw...@gmail.com>
> wrote:
>>
>> Received the following error when perform crawl:
>> sqlmap version: 1.0-dev (r4243)
>> Python version: 2.6.1
>> Operating system: posix
>> Command line: ./sqlmap.py -u ******************** --crawl=2
>> Technique: None
>> Back-end DBMS: None (identified)
>> Traceback (most recent call last):
>>   File "./sqlmap.py", line 77, in main
>>     init(cmdLineOptions)
>>   File "/Users/bob/Tools/sqlmap/sqlmap-dev/lib/core/option.py", line 1837,
>> in init
>>     __setCrawler()
>>   File "/Users/bob/Tools/sqlmap/sqlmap-dev/lib/core/option.py", line 421,
>> in __setCrawler
>>     crawler.getTargetUrls()
>>   File "/Users/bob/Tools/sqlmap/sqlmap-dev/lib/utils/crawler.py", line
>> 109, in getTargetUrls
>>     runThreads(numThreads, crawlThread)
>>   File "/Users/bob/Tools/sqlmap/sqlmap-dev/lib/core/threads.py", line 104,
>> in runThreads
>>     threadFunction()
>>   File "/Users/bob/Tools/sqlmap/sqlmap-dev/lib/utils/crawler.py", line 59,
>> in crawlThread
>>     content = Request.getPage(url=current, crawling=True,
>> raise404=False)[0]
>>   File "/Users/bob/Tools/sqlmap/sqlmap-dev/lib/request/connect.py", line
>> 281, in getPage
>>     conn = urllib2.urlopen(req)
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
>> line 124, in urlopen
>>     return _opener.open(url, data, timeout)
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
>> line 383, in open
>>     response = self._open(req, data)
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
>> line 401, in _open
>>     '_open', req)
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
>> line 361, in _call_chain
>>     result = func(*args)
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
>> line 1130, in http_open
>>     return self.do_open(httplib.HTTPConnection, req)
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py",
>> line 1087, in do_open
>>     h = http_class(host, timeout=req.timeout) # will parse host:port
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py",
>> line 656, in __init__
>>     self._set_hostport(host, port)
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py",
>> line 668, in _set_hostport
>>     raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
>> InvalidURL: nonnumeric port: '80#content'
>> [*] shutting down at 22:56:17
>>
>> ------------------------------------------------------------------------------
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2d-c2
>> _______________________________________________
>> sqlmap-users mailing list
>> sqlmap-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sqlmap-users
>>
>
>
>
> --
>
> Ahmed Shawky El-Antry
> Pen-tester, Programmer and System administrator
> lnxg33k owner "http://lnxg33k.wordpress.com";
> Isecur1ty team member"http://www.isecur1ty.org";
> Twitter @lnxg33k
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> sqlmap-users mailing list
> sqlmap-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlmap-users
>
>



-- 
Miroslav Stampar (@stamparm)

E-mail: miroslav.stampar (at) gmail.com
PGP Key ID: 0xB5397B1B

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users

Reply via email to