Problème SQLMAP sous Cyborg UBUNTU

amp;

Premium
Inscription
4 Juillet 2016
Messages
192
Réactions
99
Points
241
RGCoins
25
salut RG

Alors he suis sous le os cyborg car je voulais testé et quand je veux faire une commande sqlmap, a chaque fois sa me fais sa :

Code:
 cyborg@cyborg:~$ sqlmap -u "URL QUE JAI CACHER" --dbs

sqlmap/1.0-dev-25eca9d - automatic SQL injection and database takeover tool
http://sqlmap.org

[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program

[*] starting at 19:47:24

Usage: python sqlmap.py [options]

Options:
-h, --help Show basic help message and exit
-hh Show advanced help message and exit
-v VERBOSE Verbosity level: 0-6 (default 1)

Target:
At least one of these options has to be specified to set the source to
get target urls from

-u URL, --url=URL Target url
-g GOOGLEDORK Process Google dork results as target urls

Request:
These options can be used to specify how to connect to the target url

--data=DATA Data string to be sent through POST
--cookie=COOKIE HTTP Cookie header
--random-agent Use randomly selected HTTP User-Agent header
--proxy=PROXY Use a HTTP proxy to connect to the target url

Injection:
These options can be used to specify which parameters to test for,
provide custom injection payloads and optional tampering scripts

-p TESTPARAMETER Testable parameter(s)
--dbms=DBMS Force back-end DBMS to this value

Detection:
These options can be used to specify how to parse and compare page
content from HTTP responses when using blind SQL injection technique

--level=LEVEL Level of tests to perform (1-5, default 1)
--risk=RISK Risk of tests to perform (0-3, default 1)

Techniques:
These options can be used to tweak testing of specific SQL injection
techniques

--technique=TECH SQL injection techniques to test for (default "BEUST")

Enumeration:
These options can be used to enumerate the back-end database
management system information, structure and data contained in the
tables. Moreover you can run your own SQL statements

-b, --banner Retrieve DBMS banner
--current-user Retrieve DBMS current user
--current-db Retrieve DBMS current database
--passwords Enumerate DBMS users password hashes
--tables Enumerate DBMS database tables
--columns Enumerate DBMS database table columns
--schema Enumerate DBMS schema
--dump Dump DBMS database table entries
--dump-all Dump all DBMS databases tables entries
-D DB DBMS database to enumerate
-T TBL DBMS database table to enumerate
-C COL DBMS database table column to enumerate

Operating system access:
These options can be used to access the back-end database management
system underlying operating system

--os-shell Prompt for an interactive operating system shell
--os-pwn Prompt for an out-of-band shell, meterpreter or VNC

General:
These options can be used to set some general working parameters

--batch Never ask for user input, use the default behaviour
--check-tor Check to see if Tor is used properly
--flush-session Flush session files for current target
--tor Use Tor anonymity network

Miscellaneous:
--wizard Simple wizard interface for beginner users

[!] to see full list of options run with '-hh'

[*] shutting down at 19:47:24

cyborg@cyborg:~$

COmment faire ? pour utilisé comme sur kali linux sur ciborg ?

merci a vous
 

Enz044

Premium
Inscription
8 Janvier 2015
Messages
2 039
Réactions
638
Points
6 828
RGCoins
0
EDIT : j'ai pas vu essaye avec le SUDO
 

amp;

Premium
Inscription
4 Juillet 2016
Messages
192
Réactions
99
Points
241
RGCoins
25
j'ai essayé mais rien toujours pareil
 

amp;

Premium
Inscription
4 Juillet 2016
Messages
192
Réactions
99
Points
241
RGCoins
25
j'ai essayé mais voila se que sa me fait :

cyborg@cyborg:~$ sudo python sqlmap.py -u " " --dbs
python: can't open file 'sqlmap.py': [Errno 2] No such file or directory
 

Enz044

Premium
Inscription
8 Janvier 2015
Messages
2 039
Réactions
638
Points
6 828
RGCoins
0
Bizzare, tu la mis ou le dossier sqlmap ?
 

amp;

Premium
Inscription
4 Juillet 2016
Messages
192
Réactions
99
Points
241
RGCoins
25
Bizzare, tu la mis ou le dossier sqlmap ?
normalement, il est dans pentest/database/sqlmap

voici se qu'il y a dedans :
b1dc9068af9a4039ab57f9d5fe16542c.png
 

Enz044

Premium
Inscription
8 Janvier 2015
Messages
2 039
Réactions
638
Points
6 828
RGCoins
0
Place le dans le 2.7 il s'accorde bien avec sqlmap
 

Enz044

Premium
Inscription
8 Janvier 2015
Messages
2 039
Réactions
638
Points
6 828
RGCoins
0
Quand tu auras fait tout sa copie le chemin d'acces avec le .py
 

amp;

Premium
Inscription
4 Juillet 2016
Messages
192
Réactions
99
Points
241
RGCoins
25
sa va si j'ai mit dans : /usr/lib/python2.7 ?
 

amp;

Premium
Inscription
4 Juillet 2016
Messages
192
Réactions
99
Points
241
RGCoins
25
voila la se que je viens de faire :

 

amp;

Premium
Inscription
4 Juillet 2016
Messages
192
Réactions
99
Points
241
RGCoins
25
je l'ai mis dans /etc/python2.7/

mais apres pas compris se qu'il fallait faire
 
Haut