Add 'verify_ssl' option to social engineering config

This commit is contained in:
Brendan Coles
2015-06-28 08:53:23 +00:00
parent 694ec61a02
commit 916828e131
4 changed files with 15 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ class TC_SocialEngineeringRest < Test::Unit::TestCase
json = {:url => url, :mount => mount, :dns_spoof => dns_spoof}.to_json
domain = url.gsub(%r{^http://}, '')
domain = url.gsub(%r{^https?://}, '')
response = RestClient.post("#{RESTAPI_SENG}/clone_page?token=#{@@token}",
json,