|
2184 | 2184 | <item value="r'Database: SYS.+Table: USERS.+1 column.+SURNAME.+VARCHAR2'"/> |
2185 | 2185 | </parse> |
2186 | 2186 | </case> |
2187 | | - <!-- TODO: add IBM DB2 test cases --> |
| 2187 | + <case name="IBM DB2 boolean-based multi-threaded search enumeration - database"> |
| 2188 | + <switches> |
| 2189 | + <url value="http://debiandev/sqlmap/db2/get_int.php?id=1"/> |
| 2190 | + <threads value="4"/> |
| 2191 | + <tech value="B"/> |
| 2192 | + <search value="True"/> |
| 2193 | + <db value="d"/> |
| 2194 | + </switches> |
| 2195 | + <parse> |
| 2196 | + <item value="r'found databases.+:.+\[\*\] DB2INST1.+\[\*\] SYSIBMADM'"/> |
| 2197 | + </parse> |
| 2198 | + </case> |
| 2199 | + <case name="IBM DB2 boolean-based multi-threaded search enumeration - tables given database"> |
| 2200 | + <switches> |
| 2201 | + <url value="http://debiandev/sqlmap/db2/get_int.php?id=1"/> |
| 2202 | + <threads value="4"/> |
| 2203 | + <tech value="B"/> |
| 2204 | + <search value="True"/> |
| 2205 | + <db value="db2inst1"/> |
| 2206 | + <tbl value="user,wrong"/> |
| 2207 | + <answer value="do you want to dump tables=N"/> |
| 2208 | + </switches> |
| 2209 | + <parse> |
| 2210 | + <item value="r'Database: DB2INST1.+1 table.+USERS'"/> |
| 2211 | + </parse> |
| 2212 | + </case> |
| 2213 | + <case name="IBM DB2 boolean-based multi-threaded search enumeration - tables without given database"> |
| 2214 | + <switches> |
| 2215 | + <url value="http://debiandev/sqlmap/db2/get_int.php?id=1"/> |
| 2216 | + <threads value="4"/> |
| 2217 | + <tech value="B"/> |
| 2218 | + <search value="True"/> |
| 2219 | + <tbl value="users"/> |
| 2220 | + <answers value="do you want to dump=N"/> |
| 2221 | + </switches> |
| 2222 | + <parse> |
| 2223 | + <item value="r'Database: DB2INST1.+1 table.+USERS'"/> |
| 2224 | + </parse> |
| 2225 | + </case> |
| 2226 | + <case name="IBM DB2 boolean-based multi-threaded search enumeration - column without given db or table"> |
| 2227 | + <switches> |
| 2228 | + <url value="http://debiandev/sqlmap/db2/get_int.php?id=1"/> |
| 2229 | + <threads value="4"/> |
| 2230 | + <tech value="B"/> |
| 2231 | + <search value="True"/> |
| 2232 | + <col value="surname,foobar"/> |
| 2233 | + <answers value="do you want to dump=N"/> |
| 2234 | + </switches> |
| 2235 | + <parse> |
| 2236 | + <item value="r'Database: DB2INST1.+Table: USERS.+1 column.+SURNAME'"/> |
| 2237 | + </parse> |
| 2238 | + </case> |
| 2239 | + <case name="IBM DB2 boolean-based multi-threaded search enumeration - column given databases"> |
| 2240 | + <switches> |
| 2241 | + <url value="http://debiandev/sqlmap/db2/get_int.php?id=1"/> |
| 2242 | + <threads value="4"/> |
| 2243 | + <tech value="B"/> |
| 2244 | + <search value="True"/> |
| 2245 | + <db value="db2inst1,foobar"/> |
| 2246 | + <col value="surname"/> |
| 2247 | + <answers value="do you want to dump=N"/> |
| 2248 | + </switches> |
| 2249 | + <parse> |
| 2250 | + <item value="r'Database: DB2INST1.+Table: USERS.+1 column.+SURNAME'"/> |
| 2251 | + </parse> |
| 2252 | + </case> |
| 2253 | + <case name="IBM DB2 boolean-based multi-threaded search enumeration - column given tables"> |
| 2254 | + <switches> |
| 2255 | + <url value="http://debiandev/sqlmap/db2/get_int.php?id=1"/> |
| 2256 | + <threads value="4"/> |
| 2257 | + <tech value="B"/> |
| 2258 | + <search value="True"/> |
| 2259 | + <tbl value="users,foobar"/> |
| 2260 | + <col value="surname"/> |
| 2261 | + <answers value="do you want to dump=N"/> |
| 2262 | + </switches> |
| 2263 | + <parse> |
| 2264 | + <item value="r'Database: DB2INST1.+Table: USERS.+1 column.+SURNAME'"/> |
| 2265 | + </parse> |
| 2266 | + </case> |
| 2267 | + <case name="IBM DB2 boolean-based multi-threaded search enumeration - column given databases and table"> |
| 2268 | + <switches> |
| 2269 | + <url value="http://debiandev/sqlmap/db2/get_int.php?id=1"/> |
| 2270 | + <threads value="4"/> |
| 2271 | + <tech value="B"/> |
| 2272 | + <search value="True"/> |
| 2273 | + <db value="db2inst1,foobar"/> |
| 2274 | + <tbl value="users"/> |
| 2275 | + <col value="surname"/> |
| 2276 | + <answers value="do you want to dump=N"/> |
| 2277 | + </switches> |
| 2278 | + <parse> |
| 2279 | + <item value="r'Database: DB2INST1.+Table: USERS.+1 column.+SURNAME'"/> |
| 2280 | + </parse> |
| 2281 | + </case> |
2188 | 2282 | <case name="SQLite multi-threaded search enumeration - database"> |
2189 | 2283 | <switches> |
2190 | 2284 | <url value="http://debiandev/sqlmap/sqlite/get_int.php?id=1"/> |
|
2425 | 2519 | <item value="r'SELECT \* FROM users ORDER BY name \[5\].+1, luther, blisset.+2, fluffy, bunny.+3, wu, ming'"/> |
2426 | 2520 | </parse> |
2427 | 2521 | </case> |
2428 | | - <!-- TODO: add IBM DB2 test cases --> |
| 2522 | + <case name="IBM DB2 boolean-based multi-threaded custom SQL query enumeration"> |
| 2523 | + <switches> |
| 2524 | + <url value="http://debiandev/sqlmap/db2/get_int.php?id=1"/> |
| 2525 | + <threads value="4"/> |
| 2526 | + <tech value="B"/> |
| 2527 | + <query value="SELECT * FROM users"/> |
| 2528 | + </switches> |
| 2529 | + <parse> |
| 2530 | + <item value="r'SELECT \* FROM users.+1, luther, blisset.+nameisnull'"/> |
| 2531 | + </parse> |
| 2532 | + </case> |
| 2533 | + <case name="IBM DB2 boolean-based multi-threaded custom ordered SQL query enumeration"> |
| 2534 | + <switches> |
| 2535 | + <url value="http://debiandev/sqlmap/db2/get_int.php?id=1"/> |
| 2536 | + <threads value="4"/> |
| 2537 | + <tech value="B"/> |
| 2538 | + <query value="SELECT * FROM users ORDER BY name"/> |
| 2539 | + </switches> |
| 2540 | + <parse> |
| 2541 | + <item value="r'SELECT \* FROM users ORDER BY name \[5\].+1, luther, blisset.+2, fluffy, bunny.+3, wu, ming'"/> |
| 2542 | + </parse> |
| 2543 | + </case> |
2429 | 2544 | <case name="SQLite boolean-based multi-threaded custom SQL query enumeration"> |
2430 | 2545 | <switches> |
2431 | 2546 | <url value="http://debiandev/sqlmap/sqlite/get_int.php?id=1"/> |
|
0 commit comments