mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
basic --search now works with MS Access
This commit is contained in:
parent
f2373121d0
commit
89c2640d23
3 changed files with 64 additions and 6 deletions
|
|
@ -1877,3 +1877,18 @@ def getInjectionTests():
|
|||
and test.details.dbms == dbms else True)
|
||||
|
||||
return retVal
|
||||
|
||||
def filterListValue(value, regex):
|
||||
"""
|
||||
Returns list with items that have parts
|
||||
satisfying given regular expression
|
||||
"""
|
||||
if regex:
|
||||
retVal = []
|
||||
filter = getCompiledRegex(regex, re.I)
|
||||
for word in value:
|
||||
if filter.search(word):
|
||||
retVal.append(word)
|
||||
return retVal
|
||||
else:
|
||||
return value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue