shell bypass 403

GrazzMean Shell

: /usr/share/doc/perl-Net-Pcap/eg/ [ drwxr-xr-x ]
Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.191.144.73
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : pktdump.pl
#!/usr/bin/perl
use strict;
use Getopt::Long qw(:config no_auto_abbrev);
use Net::Pcap qw(:functions);

$|=1;

my %options = (
    count   => 10, 
    promisc => 0, 
    snaplen => 68, 
);

GetOptions(\%options, qw{ count|c=i  interface|i=s  promisc|p!  snaplen|s=i  writeto|w=s }) 
    or die "usage: $0 [-c count] [-i interface] [-s snaplen] [-w file] [expression]\n";

my $err = '';
my $dev = $options{interface} || lookupdev(\$err);
my $pcap = open_live($dev, $options{snaplen}, !$options{promisc}, 5, \$err)
    or die "fatal: can't open network device $dev: $! (do you have the privileges?)\n";

my $dumper;
if ($options{writeto}) {
    $dumper = dump_open($pcap, $options{writeto}) 
        or die "fatal: can't write to file '$options{writeto}': $!\n";
}

loop($pcap, $options{count}, \&handle_packet, '');
pcap_close($pcap);


sub handle_packet {
    my ($user_data, $header, $packet) = @_;
    printf "packet: len=%s, caplen=%s, tv_sec=%s, tv_usec=%s\n", 
        map { $header->{$_} } qw(len caplen tv_sec tv_usec);
    pcap_dump($dumper, $header, $packet) if $options{writeto};
}

© 2025 GrazzMean