403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/certificate/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www//certificate/crypto_tool.php
<?php
require 'db.php';
require 'layout.php';

$result_text = '';
if($_SERVER['REQUEST_METHOD'] == 'POST') {
    $text = $_POST['input_text'];
    if($_POST['action'] == 'encrypt') {
        $result_text = encryptData($text);
    } else {
        $result_text = decryptData($text);
    }
}
renderHeader("เครื่องมือเข้ารหัส/ถอดรหัสรหัสผ่าน");
?>
<div class="row justify-content-center mt-5">
    <div class="col-md-6">
        <div class="card p-4">
            <h4 class="text-center text-primary mb-4"><i class="fas fa-user-shield"></i> เครื่องมือจัดการรหัสผ่าน</h4>
            <form method="post">
                <div class="mb-3">
                    <label>ข้อความ / รหัสผ่าน:</label>
                    <input type="text" name="input_text" class="form-control form-control-lg" required value="<?php echo isset($_POST['input_text']) ? htmlspecialchars($_POST['input_text']) : ''; ?>">
                </div>
                <div class="d-flex gap-2 mb-4">
                    <button type="submit" name="action" value="encrypt" class="btn btn-success w-50"><i class="fas fa-lock"></i> เข้ารหัส (Encrypt)</button>
                    <button type="submit" name="action" value="decrypt" class="btn btn-danger w-50"><i class="fas fa-unlock"></i> ถอดรหัส (Decrypt)</button>
                </div>
                <?php if($result_text != ''): ?>
                <div class="alert alert-info text-break">
                    <strong>ผลลัพธ์:</strong> <br> <?php echo htmlspecialchars($result_text); ?>
                </div>
                <?php endif; ?>
            </form>
        </div>
    </div>
</div>
<?php renderFooter(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit