forked from p15670423/monkey
Fix W293 warnings
This commit is contained in:
parent
480f6ccc7f
commit
278326e4e4
|
@ -512,7 +512,7 @@ class WebRCE(HostExploiter):
|
||||||
:return: a vulnerable URL
|
:return: a vulnerable URL
|
||||||
"""
|
"""
|
||||||
return self.vulnerable_urls[0]
|
return self.vulnerable_urls[0]
|
||||||
|
|
||||||
def are_vulnerable_urls_sufficient(self):
|
def are_vulnerable_urls_sufficient(self):
|
||||||
"""
|
"""
|
||||||
Determine whether the number of vulnerable URLs is sufficient in order to perform the full attack.
|
Determine whether the number of vulnerable URLs is sufficient in order to perform the full attack.
|
||||||
|
|
|
@ -15,7 +15,7 @@ class ScheduleJobs(PBA):
|
||||||
super(ScheduleJobs, self).__init__(name=POST_BREACH_JOB_SCHEDULING,
|
super(ScheduleJobs, self).__init__(name=POST_BREACH_JOB_SCHEDULING,
|
||||||
linux_cmd=' '.join(linux_cmds),
|
linux_cmd=' '.join(linux_cmds),
|
||||||
windows_cmd=windows_cmds)
|
windows_cmd=windows_cmds)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
super(ScheduleJobs, self).run()
|
super(ScheduleJobs, self).run()
|
||||||
remove_scheduled_jobs()
|
remove_scheduled_jobs()
|
||||||
|
|
Loading…
Reference in New Issue