We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b068997 commit 0b9b7a4Copy full SHA for 0b9b7a4
modules/exploits/linux/http/empire_skywalker.rb
@@ -286,6 +286,7 @@ def exploit
286
'uri' => normalize_uri(target_uri.path, datastore['STAGE_PATH']),
287
'headers' => {'user-agent' => datastore['AGENT']}
288
})
289
+ fail_with(Failure::Unknown, "Failed to communicate with STAGE2") unless res and res.code == 200
290
aes_decrypt(session_key, res.body)
291
292
log_path = "/var/lib/powershell-empire/empire/server/downloads/#{session_id}/agent.log"
0 commit comments