/usr/share/octopussy/ajax_progress.asp is in octopussy 1.0.6-0ubuntu2.
This file is owned by root:root, with mode 0o644.
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 21 22 23 24 25 | <%
use Octopussy;
my $bin = $Request->QueryString("bin");
my $status = Octopussy::Status_Progress($bin, $Session->{progress_running});
if (($bin eq "octo_reporter") && ($status =~ /(.+)\[(\d+)\/(\d+)\]/))
{
($Session->{progress_desc}, $Session->{progress_current},
$Session->{progress_total}) = ($1, $2, $3);
}
elsif (($bin eq "octo_extractor") && ($status =~ /.+\[(\d+)\/(\d+)\] \[(\d+)\]$/))
{
($Session->{progress_desc}, $Session->{progress_current},
$Session->{progress_total}, $Session->{progress_match})
= ("extracting", $1, $2, $3);
}
%>
<?xml version='1.0' encoding='UTF-8'?>
<root>
<desc><%= (NOT_NULL($status) ? $Session->{progress_desc} : "...") %></desc>
<current><%= $Session->{progress_current} %></current>
<total><%= $Session->{progress_total} %></total>
<match><%= $Session->{progress_match} %></match>
</root>
|