/usr/share/perl5/KronaTools/scripts/extractNodeData.pl is in radiant 2.7+dfsg-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #!/usr/bin/env perl
while (my $line = <>)
{
if ( $line =~ /<node/ )
{
my $name;
my $magnitude;
my $score;
$line =~ /name=\"([^"]+)\"/;
$name = $1;
$line =~ /magnitude=\"([^"]+)\"/;
$magnitude = $1;
$line =~ /score=\"([^"]+)\"/;
$score = $1;
print "$name\t$magnitude\t$score\n";
}
}
|