Sindbad~EG File Manager

Current Path : /proc/thread-self/root/opt/cpanel/ea-nodejs20/
Upload File :
Current File : //proc/thread-self/root/opt/cpanel/ea-nodejs20/remove_pwsh.pl

use strict;
use warnings;

my @files = split (/\n/, `find . -type f -print`);

foreach my $file (@files) {
    my $first_line = `head -n 1 $file`;
    if ($first_line =~ m/env\s+pwsh/) {
        print "Removing file $file\n";
        unlink $file;
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists