Phishing.

Advanced Member
Joined
January 1, 2025
Messages
142
Reaction score
20
Points
18
I'm looking for advice on recent programming language to develop phishing pages, if it's still php, I would be glad if someone can assist me with a script to send form field data to email address, thanks.
 
Member
Joined
April 9, 2025
Messages
39
Reaction score
6
Points
8
you can reach out to crackanz through telegram
Vibing Red Alert GIF by Vibeheads
 
Member
Joined
April 9, 2025
Messages
39
Reaction score
6
Points
8
I'm looking for advice on recent programming language to develop phishing pages, if it's still php, I would be glad if someone can assist me with a script to send form field data to email address, thanks.
you'll need a mail server to send the mail through if you actually want it to hit your inbox, I'd recommend looking into using a discord webhook, telegram bot, or even an app like Push Over to send yourself the details instead of using email.
 
Advanced Member
Joined
January 1, 2025
Messages
142
Reaction score
20
Points
18
I appreciate the responses, but all I am in need of is details if php still works and if yes, if anyone can assist me with a script. #noflamin
 
Member
Joined
April 9, 2025
Messages
39
Reaction score
6
Points
8
I appreciate the responses, but all I am in need of is details if php still works and if yes, if anyone can assist me with a script. #noflamin
Yes, php is still a corner stone of web technology and isn't going anywhere any time soon. Although, like a cat, there are many way you could skin this. It really just depends on where/how you are hosting your phishing site.

To help you with built a specific php script for your direct needs I'd need the IDs of each field in your html form. In the example code below, the three text fields of which their IDs are first_name, last_name, and email are submitted to a php script called submit.php which takes the POST request, grabs those three IDs and saves them to a text file called data.txt, but as I mentioned before, you could send that data to a discord webhook, telegram bot, or any number of APIs to do whatever you want with it.
 
Reason: typo
Member
Joined
April 9, 2025
Messages
39
Reaction score
6
Points
8
Had to break my reply into two posts as it was "too long" and wouldn't let me post it.

This is a rough example. If you have specific questions or need further help, let me know.

example html:
HTML:
    <form action="submit.php" method="post">
        <label for="first_name">First Name:</label><br>
        <input type="text" id="first_name" name="first_name" required><br><br>

        <label for="last_name">Last Name:</label><br>
        <input type="text" id="last_name" name="last_name" required><br><br>

        <label for="email">Email:</label><br>
        <input type="email" id="email" name="email" required><br><br>

        <input type="submit" value="Submit">
    </form>

example submit.php:
PHP:
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $first_name = htmlspecialchars(trim($_POST['first_name']));
    $last_name = htmlspecialchars(trim($_POST['last_name']));
    $email = htmlspecialchars(trim($_POST['email']));

    $data = "First Name: $first_name, Last Name: $last_name, Email: $email\n";

    // Path to the text file where data will be stored
    $file_path = "data.txt";

    // Write the data to the text file
    if (file_put_contents($file_path, $data, FILE_APPEND)) {
        echo "Data submitted successfully!";
    } else {
        echo "Error writing to file!";
    }
} else {
    echo "Invalid request method.";
}
?>
 
Advanced Member
Joined
January 1, 2025
Messages
142
Reaction score
20
Points
18
Had to break my reply into two posts as it was "too long" and wouldn't let me post it.

This is a rough example. If you have specific questions or need further help, let me know.

example html:
HTML:
    <form action="submit.php" method="post">
        <label for="first_name">First Name:</label><br>
        <input type="text" id="first_name" name="first_name" required><br><br>

        <label for="last_name">Last Name:</label><br>
        <input type="text" id="last_name" name="last_name" required><br><br>

        <label for="email">Email:</label><br>
        <input type="email" id="email" name="email" required><br><br>

        <input type="submit" value="Submit">
    </form>

example submit.php:
PHP:
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $first_name = htmlspecialchars(trim($_POST['first_name']));
    $last_name = htmlspecialchars(trim($_POST['last_name']));
    $email = htmlspecialchars(trim($_POST['email']));

    $data = "First Name: $first_name, Last Name: $last_name, Email: $email\n";

    // Path to the text file where data will be stored
    $file_path = "data.txt";

    // Write the data to the text file
    if (file_put_contents($file_path, $data, FILE_APPEND)) {
        echo "Data submitted successfully!";
    } else {
        echo "Error writing to file!";
    }
} else {
    echo "Invalid request method.";
}
?>
Thanks.
 
  • Tags
    phishing
  • Top