09-06-2012, 08:26 PM
Code:
root@bt:/pentest/database/sqlscan# python sqlscan.py -g inurl:'.gov' 16 -s 'index.php?id=1' -v 1
sqlscan.py:8: DeprecationWarning: the sets module is deprecated
import sys, urllib2, re, sets, time, socket, httplib
d3hydr8[at]gmail[dot]com SQL Scanner v1.0
-----------------------------------------------
[+] SQL_scan Loaded
[+] Verbose Mode On
[+] SQL: /index.php?id=1
[+] Query: inurl:.gov
[+] Number: 16
[+] Querying Google...
Traceback (most recent call last):
File "sqlscan.py", line 132, in <module>
urls = geturls(query)
File "sqlscan.py", line 46, in geturls
opener = urllib2.build_opener(url)
File "/usr/lib/python2.6/urllib2.py", line 477, in build_opener
opener.add_handler(h)
File "/usr/lib/python2.6/urllib2.py", line 311, in add_handler
type(handler))
TypeError: expected BaseHandler instance, got <type 'str'>
sqlscan ane kok gag bisa dipake ya om,,ada yang run di bt anda ?? bagi donk