mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-25 12:01:37 +01:00
Added .strip()
This commit is contained in:
parent
823b622fb2
commit
8c23453c9f
@ -428,7 +428,7 @@ def main(argv):
|
|||||||
num = 0
|
num = 0
|
||||||
for cmd in config['command'].split(';'):
|
for cmd in config['command'].split(';'):
|
||||||
num += 1
|
num += 1
|
||||||
generate('custom-cmd{}'.format(num), cmd)
|
generate('custom-cmd{}'.format(num), cmd.strip())
|
||||||
else:
|
else:
|
||||||
generate('custom', config['command'])
|
generate('custom', config['command'])
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user