From 5823f3ef181fe1e4d18282ed3dc21b434396c94f Mon Sep 17 00:00:00 2001 From: hackwin Date: Tue, 15 Jul 2025 17:30:54 -0400 Subject: [PATCH] chore: update user agent --- zap2xml.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zap2xml.pl b/zap2xml.pl index 556337c..659c14a 100755 --- a/zap2xml.pl +++ b/zap2xml.pl @@ -909,7 +909,7 @@ sub login { $ua->conn_cache(LWP::ConnCache->new( total_capacity => undef )); $ua->cookie_jar(HTTP::Cookies->new); $ua->proxy(['http', 'https'], $proxy) if defined($proxy); - $ua->agent('Mozilla/4.0'); + $ua->agent('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36'); $ua->default_headers->push_header('Accept-Encoding' => 'gzip, deflate'); }