Skip to content

Commit 0c2319d

Browse files
author
Ekultek
committed
fix for issue #1061
1 parent d5df08e commit 0c2319d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/exploitation/exploiter.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@ def start_exploit(self, sep="*" * 10):
123123

124124
if not skip:
125125
current_host_path = path.join(current_run_path, host.strip())
126-
makedirs(current_host_path)
126+
try:
127+
makedirs(current_host_path)
128+
except OSError:
129+
pass
127130

128131
for mod in self.mods:
129132
if not self.dry_run:

0 commit comments

Comments
 (0)