[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/vizzdoom/sqlmap-command-builder/main/sql-command-builder.html [Back]  [Original]

SQLMap Command Generator

SQLMap Command Builder

Interactive command line generator for conducting advanced SQLMap pentests.
This builder works locally with pure HTML/JS/CSS (no data exchanged to any server).

SQLMap Command Builder | Compatible with SQLMap 1.9.6.10 | vizzdoom/at/gmail/dot/com

COPY TO A CLIPBOARD COPY CONFIG URL
sqlmap
TARGET CONNECTION REQUEST INJECTION EXPLOITATION TAMPERING SQLMAP CONFIG
TARGET URL
-u
DATABASE CONNECTION STRING
-d
GOOGLE DORK FOR TARGETS
-g
FILE WITH TARGETS
-m
BURP FILE WITH HTTP REQUESTS
-l
SCOPE FOR BURP PROXY FILE
--scope

Connection Control

REQUEST TIMEOUT
--timeout
DELAY BETWEEN REQUEST
--delay
NUMBER OF CONCURRENT REQUESTS
--threads
FORCE USAGE OF HTTPS REQUESTS --force-ssl
PERSISTENT CONNECTIONS OPTIMIZATION --keep-alive
HTTP NULL CONNECTIONS OPTIMIZATION --null-connection
USE HTTP2 CONNECTIONS --http2

Proxy Options

HTTP(S) PROXY
--proxy
HTTP(S) PROXY CREDENTIAL
--proxy-cred
HTTP(S) PROXY FILE
--proxy-file
PROXY ROTATION NUMBER
--proxy-freq
IGNORE SYSTEM PROXY SETTINGS --ignore-proxy
TOR ANONYMITY NETWORK SETTINGS
--tor --check-tor
TOR PROXY PORT
--tor-port
TOR PROXY TYPE
--tor-type
-- Choose Type -- SOCKS5 (default) SOCKS4 HTTP

Request Data

HTTP REQUEST METHOD
--method
-- Choose HTTP Method -- GET POST PUT DELETE HEAD OPTIONS PATCH --Custom--
PARAMETER DELIMITER
--param-del
FILE WITH AN HTTP REQUEST
-r
PYTHON CODE TO EVALUATE
-r
HTTP BODY DATA
--data

Request Headers

CUSTOM HTTP HOST HEADER
--host
USER-AGENT HEADER VALUE
--mobile / --random-agent / -A
Default: sqlmap/1.0-dev-x (http://sqlmap.org) --mobile --random-agent --Custom-- Google Chrome 137 for Windows Google Chrome 137 for macOS Google Chrome 137 for Linux Google Chrome 137 for iOS/iPhone Google Chrome 137 for iOS/iPad Google Chrome 137 for Android Microsoft Edge 137 for Windows Microsoft Edge 137 macOS Microsoft Edge 137 for iOS Microsoft Edge 137 for Android Apple Safari 18.4 for macOS Apple Safari 18.4 for iOS/iPhone Apple Safari 18.4 for iOS/iPad Firefox 139 for Windows Firefox 139 for macOS Firefox 139 for Linux Firefox 139 for iOS/iPhone Firefox 139 for iOS/iPad Firefox 139 for Android Opera for Windows Android 15 WebView for Pixel 8 Pro Facebook App for iOS 18.3.2 Facebook App for Android 14 Instagram App for iOS 18.3.2 Instagram App for Android 14
HTTP REFERER HEADER
--referer
EXTRA HTTP HEADERS
--headers

Authentication

COOKIE VALUE
--cookie
COOKIE DELIMITER
--cookie-del
LIVE COOKIES FILE
--live-cookies
RAW COOKIE FILE
--load-cookies
IGNORE Set-Cookie HEADER --drop-set-cookie
HTTP PROTOCOL AUTHENTICATION
--auth-type / --auth-cred
-- Choose auth method -- Basic Digest NTLM
PRIVATE KEY AUTHENTICATION
--auth-file

CSRF Tokens Control

TOKEN EXTRACTION URL
--csrf-url
HTTP METHOD FOR TOKEN RETRIEVAL
--csrf-method
-- Choose HTTP method -- GET POST PUT DELETE HEAD OPTIONS PATCH --Custom--
TOKEN EXTRACTION DATA
--csrf-data
ANTI-CSRF TOKEN FIELD
--csrf-token
RETRIES DURING TOKEN RETRIEVAL
--csrf-retries

Safe Requests

SAFE REQUEST URL
--safe-url
SAFE REQUEST DATA
--safe-post
FILE WITH A SAFE REQUEST
--safe-req
SAFE REQUEST FREQUENCY
--safe-freq

Parameters

TESTABLE PARAMETERS
-p
FORBIDDEN PARAMETERS
--skip
FORBIDDEN PARAMETERS REGEX
--param-exclude
PARAMETERS SCAN CATEGORY ALLOWLIST
--param-filter
PREFIX TO PREPEND
--prefix
SUFFIX TO APPEND
--suffix
PARAMETER(S) WITH RANDOM VALUE(S)
--randomize

Detection

DETECTION TECHNIQUES
--titles --text-only --ignore-redirects --ignore-timeouts
TRUE DETECTION STRING
--string
TRUE DETECTION REGEXP
--regexp
FALSE DETECTION STRING
--not-string
EXPECTED HTTP CODE
--code
STOP SCAN ON THIS HTTP STATUS CODE
--abort-code
STOP SCAN ON THIS HTTP STATUS CODE
--ignore-code
MAX NUMBER OF RETRIES
--retries
RETRY ON CONTENT REGEXP
--retry-on

Attack Optimalization

ATTACK --level 1
1: Show also information and warning messages (default).
ATTACK --risk 1
1: Innocuous test for the majority of SQL injection points (default).
ATTACK TECHNIQUES
Boolean-based blind (B) Error-based (E) Union query-based (U) Stacked queries (S) Time-based blind (T) Inline queries (Q)
ATTACK TUNING
--invalid-bignum --invalid-logical --invalid-string --no-cast --no-escape --predict-output --skip-urlencode --chunked --hpp
FORCE TARGET DATABASE ENGINE
--dbms
Auto-detect MySQL Oracle PostgreSQL Microsoft SQL Server Microsoft Access IBM DB2 SQLite Firebird Sybase SAP MaxDB Informix MariaDB Percona MemSQL TiDB CockroachDB HSQLDB H2 MonetDB Apache Derby Amazon Redshift Vertica Mckoi Presto Altibase MimerSQL CrateDB Greenplum Drizzle Apache Ignite Cubrid InterSystems Cache IRIS eXtremeDB FrontBase
FORCE TARGET OS
--os
Auto-detect Linux Windows
SECOND ORDER PAGE URL
--second-url
SECOND ORDER REQUEST FILE
--second-req
DATABASE(S) NAME FOR ENUMERATION
-D
TABLE(S) NAME FOR ENUMERATION
-T
COLUMN(S) NAME FOR ENUMERATION
-C
DBMS(S) TO NOT ENUMARATE
-X
USER NAME FOR ENUMERATION
-U
PIVOT COLUMN NAME
--pivot
DUMP FILTER CONDITION
--where
DUMP STARTING ENTRY NUMBER
--start
DUMP STOP ENTRY NUMBER
--stop
DUMP STARTING FROM THE N-TH CHARACTER
--first
DUMP ENDING AT THE N-TH CHARACTER
--last
SQL STATEMENT FOR EXECUTION
--sql-query
FILE WITH SQL STATEMENTS
--sql-file
ENUMERATION AND DATA EXFILTRATION
--all --banner --columns --comments --count --current-user --current-db --dbs --dump --dump-all --exclude-sysdbs --hostname --is-dba --passwords --privileges --roles --schema --search --statements --tables --users
0eunion.py Replaces instances of UNION with e0UNION to bypass certain filters apostrophemask.py Replaces apostrophe character with its UTF-8 full width counterpart apostrophenullencode.py Replaces apostrophe character with its illegal double unicode counterpart appendnullbyte.py Appends encoded NULL byte character at the end of payload base64encode.py Base64 encodes all characters in a given payload between.py Replaces greater than operator ('>') with 'NOT BETWEEN 0 AND #' and equals with 'BETWEEN # AND #' binary.py Converts string values to their binary representation for payload obfuscation bluecoat.py Replaces space character after SQL statement with a valid random blank character and = with LIKE operator chardoubleencode.py Double URL-encodes all characters in a given payload (not processing already encoded) charencode.py URL-encodes all characters in a given payload (not processing already encoded) charunicodeencode.py Unicode-URL-encodes non-encoded characters in a given payload charunicodeescape.py Unicode-escapes non-encoded characters in a given payload using \uXXXX format commalesslimit.py Replaces instances like 'LIMIT M, N' with 'LIMIT N OFFSET M' counterpart commalessmid.py Replaces instances like 'MID(A, B, C)' with 'MID(A FROM B FOR C)' counterpart commentbeforeparentheses.py Adds comments before opening parentheses to bypass certain filters concat2concatws.py Replaces instances like 'CONCAT(A, B)' with 'CONCAT_WS(MID(CHAR(0), 0, 0), A, B)' counterpart decentities.py HTML decimal-encodes all non-alphanumeric characters dunion.py Replaces instances of UNION with DISTINCTROW UNION to bypass certain filters equaltolike.py Replaces all occurrences of operator equal ('=') with 'LIKE' counterpart equaltorlike.py Replaces all occurrences of operator equal ('=') with 'RLIKE' counterpart escapequotes.py Slash escapes quotes (' and ") in payload greatest.py Replaces greater than operator ('>') with 'GREATEST' counterpart halfversionedmorekeywords.py Adds MySQL versioned comment before each keyword hex2char.py Replaces each (MySQL) 0x encoded string with equivalent CHAR() counterpart hexentities.py HTML hex-encodes all non-alphanumeric characters htmlencode.py HTML-encodes all non-alphanumeric characters if2case.py Replaces instances like 'IF(A, B, C)' with 'CASE WHEN (A) THEN (B) ELSE (C) END' counterpart ifnull2casewhenisnull.py Replaces instances like 'IFNULL(A, B)' with 'CASE WHEN ISNULL(A) THEN (B) ELSE (A) END' counterpart ifnull2ifisnull.py Replaces instances like 'IFNULL(A, B)' with 'IF(ISNULL(A), B, A)' counterpart informationschemacomment.py Adds MySQL comment to INFORMATION_SCHEMA for bypassing certain filters least.py Replaces greater than operator ('>') with 'LEAST' counterpart lowercase.py Replaces each keyword character with lowercase value luanginx.py Bypasses LUA/Nginx web application firewall using specific encoding techniques luanginxmore.py Advanced bypassing for LUA/Nginx web application firewall with extended techniques misunion.py Replaces instances of UNION with /*!UNION*/ to bypass certain filters modsecurityversioned.py Embraces complete query with MySQL versioned comment to bypass ModSecurity WAF modsecurityzeroversioned.py Embraces complete query with MySQL zero-versioned comment to bypass ModSecurity WAF multiplespaces.py Adds multiple spaces around SQL keywords to bypass filters ord2ascii.py Replaces ORD(x) with ASCII(x) function calls overlongutf8.py Converts all characters in a given payload to overlong UTF8 (not processing already encoded) overlongutf8more.py Advanced overlong UTF8 encoding for bypassing additional security filters percentage.py Adds a percentage sign (%) in front of each character plus2concat.py Replaces plus operator ('+') with MsSQL function CONCAT() counterpart plus2fnconcat.py Replaces plus operator ('+') with MsSQL function fn_concat() counterpart randomcase.py Replaces each keyword character with random case value (e.g. SELECT -> SEleCt) randomcomments.py Adds random comments inside SQL keywords to bypass filters schemasplit.py Splits database schema and table names to bypass certain filters scientific.py Converts integer values to scientific notation (e.g. 1 -> 1e0) sleep2getlock.py Replaces instances of SLEEP with GET_LOCK for time-based injections sp_password.py Appends 'sp_password' to the end of payload to avoid logging in SQL Server space2comment.py Replaces space character (' ') with comments '/**/' space2dash.py Replaces space character (' ') with dash comments ('-- ') followed by random string and new line space2hash.py Replaces space character (' ') with hash character ('#') followed by random string and new line space2morecomment.py Replaces space character (' ') with comments '/**_**/' (with random underscore variations) space2morehash.py Replaces space character (' ') with hash character ('#') followed by random string and new line space2mssqlblank.py Replaces space character (' ') with random blank character from valid alternate character set for MSSQL space2mssqlhash.py Replaces space character (' ') with hash character ('#') followed by new line for MSSQL space2mysqlblank.py Replaces space character (' ') with random blank character from valid alternate character set for MySQL space2mysqldash.py Replaces space character (' ') with dash comments ('-- ') followed by new line for MySQL space2plus.py Replaces space character (' ') with plus sign ('+') for URL encoding space2randomblank.py Replaces space character (' ') with random blank character from valid alternate character set substring2leftright.py Replaces PostgreSQL SUBSTRING with LEFT and RIGHT functions symboliclogical.py Replaces AND and OR logical operators with symbolic equivalents (&& and ||) unionalltounion.py Replaces UNION ALL SELECT with UNION SELECT counterpart unmagicquotes.py Replaces quote character (') with multibyte combo %bf%27 (valid for GBK charset) uppercase.py Replaces each keyword character with uppercase value varnish.py Appends HTTP header 'X-originating-IP' for bypassing Varnish firewalls versionedkeywords.py Encloses each non-function keyword with MySQL versioned comment versionedmorekeywords.py Encloses each keyword with MySQL versioned comment (extended version) xforwardedfor.py Appends a fake HTTP header 'X-Forwarded-For' to bypass IP restrictions
VERBOSE LEVEL: -v 1
Web Proxy Viewer  |  New URL  |  Original Page