Sunda Cyber Army


* Sunda Cyber Army 2k17 *
Indonesia Defacer ~


Path : /proc/self/cwd/
File Upload :
Current File : //proc/self/cwd/feedback_form.php

<?php

print_r($_REQUEST);
if(empty($_REQUEST["username"])) {
    echo "displaying form....";
} else {


    $to = "dent@usc.edu";
    $subject = "Site feedback: " . $_REQUEST["usersubject"];
    $message = $_REQUEST["userfeedback"];

    $test = mail($to, $subject, $message);

    echo "email server repsonse:" . $test;


    echo "<hr>Thank you. Your feedback was saved.";

    exit(); // really not exit, but show "thank you" page
}
/*
    EMAILS:
    Subject line
    To/recipient: (CC, BCC)
    From
    Replay-To:
    Body of email
*/
/*
 *
 $test = mail("test-szbnz15vt@srv1.mail-tester.com",
    "greetings",
    "Hi student", );

echo "server said " . $test;
*/
?>


<html>
<head>
    <title>Site Feedback Form</title>
</head>
<style>
    body {
        background-color: steelblue;
    }
    #container {
        background-color: lightsteelblue;
        width: 400px;
        margin: auto;
        padding: 20px;
        border-radius: 10px;
    }

    h1 {
        color: darksteelblue;
        margin-top: 0;
        font-style: italic;
        text-align: center;
    }
    h2 {
    //    text-align: center;
        color: white;
        font-weight: bold;
    }

    hr {
        border-color: steelblue;
    }
    input {
        width: 100%;
    }

    textarea {
        width: 100%;
        height: 90px;
    }
    input[type='submit'] {
        padding: 5px;
        border-radius: 5px;
        color: white;
        background-color: steelblue;
    }

    input[type='submit']:hover {
        background-color: rebeccapurple;
    }
</style>
<body>
<div id="container">

    <h1>Site Feedback Form</h1>

    <h2>Please fill out the form below
        to send an  email to our webmaster</h2>
    <hr/>
    <form action="" method="get">
        Name:<br>
        <input type="text" name="username"/>
        <br/><br>
        Email:<br>
        <input type="text" name="useremail"/>
        <br/><br>
        Subject:<br>
        <input type="text" name="usersubject"/>
        <br/><br>
        Feedback:<br>
        <textarea name="userfeedback"></textarea>
        <br/><br>
        <input type="submit" value="Send Email"/>
    </form>
</div> <!-- close container -->
</body>
</html>