From 017374be7156e4ccc410b075ed1b054cf2fa9fe6 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 10 Dec 2017 02:38:46 -0600 Subject: [PATCH] pass lhost/lport back into generate_stage with reverse_http/s --- lib/msf/core/handler/reverse_http.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/msf/core/handler/reverse_http.rb b/lib/msf/core/handler/reverse_http.rb index 025e127608..c51a79de4e 100644 --- a/lib/msf/core/handler/reverse_http.rb +++ b/lib/msf/core/handler/reverse_http.rb @@ -369,6 +369,8 @@ protected blob = self.generate_stage( url: url, uuid: uuid, + lhost: uri.host, + lport: uri.port, uri: conn_id )