Implemented --tamper for direct connection too (-d)

This commit is contained in:
Bernardo Damele 2010-10-31 14:22:32 +00:00
parent 27cea68bb8
commit 0ffffef088

View File

@ -42,6 +42,10 @@ class Agent:
elif query.startswith("; "):
query = query.replace("; ", "", 1)
if kb.tamperFunctions:
for function in kb.tamperFunctions:
query = function(query)
return query
def payload(self, place=None, parameter=None, value=None, newValue=None, negative=False, falseCond=False):