mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-10 02:01:57 +00:00
Fixes #1293
This commit is contained in:
parent
f488377001
commit
2080fcaa37
3 changed files with 18 additions and 2 deletions
|
|
@ -3285,7 +3285,7 @@ def expandMnemonics(mnemonics, parser, args):
|
|||
pointer = pointer.next[char]
|
||||
pointer.current.append(option)
|
||||
|
||||
for mnemonic in mnemonics.split(','):
|
||||
for mnemonic in (mnemonics or "").split(','):
|
||||
found = None
|
||||
name = mnemonic.split('=')[0].replace("-", "").strip()
|
||||
value = mnemonic.split('=')[1] if len(mnemonic.split('=')) > 1 else None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue