Update code to handle cert validation properly

This code contains duplication from HD's PR. Once his has been landed
this code can be fixed up a bit so that duplication is removed.
This commit is contained in:
OJ
2015-03-17 14:41:00 +10:00
parent 7ca91b2eb5
commit 7b4161bdb4
4 changed files with 112 additions and 3 deletions
+2 -1
View File
@@ -43,7 +43,8 @@ module ReverseHttps
register_advanced_options(
[
OptPath.new('HandlerSSLCert', [false, "Path to a SSL certificate in unified PEM format"])
OptPath.new('HandlerSSLCert', [false, "Path to a SSL certificate in unified PEM format"]),
OptBool.new('StagerVerifySSLCert', [false, "Whether to verify the SSL certificate in Meterpreter"])
], Msf::Handler::ReverseHttps)
end