Formatting changes in the _manual_commands.txt file.
This commit is contained in:
parent
57540dfece
commit
2e2ee592e3
|
|
@ -361,15 +361,14 @@ async def scan_services(loop, semaphore, target):
|
||||||
file.writelines(e('[*] {service} on {protocol}/{port}\n\n'))
|
file.writelines(e('[*] {service} on {protocol}/{port}\n\n'))
|
||||||
heading = True
|
heading = True
|
||||||
description = service_scans_config[service_scan]['manual'][manual]['description']
|
description = service_scans_config[service_scan]['manual'][manual]['description']
|
||||||
file.writelines(e('[-] {description}\n\n'))
|
file.writelines(e('\t[-] {description}\n\n'))
|
||||||
if 'commands' in service_scans_config[service_scan]['manual'][manual]:
|
if 'commands' in service_scans_config[service_scan]['manual'][manual]:
|
||||||
if not heading:
|
if not heading:
|
||||||
file.writelines(e('[*] {service} on {protocol}/{port}\n\n'))
|
file.writelines(e('[*] {service} on {protocol}/{port}\n\n'))
|
||||||
heading = True
|
heading = True
|
||||||
for manual_command in service_scans_config[service_scan]['manual'][manual]['commands']:
|
for manual_command in service_scans_config[service_scan]['manual'][manual]['commands']:
|
||||||
manual_command = e(manual_command)
|
manual_command = e(manual_command)
|
||||||
file.writelines(e('{manual_command}\n'))
|
file.writelines('\t\t' + e('{manual_command}\n\n'))
|
||||||
file.writelines('\n')
|
|
||||||
if heading:
|
if heading:
|
||||||
file.writelines('\n')
|
file.writelines('\n')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue