FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(tamper): add space2tab tamper script for WAF bypass via tab substitution by Char0n1507 · Pull Request #6088 · sqlmapproject/sqlmap · GitHub

feat(tamper): add space2tab tamper script for WAF bypass via tab substitution - #6088

Open
Char0n1507 wants to merge 1 commit into
sqlmapproject:masterfrom
Char0n1507:add/space2tab-tamper
Open

feat(tamper): add space2tab tamper script for WAF bypass via tab substitution#6088
Char0n1507 wants to merge 1 commit into
sqlmapproject:masterfrom
Char0n1507:add/space2tab-tamper

Conversation

Copy link
Copy Markdown

Summary

Adds a new tamper script space2tab.py that replaces space characters
with tab characters (\t / %09).

Use Case

Some WAFs block %20 (URL-encoded space) but allow %09 (URL-encoded tab),
which is valid whitespace in MySQL, MSSQL, PostgreSQL, Oracle and SQLite.

Behaviour

  • Spaces outside string literals are replaced with \t
  • Spaces inside single/double quoted strings are preserved
  • None/empty payloads are returned as-is

Tests

tamper('SELECT id FROM users') -> 'SELECT\tid\tFROM\tusers'
tamper('1 AND 1=1') -> '1\tAND\t1=1'
tamper("WHERE name='John Doe'") -> "WHERE\tname='John Doe'"
tamper(None) -> None

…titution

Adds a new tamper script that replaces space characters with tab
characters (tab / %09). Useful against WAFs that block %20 (URL-encoded
space) but allow %09 (URL-encoded tab), which is valid SQL whitespace
across MySQL, MSSQL, PostgreSQL, Oracle, and SQLite.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL