Sinisterly
Get friend's IP easily and innocently :P - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Social Engineering (https://sinister.li/Forum-Social-Engineering)
+--- Thread: Get friend's IP easily and innocently :P (/Thread-Get-friend-s-IP-easily-and-innocently-P)



Get friend's IP easily and innocently :P - Madderc - 04-15-2013

Just though about making this after playing a round of TF2 with @1llusion

It's simple, just make a game server xD

People will join and you will get a log "Client "1llusion" connected (ha! not gonna tell you the IP ._. but it should be here Biggrin)."

That on Valve servers but any servers you make should do that as well.

Now I wait to see the reactions which I think will mostly be negative because seriously, couldn't get any more basic than this.

But oh well, maybe it will help someone xD

Still think SE was the best place to put this though, because it isn't really a tutorial.


RE: Get friend's IP easily and innocently :P - virusreloaded - 05-02-2013


PHP Script for gathering IP Address, Date-Time, and Page viewed.

Quote:

x----------------------------x------------------------------x---------------------------x-------------------------x

<?php
$ip = $_SERVER['REMOTE_ADDR'];
$page = $_SERVER['REQUEST_URI'];
$datetime = date("d-m-y / H:iConfused");
$writedata = $datetime . " - " . $ip . " - " . $page . "<br />";
$fopen = fopen("log.txt", "a");
fwrite($fopen, $writedata);
fclose($fopen);
?>

x----------------------------x------------------------------x---------------------------x-------------------------x

Hope this worked for you ! (Those who need this script) Smile
You can this script to any html page and rename it to .php. this will work fine and create a .TXT file on webserver containing the data collected while processing page.