mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
minor fix to avoid cleanup() if web backdoor upload failed
This commit is contained in:
@@ -112,7 +112,7 @@ class Miscellaneous:
|
|||||||
and functions
|
and functions
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if web:
|
if web and self.webBackdoorFilePath:
|
||||||
logger.info("cleaning up the web files uploaded")
|
logger.info("cleaning up the web files uploaded")
|
||||||
|
|
||||||
self.delRemoteFile(self.webStagerFilePath)
|
self.delRemoteFile(self.webStagerFilePath)
|
||||||
|
|||||||
Reference in New Issue
Block a user