Skip to content

Commit b956285

Browse files
authored
Update zap2xml.pl
Work around block for user agent "Mozilla/4.0" From 6/17/2025 onwards
1 parent 6755792 commit b956285

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zap2xml.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ sub login {
909909
$ua->conn_cache(LWP::ConnCache->new( total_capacity => undef ));
910910
$ua->cookie_jar(HTTP::Cookies->new);
911911
$ua->proxy(['http', 'https'], $proxy) if defined($proxy);
912-
$ua->agent('Mozilla/4.0');
912+
$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');
913913
$ua->default_headers->push_header('Accept-Encoding' => 'gzip, deflate');
914914
}
915915

0 commit comments

Comments
 (0)