@@ -40,8 +40,8 @@ def vulnTest():
4040 TESTS = (
4141 ("-h" , ("to see full list of options run with '-hh'" ,)),
4242 ("--dependencies --deprecations" , ("sqlmap requires" , "third-party library" , "~DeprecationWarning:" )),
43- ("-u <url> --data='reflect=1' --flush-session --wizard" , ("Please choose:" , "back-end DBMS: SQLite" , "current user is DBA: True" , "banner: '3." )),
44- ("-u <url> --data='code=1' --code=200 --technique=B --banner --flush-session" , ("back-end DBMS: SQLite" , "banner: '3." )),
43+ ("-u <url> --data='reflect=1' --flush-session --wizard --disable-coloring " , ("Please choose:" , "back-end DBMS: SQLite" , "current user is DBA: True" , "banner: '3." )),
44+ ("-u <url> --data='code=1' --code=200 --technique=B --banner --no-cast -- flush-session" , ("back-end DBMS: SQLite" , "banner: '3." , "~COALESCE(CAST( " )),
4545 (u"-c <config> --flush-session --smart --roles --statements --hostname --privileges --sql-query=\" SELECT '\u0161 u\u0107 uraj'\" --technique=U" , (u": '\u0161 u\u0107 uraj'" , "on SQLite it is not possible" )),
4646 (u"-u <url> --flush-session --sql-query=\" SELECT '\u0161 u\u0107 uraj'\" --technique=B --no-escape --string=luther --unstable" , (u": '\u0161 u\u0107 uraj'" ,)),
4747 ("--dummy" , ("all tested parameters do not appear to be injectable" , "does not seem to be injectable" , "there is not at least one" , "~might be injectable" )),
@@ -50,13 +50,14 @@ def vulnTest():
5050 ("-r <request> --flush-session -v 5 --test-skip='heavy' --save=<config>" , ("CloudFlare" , "web application technology: Express" , "possible DBMS: 'SQLite'" , "User-agent: foobar" , "~Type: time-based blind" , "saved command line options to the configuration file" )),
5151 ("-c <config>" , ("CloudFlare" , "possible DBMS: 'SQLite'" , "User-agent: foobar" , "~Type: time-based blind" )),
5252 ("<piped> -r <request> -l <log> --flush-session --banner --technique=B" , ("banner: '3." , "STDIN" )),
53+ ("-u <url> --flush-session --technique=U --dump -T users --answers=\" crack=n\" -v 3" , ("JSON_GROUP_ARRAY" , "NULL" , "nameisnull" , "~performed 2 queries" )),
5354 ("-l <log> --flush-session --keep-alive --skip-waf -v 5 --technique=U --union-from=users --banner --parse-errors" , ("banner: '3." , "ORDER BY term out of range" , "~xp_cmdshell" , "Connection: keep-alive" )),
5455 ("-l <log> --offline --banner -v 5" , ("banner: '3." , "~[TRAFFIC OUT]" )),
5556 ("-u <base> --flush-session --data='id=1&_=Eewef6oh' --chunked --randomize=_ --random-agent --banner" , ("fetched random HTTP User-Agent header value" , "Parameter: id (POST)" , "Type: boolean-based blind" , "Type: time-based blind" , "Type: UNION query" , "banner: '3." )),
5657 ("-u <base64> -p id --base64=id --data='base64=true' --flush-session --banner --technique=B" , ("banner: '3." ,)),
5758 ("-u <base64> -p id --base64=id --data='base64=true' --flush-session --tables --technique=U" , (" users " ,)),
58- ("-u <url> --flush-session --banner --technique=B --not-string 'no results'" , ("banner: '3." ,)),
59- ("-u <url> --flush-session --banner --technique=B --first=1 --last=2" , ("banner: '3.'" ,)),
59+ ("-u <url> --flush-session --banner --technique=B --disable-precon -- not-string 'no results'" , ("banner: '3." ,)),
60+ ("-u <url> --flush-session --encoding=gbk -- banner --technique=B --first=1 --last=2" , ("banner: '3.'" ,)),
6061 ("-u <url> --flush-session --encoding=ascii --forms --crawl=2 --threads=2 --banner" , ("total of 2 targets" , "might be injectable" , "Type: UNION query" , "banner: '3." )),
6162 ("-u <base> --flush-session --data='{\" id\" : 1}' --banner" , ("might be injectable" , "3 columns" , "Payload: {\" id\" " , "Type: boolean-based blind" , "Type: time-based blind" , "Type: UNION query" , "banner: '3." )),
6263 ("-u <base> --flush-session -H 'Foo: Bar' -H 'Sna: Fu' --data='<root><param name=\" id\" value=\" 1*\" /></root>' --union-char=1 --mobile --answers='smartphone=3' --banner --smart -v 5" , ("might be injectable" , "Payload: <root><param name=\" id\" value=\" 1" , "Type: boolean-based blind" , "Type: time-based blind" , "Type: UNION query" , "banner: '3." , "Nexus" , "Sna: Fu" , "Foo: Bar" )),
0 commit comments