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

Skip to content

Commit 17e8abe

Browse files
committed
Removed useless call to urlencode()
1 parent c7b3745 commit 17e8abe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/generic/enumeration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ def tableExists(self, tableFile):
843843
for table in tables:
844844
query = agent.prefixQuery("%s" % safeStringFormat("AND EXISTS(SELECT 1 FROM %s)", table))
845845
query = agent.postfixQuery(query)
846-
result = Request.queryPage(urlencode(agent.payload(newValue=query)))
846+
result = Request.queryPage(agent.payload(newValue=query))
847847

848848
if result:
849849
infoMsg = "\r[%s] [INFO] retrieved: %s" % (time.strftime("%X"), table)

0 commit comments

Comments
 (0)