mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2026-10-29 04:21:25 +01:00
Added .strip()
This commit is contained in:
1 parent
823b622fb2
commit
8c23453c9f
1 file changed
+1
-1
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user