/usr/share/courier/webadmin/admin-cancel.pl is in courier-webadmin 0.68.2-1ubuntu3.
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 | #!/usr/bin/perl
#
#
# Copyright 2001 Double Precision, Inc. See COPYING for
# distribution information.
foreach (ReadConfigFiles())
{
unlink ("$sysconfdir/webadmin/added/$_",
"$sysconfdir/webadmin/removed/$_");
}
unlink("$sysconfdir/webadmin/subdirs-removed");
unlink("$sysconfdir/webadmin/subdirs-added");
unlink "$sysconfdir/webadmin/changed";
print $cgi->redirect( $cgi->url(-full=>1));
exit 0
|