@@ -9,7 +9,7 @@ <H1>sqlmap user's manual</H1>
99
1010< H2 > by
1111< 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
1313< HR >
1414< EM > This document is the user's manual to use
1515< 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>
561561
562562< P >
563563< UL >
564- < LI > < B > April XX </ B > ,
564+ < LI > < B > April 10 </ B > ,
565565< A HREF ="http://sqlmap.sourceforge.net/#developers "> Bernardo and Miroslav</ A > release sqlmap
566566< B > 0.9</ B > featuring a totally rewritten and powerful SQL injection
567567detection engine, the possibility to connect directly to a database
@@ -1444,23 +1444,49 @@ <H3>Output prediction</H3>
14441444
14451445< P > Switch: < CODE > -</ CODE > < CODE > -predict-output</ CODE > </ P >
14461446
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 >
14481461
14491462
14501463< H3 > HTTP Keep-Alive</ H3 >
14511464
14521465< P > Switch: < CODE > -</ CODE > < CODE > -keep-alive</ CODE > </ P >
14531466
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 >
14561471
14571472
14581473< H3 > HTTP NULL connection</ H3 >
14591474
14601475< P > Switch: < CODE > -</ CODE > < CODE > -null-connection</ CODE > </ P >
14611476
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 >
14641490switch.</ P >
14651491
14661492
@@ -1485,6 +1511,9 @@ <H3>Concurrent HTTP(S) requests</H3>
14851511injection technique. The maximum number of concurrent requests is set to
14861512< B > 10</ B > for performance and site reliability reasons.</ P >
14871513
1514+ < P > Note that this switch is not compatible with
1515+ < CODE > -</ CODE > < CODE > -predict-output</ CODE > switch.</ P >
1516+
14881517
14891518< H2 > < A NAME ="ss5.5 "> 5.5</ A > < A HREF ="#toc5.5 "> Injection</ A >
14901519</ H2 >
@@ -1787,7 +1816,10 @@ <H3>Page comparison</H3>
17871816This way the distinction will be based upon string presence or regular
17881817expression match.</ P >
17891818
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 >
17911823
17921824
17931825< H2 > < A NAME ="ss5.7 "> 5.7</ A > < A HREF ="#toc5.7 "> Techniques</ A >
@@ -2313,7 +2345,8 @@ <H3>Brute force tables names</H3>
23132345< UL >
23142346< LI > The database management system is MySQL < B > < 5.0</ B > where
23152347< 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 >
23172350< LI > The session user does not have read privileges against the system
23182351table storing the scheme of the databases.</ LI >
23192352</ UL >
@@ -2343,7 +2376,8 @@ <H3>Brute force columns names</H3>
23432376< UL >
23442377< LI > The database management system is MySQL < B > < 5.0</ B > where
23452378< 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 >
23472381< LI > The session user does not have read privileges against the system
23482382table storing the scheme of the databases.</ LI >
23492383</ UL >
@@ -2800,7 +2834,7 @@ <H3>Estimated time of arrival</H3>
28002834< BLOCKQUOTE > < CODE >
28012835< PRE >
28022836100% [===================================================] 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
28042838
28052839web application technology: PHP 5.2.6, Apache 2.2.9
28062840back-end DBMS: Oracle
0 commit comments