mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
added new option --space
This commit is contained in:
parent
327bfcbe97
commit
9cd5d3bde7
3 changed files with 22 additions and 12 deletions
|
|
@ -1404,3 +1404,9 @@ def longestCommonPrefix(*sequences):
|
|||
|
||||
def commonFinderOnly(initial, sequence):
|
||||
return longestCommonPrefix(*filter(lambda x: x.startswith(initial), sequence))
|
||||
|
||||
def replaceSpaces(query):
|
||||
if query:
|
||||
return query if conf.space is None else query.replace(' ', conf.space)
|
||||
else:
|
||||
return query
|
||||
Loading…
Add table
Add a link
Reference in a new issue