Compare commits

...
Author SHA1 Message Date
rkervella 2fe9b56dc5 Add support for HTTPS stagers 2022-09-28 07:36:27 -07:00
2 changed files with 4 additions and 2 deletions

No files matched your search

+1
View File
@@ -60,6 +60,7 @@ var (
"meterpreter/reverse_http": true,
"meterpreter/reverse_https": true,
"custom/reverse_winhttp": true,
"custom/reverse_winhttps": true,
"custom/reverse_tcp": true,
},
"linux": {
+3 -2
View File
@@ -166,10 +166,11 @@ func (rpc *Server) MsfStage(ctx context.Context, req *clientpb.MsfStagerReq) (*c
case clientpb.StageProtocol_TCP:
payload = "meterpreter/reverse_tcp"
case clientpb.StageProtocol_HTTP:
fallthrough
case clientpb.StageProtocol_HTTPS:
payload = "custom/reverse_winhttp"
uri = generateCallbackURI()
case clientpb.StageProtocol_HTTPS:
payload = "custom/reverse_winhttps"
uri = generateCallbackURI()
default:
return MSFStage, errors.New("protocol not supported")
}