Comments (5)
You have to specify the method of the request. Either GET or POST. If you did specify the method can you export your config and send it to me?
Scott
Sent from my iPhone
On Mar 2, 2013, at 2:41 PM, "mcpacosy" [email protected] wrote:
Hi!
I'm trying to run your tool BBQSQL. First I tried to install it using the current version from github and after that I installed it with "pip install bbqsql". The program starts, I enter the URL and finally select "5) Run Exploit" and I get an error. The error for both the github and the pip version is almost identical and looks like this:
Traceback (most recent call last):
File "/usr/local/bin/bbqsql", line 16, in
bbqMenu()
File "/usr/local/lib/python2.6/dist-packages/bbqsql/menu/bbq_menu.py", line 182, in init
bbq = bbqsql.BlindSQLi(**attack_config)
File "/usr/local/lib/python2.6/dist-packages/bbqsql/lib/api.py", line 128, in init
self.requester = requester_type(comparison_attr=comparison_attr, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/bbqsql/lib/requester.py", line 122, in init
self.session = requests.session(_args,**kwargs)
TypeError: session() takes no arguments (2 given)
I'm using BackTrack 5 RC2 (32 bit) and the following packages are installed:root@bt:~# pip install bbqsql
Requirement already satisfied: bbqsql in /usr/local/lib/python2.6/dist-packages
Requirement already satisfied: gevent in /usr/local/lib/python2.6/dist-packages/gevent-0.13.8-py2.6-linux-i686.egg (from bbqsql)
Requirement already satisfied: requests in /usr/local/lib/python2.6/dist-packages/requests-1.1.0-py2.6.egg (from bbqsql)
Requirement already satisfied: argparse in /usr/local/lib/python2.6/dist-packages/argparse-1.2.1-py2.6.egg (from bbqsql)
Requirement already satisfied: greenlet in /usr/local/lib/python2.6/dist-packages/greenlet-0.4.0-py2.6-linux-i686.egg (from gevent->bbqsql)
Installing collected packages: argparse, bbqsql, gevent, greenlet, requests
Successfully installed bbqsql
Thank you and kind regards,
Martin—
Reply to this email directly or view it on GitHub.
from bbqsql.
Hi Scott,
I specified the request method to GET (sorry, I forgot to mention it in my first post). Here is the content of my config:
root@bt:~# cat attack.cfg
[HTTP Config]
query = ' and ASCII(SUBSTR((SELECT data FROM data ORDER BY id LIMIT 1 OFFSET ${row_index:1}),${char_index:1},1))${comparator:>}${char_val:0} #
technique = binary_search
comparison_attr = size
concurrency = 30
[Request Config]
url = http://foo.bar.org/index.php?page=baz${injection}
method = get
Maybe I missed something else?
Thanks!
Martin
from bbqsql.
Can you check your version of the requests library? They had a major version release since we last worked on BBQSQL and I might need to update the setup file to specify the old version.
from bbqsql.
I downgraded requests to 0.14.2 and now it works. Thanks!
from bbqsql.
closed since downgrade works.
from bbqsql.
Related Issues (20)
- Response cookie support
- Configurable row limit HOT 7
- not printing tuples right HOT 1
- trying to pass data to requests.session
- bbqsql breaks with "TypeError: session() takes no arguments (5 given)" HOT 6
- Request further sample queries in readme.md HOT 1
- time problem
- time problem HOT 1
- SSLv3 Support Error
- import error HOT 2
- OS X EL Capitan
- Mysql LEFT Orperator HOT 2
- BBQSQL crash regardless of config HOT 3
- bbqsql does not run? HOT 4
- bbqsql not running HOT 8
- ImportError: cannot import name filterfalse HOT 1
- Using proxy doesn't work in bbqsql
- not installing in kali 2020.3
- Get error Everytime i set allow_redirect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bbqsql.