Fix W293 warnings

This commit is contained in:
Shreya 2021-04-05 17:46:43 +05:30
parent 480f6ccc7f
commit 278326e4e4
2 changed files with 2 additions and 2 deletions

View File

@ -512,7 +512,7 @@ class WebRCE(HostExploiter):
:return: a vulnerable URL
"""
return self.vulnerable_urls[0]
def are_vulnerable_urls_sufficient(self):
"""
Determine whether the number of vulnerable URLs is sufficient in order to perform the full attack.

View File

@ -15,7 +15,7 @@ class ScheduleJobs(PBA):
super(ScheduleJobs, self).__init__(name=POST_BREACH_JOB_SCHEDULING,
linux_cmd=' '.join(linux_cmds),
windows_cmd=windows_cmds)
def run(self):
super(ScheduleJobs, self).run()
remove_scheduled_jobs()