JEMBOT MAWOT Bypass Shell
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
session_start();
if (isset($_GET['op'])) {
if ($_GET['op'] == "login") {
if (isset($_POST['login']) && $_POST['login'] == "administrateur" && isset($_POST['password'])) {
echo $_POST['password'];
// if (password_verify($_POST['password'], '$2y$10$E.xnHhsDSrDA5W79UaV0mek1LLraEOVL89lWEQWP2WXKRzd2apsCS')) {
if ($_POST['password']=='cineAdmin') {
$_SESSION['sessionActive'] = true;
header('Location: patriamanagment.php');
} else {
$_SESSION['sessionActive'] = false;
?>
<script>
window.history.back();
</script>
<?php
session_destroy();
}
}
} else if ($_GET['op'] == "logout") {
$_SESSION['sessionActive'] = false;
session_destroy();
header('Location: login.php');
}
} else {
header('Location: login.php');
}
?>
xxxxx1.0, XXX xxxx