shadowbrokers-exploits/windows/Resources/Ep/Scripts/PSP/kl_settings_parser.pl

13 lines
229 B
Perl
Raw Normal View History

open(IN, "<$ARGV[0]") or die "Error: $!";
my @lines=<IN>;
close(IN);
foreach my $line (@lines)
{
$line =~ s/\x00//gi;
while($line =~ m/ServerAddress.*?(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/gi)
{
print "$1";
}
}