From 9ed27f6cdacfdaae4142ac2586213faaf9069a5e Mon Sep 17 00:00:00 2001 From: Human1st <66437247+Human1st@users.noreply.github.com> Date: Sun, 21 Apr 2024 15:08:57 +0200 Subject: [PATCH] Update main.pl Add SSL_verify_mode to 0x00 to prevent tool not working because of expired certificate --- core/main.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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";