@@ -9,7 +9,7 @@ <H1>sqlmap user's manual</H1>
9
9
10
10
< H2 > by
11
11
< A HREF ="mailto:bernardo.damele@gmail.com "> Bernardo Damele A. G.</ A > ,
12
- < A HREF ="mailto:miroslav.stampar@gmail.com "> Miroslav Stampar</ A > </ H2 > version 0.9, April XX , 2011
12
+ < A HREF ="mailto:miroslav.stampar@gmail.com "> Miroslav Stampar</ A > </ H2 > version 0.9, April 10 , 2011
13
13
< HR >
14
14
< EM > This document is the user's manual to use
15
15
< A HREF ="http://sqlmap.sourceforge.net "> sqlmap</ A > .</ EM >
@@ -561,7 +561,7 @@ <H2><A NAME="ss3.1">3.1</A> <A HREF="#toc3.1">2011</A>
561
561
562
562
< P >
563
563
< UL >
564
- < LI > < B > April XX </ B > ,
564
+ < LI > < B > April 10 </ B > ,
565
565
< A HREF ="http://sqlmap.sourceforge.net/#developers "> Bernardo and Miroslav</ A > release sqlmap
566
566
< B > 0.9</ B > featuring a totally rewritten and powerful SQL injection
567
567
detection engine, the possibility to connect directly to a database
@@ -1444,23 +1444,49 @@ <H3>Output prediction</H3>
1444
1444
1445
1445
< P > Switch: < CODE > -</ CODE > < CODE > -predict-output</ CODE > </ P >
1446
1446
1447
- < P > TODO</ P >
1447
+ < P > This switch is used in inference algorithm for sequential statistical
1448
+ prediction of characters of value being retrieved. Based on items given in
1449
+ < CODE > txt/common-outputs.txt</ CODE > together with the knowledge of current
1450
+ enumeration used statistical table with the most promising values is being
1451
+ built. In case that the value can be found among the common output values,
1452
+ as the process progresses, subsequent character tables are being narrowed
1453
+ more and more. If used in combination with retrieval of common DBMS
1454
+ entities, as with system table names and privileges, speed up is
1455
+ significant. Of course, you can edit the common outputs file according to
1456
+ your needs if, for instance, you notice common patterns in database table
1457
+ names or similar.</ P >
1458
+
1459
+ < P > Note that this switch is not compatible with < CODE > -</ CODE > < CODE > -threads</ CODE >
1460
+ switch.</ P >
1448
1461
1449
1462
1450
1463
< H3 > HTTP Keep-Alive</ H3 >
1451
1464
1452
1465
< P > Switch: < CODE > -</ CODE > < CODE > -keep-alive</ CODE > </ P >
1453
1466
1454
- < P > This switch instructs sqlmap to use persistent HTTP(s) connections.
1455
- Note that this switch is incompatible with < CODE > -</ CODE > < CODE > -proxy</ CODE > switch.</ P >
1467
+ < P > This switch instructs sqlmap to use persistent HTTP(s) connections.</ P >
1468
+
1469
+ < P > Note that this switch is incompatible with < CODE > -</ CODE > < CODE > -proxy</ CODE >
1470
+ switch.</ P >
1456
1471
1457
1472
1458
1473
< H3 > HTTP NULL connection</ H3 >
1459
1474
1460
1475
< P > Switch: < CODE > -</ CODE > < CODE > -null-connection</ CODE > </ P >
1461
1476
1462
- < P > TODO
1463
- Note that this switch is incompatible with < CODE > -</ CODE > < CODE > -text-only</ CODE >
1477
+ < P > There are special HTTP request types which can be used to retrieve
1478
+ HTTP response's size without getting the HTTP body. This knowledge can be
1479
+ used in blind injection technique to distinguish < CODE > True</ CODE > from
1480
+ < CODE > False</ CODE > responses. When this switch is provided, sqlmap will try to
1481
+ test and exploit two different < EM > NULL connection</ EM > techniques:
1482
+ < CODE > Range</ CODE > and < CODE > HEAD</ CODE > .
1483
+ If any of these is supported by the target web server, speed up will come
1484
+ from the obvious saving of used bandwidth.</ P >
1485
+
1486
+ < P > These techniques are detailed in the white paper
1487
+ < A HREF ="http://www.wisec.it/sectou.php?id=472f952d79293 "> Bursting Performances in Blind SQL Injection - Take 2 (Bandwidth)</ A > .</ P >
1488
+
1489
+ < P > Note that this switch is incompatible with < CODE > -</ CODE > < CODE > -text-only</ CODE >
1464
1490
switch.</ P >
1465
1491
1466
1492
@@ -1485,6 +1511,9 @@ <H3>Concurrent HTTP(S) requests</H3>
1485
1511
injection technique. The maximum number of concurrent requests is set to
1486
1512
< B > 10</ B > for performance and site reliability reasons.</ P >
1487
1513
1514
+ < P > Note that this switch is not compatible with
1515
+ < CODE > -</ CODE > < CODE > -predict-output</ CODE > switch.</ P >
1516
+
1488
1517
1489
1518
< H2 > < A NAME ="ss5.5 "> 5.5</ A > < A HREF ="#toc5.5 "> Injection</ A >
1490
1519
</ H2 >
@@ -1787,7 +1816,10 @@ <H3>Page comparison</H3>
1787
1816
This way the distinction will be based upon string presence or regular
1788
1817
expression match.</ P >
1789
1818
1790
- < P > TODO: --text-only</ P >
1819
+ < P > In cases with lot of active (e.g. scripts, embeds, etc.) content in the
1820
+ HTTP responses' body, you can filter pages (< CODE > -</ CODE > < CODE > -text-only</ CODE >
1821
+ switch) just for their textual content. This way, in a good number of
1822
+ cases, you can automatically tune the detection engine.</ P >
1791
1823
1792
1824
1793
1825
< H2 > < A NAME ="ss5.7 "> 5.7</ A > < A HREF ="#toc5.7 "> Techniques</ A >
@@ -2313,7 +2345,8 @@ <H3>Brute force tables names</H3>
2313
2345
< UL >
2314
2346
< LI > The database management system is MySQL < B > < 5.0</ B > where
2315
2347
< CODE > information_schema</ CODE > is not available.</ LI >
2316
- < LI > The database management system is Microsoft Access where there TODO.</ LI >
2348
+ < LI > The database management system is Microsoft Access and system table
2349
+ < CODE > MSysObjects</ CODE > is not readable - default setting.</ LI >
2317
2350
< LI > The session user does not have read privileges against the system
2318
2351
table storing the scheme of the databases.</ LI >
2319
2352
</ UL >
@@ -2343,7 +2376,8 @@ <H3>Brute force columns names</H3>
2343
2376
< UL >
2344
2377
< LI > The database management system is MySQL < B > < 5.0</ B > where
2345
2378
< CODE > information_schema</ CODE > is not available.</ LI >
2346
- < LI > The database management system is Microsoft Access where there TODO.</ LI >
2379
+ < LI > The database management system is Microsoft Access where this
2380
+ kind of information is not available inside system tables.</ LI >
2347
2381
< LI > The session user does not have read privileges against the system
2348
2382
table storing the scheme of the databases.</ LI >
2349
2383
</ UL >
@@ -2800,7 +2834,7 @@ <H3>Estimated time of arrival</H3>
2800
2834
< BLOCKQUOTE > < CODE >
2801
2835
< PRE >
2802
2836
100% [===================================================] 64/64
2803
- [10:28 :53] [INFO] retrieved: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
2837
+ [hh:mm :53] [INFO] retrieved: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
2804
2838
2805
2839
web application technology: PHP 5.2.6, Apache 2.2.9
2806
2840
back-end DBMS: Oracle
0 commit comments