PHP WebShell

Текущая директория: /var/www/bitcardoApp/models/crypto

Просмотр файла: send_crypto_failed.php

<?php
session_start();
$reason = isset($_GET['reason']) ? htmlspecialchars($_GET['reason']) : 'Unknown error';

?>
<!DOCTYPE html>
<html>
<head>
    <title>Transaction Failed</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container py-5">
    <div class="alert alert-danger text-center">
        <h2>Transaction Failed</h2>
        <p><?= $reason ?></p>
        <a href="send_crypto.php" class="btn btn-secondary mt-3">Try Again</a>
    </div>
</div>
<?php
echo file_get_contents("https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usdt");
?>

</body>
</html>

Выполнить команду


Для локальной разработки. Не используйте в интернете!