Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlmapapi doesn't start sqlmap correctly #1394

Closed
LocutusOfBorg opened this issue Sep 7, 2015 · 2 comments
Closed

sqlmapapi doesn't start sqlmap correctly #1394

LocutusOfBorg opened this issue Sep 7, 2015 · 2 comments
Assignees
Milestone

Comments

@LocutusOfBorg
Copy link

Hi, in Debian I would like to avoid installing an sqlmap.py file in usr/bin, so I did create a symlink called sqlmap and sqlmapapi.

this is causing the following issue:

$ sqlmapapi -H localhost -p 8888 -s
[15:50:04] [INFO] Running REST-JSON API server at 'localhost:8888'..
[15:50:04] [INFO] Admin ID: 02064d708f0b1faac7758788aca5f520
[15:50:04] [DEBUG] IPC database: /tmp/sqlmapipc-MvOTkF
[15:50:04] [DEBUG] REST-JSON API server connected to IPC database
[15:50:40] [DEBUG] Created new task: 'b72c0abfa0564b9b'
[15:50:40] [DEBUG] [b72c0abfa0564b9b] Requested to set options
[15:50:40] [DEBUG] [b72c0abfa0564b9b] Listed task options
[15:50:40] [DEBUG] [b72c0abfa0564b9b] Started scan
python: can't open file 'sqlmap.py': [Errno 2] No such file or directory

well, is it possible to fix the code to look for sqlmap OR sqlmap.py or should I install a new symlink?

thanks a lot
(I know this is a Debian issue, but well, I would appreciate an upstream fix :p )

@stamparm stamparm self-assigned this Sep 8, 2015
@stamparm stamparm added this to the 1.0 milestone Sep 8, 2015
@stamparm
Copy link
Member

stamparm commented Sep 8, 2015

@LocutusOfBorg it should be ok now

@LocutusOfBorg
Copy link
Author

Confirmed, working flawlessly, thanks a lot! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants