mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
Implemented --tamper for direct connection too (-d)
This commit is contained in:
parent
27cea68bb8
commit
0ffffef088
|
@ -42,6 +42,10 @@ class Agent:
|
||||||
elif query.startswith("; "):
|
elif query.startswith("; "):
|
||||||
query = query.replace("; ", "", 1)
|
query = query.replace("; ", "", 1)
|
||||||
|
|
||||||
|
if kb.tamperFunctions:
|
||||||
|
for function in kb.tamperFunctions:
|
||||||
|
query = function(query)
|
||||||
|
|
||||||
return query
|
return query
|
||||||
|
|
||||||
def payload(self, place=None, parameter=None, value=None, newValue=None, negative=False, falseCond=False):
|
def payload(self, place=None, parameter=None, value=None, newValue=None, negative=False, falseCond=False):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user