!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/share/doc/libnet-imap-simple-perl/examples/   drwxr-xr-x
Free 712.01 GB of 879.6 GB (80.95%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     search-test.pl (1.67 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

use strict;

use Net::IMAP::Simple;
my $goog = login();

$goog->select("jet");

my @id1 = $goog->search(q(SUBJECT "rt.cpan.org #55177"));                                                 print "id1: @id1\n";
my @id2 = $goog->search(q(HEADER Message-ID "<[email protected]>")); print "id2: @id2\n";

$goog->put( jet => qq(from: jettero\@cpan.org\r\nMessage-ID: test-77\r\nsubject: test-77\r\n\r\ntest-77\r\n) );
$goog->put( jet => qq(from: jettero\@cpan.org\r\nMessage-ID: <test-77>\r\nsubject: <test-77>\r\n\r\n<test-77>\r\n) );
$goog->put( jet => qq(from: jettero\@cpan.org\r\nMessage-ID: <test-77\@hrm>\r\nsubject: <test-77\@hrm>\r\n\r\n<test-77\@hrm>\r\n) );

my @id3 = $goog->search(q(HEADER Message-ID "test-77"));       print "id3: @id3\n";
my @id4 = $goog->search(q(HEADER Message-ID "<test-77>"));     print "id4: @id4\n";
my @id5 = $goog->search(q(HEADER Message-ID "<test-77@hrm>")); print "id5: @id5\n";
my @id6 = $goog->search(q(SUBJECT "test-77"));                 print "id6: @id6\n";


# login {{{
sub login {
    my $arg = ""; $arg = ".$_[0]" if $_[0];
    my $fetchmailrc; { open my $in, "$ENV{HOME}/.fetchmailrc$arg" or die $!; local $/ = undef; $fetchmailrc = <$in>; close $in; }
    my $server = $1 if $fetchmailrc =~ m/server\s+(.+)/m;
    my $user   = $1 if $fetchmailrc =~ m/user\s+(.+)/m;
    my $pass   = $1 if $fetchmailrc =~ m/pass\s+(.+)/m;

    print "$server ";
    my $debug = 1;

    my $imap = Net::IMAP::Simple->new($server, debug=>$debug, use_ssl=>1) or die "connect failed: $Net::IMAP::Simple::errstr";
       $imap->login($user=>$pass) or die "login failed: " . $imap->errstr;

    print "[in] ";

    return $imap;
}
# }}}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0914 ]--