diff --git a/core/main.pl b/core/main.pl index 7c5c57a..ece131e 100644 --- a/core/main.pl +++ b/core/main.pl @@ -16,7 +16,7 @@ if($@) { $can_https=0; } if ($can_https) { - $ua->ssl_opts( 'verify_hostname' => 0 ); + $ua->ssl_opts('SSL_verify_mode' => 0x00, 'verify_hostname' => 0 ); push @{ $ua->protocols_allowed }, 'https'; } else { print color("red"); @@ -113,4 +113,4 @@ sub fprint{ } print color("blue"); -print "Processing $target ...\n\n\n"; \ No newline at end of file +print "Processing $target ...\n\n\n";