Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Phishing Pages

Can a phishing page be used to log IP addresses in addition to collecting submitted information?
You're posting in the incorrect section if you're asking about Phishing pages, if you're interested you can look here: Beginner Hacking

However if you've been logged by a Phishing page, they will most likely have IP addresses and all passwords you've typed in.
Thank you. That's where I started posting.
The writer of the earlier post is extremely sorry for his rude behiavior
Yes, this can be easily done with a single lines of php code.

Hey there,
If I have helped you or if you just enjoy my posts, please consider donating bitcoin to me 1DpL2kcxuidEsjt2MMN2AYufcVoXbi3v2X

[Image: FtwuQgr.gif]
PHP Code

<?php
function getUserIpAddr(){
    if(!empty(
$_SERVER['HTTP_CLIENT_IP'])){
        
//ip from share internet
        
$ip = $_SERVER['HTTP_CLIENT_IP'];
    }elseif(!empty(
$_SERVER['HTTP_X_FORWARDED_FOR'])){
        
//ip pass from proxy
        
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
    }else{
        
$ip = $_SERVER['REMOTE_ADDR'];
    }
    return 
$ip;
}

echo 
'User Real IP - '.getUserIpAddr();
?>

You can get the ip with this more complex function or with the single line.
(Oct 3, 2019 12:02 PM)Ramb0x Wrote:  
PHP Code

<?php
function getUserIpAddr(){
 
   if(!empty($_SERVER['HTTP_CLIENT_IP'])){
 
       //ip from share internet
 
       $ip = $_SERVER['HTTP_CLIENT_IP'];
 
   }elseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){
 
       //ip pass from proxy
 
       $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
 
   }else{
 
       $ip = $_SERVER['REMOTE_ADDR'];
 
   }
 
   return $ip;
}

echo 
'User Real IP - '.getUserIpAddr();
?>

You can get the ip with this more complex function or with the single line.

Wow, I didn't think it was so simple. I'm still trying to learn the syntax for C.
(Oct 3, 2019 04:33 PM)Pulpmis Wrote:  Wow, I didn't think it was so simple. I'm still trying to learn the syntax for C.

That is more complex than needed........


You can get an IP just by an image hosted on a webserver. no need to code anything that is overkill.
Hello mates where is the best vps host to use in hosting stmp server
(Oct 4, 2019 10:53 AM)is_nimda Wrote:  That is more complex than needed........


You can get an IP just by an image hosted on a webserver. no need to code anything that is overkill.

No country can win over Russia


Possibly Related Threads...
Thread / Author Replies Views Last Post
by JulienLaRochMar 18, 2026 12:44 PM 13 520 Mar 18, 2026 12:44 PM
Last Post: Dotexe
by luucyJan 17, 2020 06:42 AM 5 446 Jan 17, 2020 06:42 AM
Last Post: ondrun