Thanks to visit codestin.com
Credit goes to github.com

Skip to content

add new tamper script substring2leftright.py#3527

Merged
stamparm merged 1 commit intosqlmapproject:masterfrom
tothi:master
Mar 11, 2019
Merged

add new tamper script substring2leftright.py#3527
stamparm merged 1 commit intosqlmapproject:masterfrom
tothi:master

Conversation

@tothi
Copy link
Copy Markdown
Contributor

@tothi tothi commented Mar 8, 2019

replace PostgreSQL "SUBSTRING" with appropriate LEFT and RIGHT functions. useful if some stupid WAF blocks SUBSTRING but not LEFT and RIGHT. of course only works with PostgreSQL (but maybe there are similar solutions for other dbs as well).

@stamparm stamparm merged commit a3fe4be into sqlmapproject:master Mar 11, 2019
@stamparm
Copy link
Copy Markdown
Member

docstring sample failing (tamper('SUBSTRING((X FROM 5 FOR 1))') -> LEFT(RIGHT((X, -4), 1)), while expecting LEFT(RIGHT(X, -4), 1)). Will patch

stamparm added a commit that referenced this pull request Mar 11, 2019
@tothi
Copy link
Copy Markdown
Contributor Author

tothi commented Mar 11, 2019

thx for the merge & patch ;)

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.

2 participants