Skip to content

Commit 5243140

Browse files
committed
minor fix to avoid cleanup() if web backdoor upload failed
1 parent e80e51e commit 5243140

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/generic/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def cleanup(self, onlyFileTbl=False, udfDict=None, web=False):
112112
and functions
113113
"""
114114

115-
if web:
115+
if web and self.webBackdoorFilePath:
116116
logger.info("cleaning up the web files uploaded")
117117

118118
self.delRemoteFile(self.webStagerFilePath)

0 commit comments

Comments
 (0)