Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by 12GaugeNick - ROBLOX
- -- Just a simple email thing
- -- If you get this working send me a PM telling me how.
- -- This was made in about 10 minutes
- -- HTML / PHP code
- <html>
- <!-- Made by 12GaugeNick, https://www.roblox.com/users/44831585/profile -->
- <!-- The code here is also meant as a PHP test API from ROBLOX.com (https://www.roblox.com) -->
- <?php
- // PHP password
- //if (isset($_REQUEST['key'])) {
- if ($_REQUEST['key'] == '00110001001100100011011000110111011010110110010101111001') {
- // PHP session login (Even though its a API)
- session_start();
- $_SESSION = array();
- // Session data
- $_SESSION['header'] = $_GET['header'];
- $_SESSION['email'] = $_GET['id'];
- $_SESSION['subject'] = $_GET['subject'];
- $_SESSION['message'] = wordwrap($_GET['message'], 70, "\r\n");
- // send email
- $response = mail($_SESSION['email'], $_SESSION['subject'], str_replace("\n.", "\n..", $_SESSON['message']), $_SESSION['header']);
- // Return response
- echo $response;
- // PHP session logout (Data security)
- session_destroy(); // Destroy any data from the session
- } else {
- echo 'Invalid access key!';
- };
- ?>
- </html>
- -- Lua code
- local host = ""
- local key = "00110001001100100011011000110111011010110110010101111001"
- local http = game:GetService("HttpService")
- local _GET = function(...) return http:GetAsync(...) end
- function send(email, subject, message, header)
- local url = host.."?key="..key.."&id="..email.."&subject="..subject.."&message="..message.."&header="..header
- warn(url)
- return _GET(url)
- end
- while wait(3) do
- local result = send("EMAIL REMOVED", "testing?", "hi", "From: ROBLOX")
- print(result)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement