windows auditing
+ Reply to Thread
Results 1 to 15 of 25

Thread: gaining IP's through a myspace listener?

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    16

    gaining IP's through a myspace listener?

    okay,
    here's the deal.

    I know there is a method of gaining someone's IP by setting up a network listener set to port 80 (http) then directing someone to your IP, which will show the remote IP in the listener.

    what i was wondering was if it'd be possible (i'm pretty sure it is) to create a small HMTL script that would run on a myspace.com page (or any other page for that matter) that would record all remote IP connections made with that page then relay the log to an email address or an ftp account. (much like a remote keylogger)


    I am pretty good with HTML, but i'm not profecient[sic] enough to write this out myself. also, i think all javascript tags are 'blacklisted' and maybe some more HMTL tags aswell.

    -any and all replies welcomed
    ~GH0STce**

  2. #2
    Join Date
    Jan 2005
    Posts
    623
    GH0STce**

    This should not be a problem for you if the <embed> tag is allowed on myspace. If so this is how you can log all of your viewers IP addresses.

    *. Create a .php file on any server you have read write access to.
    2. Here is what the .PHP file can look like:
    Code:
    <?php
    $filename = 'myspace_iplog.txt';
    $ip = $_SERVER['REMOTE_ADDR'];
    
    if (is_writable($filename)) {
       if (!$handle = fopen($filename, 'a')) {
           exit;
       }
       if (fwrite($handle, $ip) === FALSE) {
           exit;
       }
       fclose($handle);
    } 
    
    ?>
    More info on fwrite can be viewed here: http://us2.php.net/fwrite
    *. On your myspace page include this html:
    Code:
     <embed src=yourpage.php width=* height=*></embed>
    4. Everytime someone views your page it will record their ip to the file myspace_iplog.txt on your server (this blank text file needs to be created before the script will work)

    Is this what you were looking for?
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  3. #3
    Join Date
    Jan 2005
    Posts
    623
    If you would like to recieve the IP addresses through email you can embed my page i created [url]http://www.boninroad.com/funny2.php?friend=YOUREMAIL[/url] and you will be emailed each users IP.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  4. #4
    Join Date
    Dec 2005
    Posts
    16
    yes, it's perfect.

    i have my own server to use for this, except when it logs the IP, it loges it three times over, with no spaces in between.

    i'm not great with php, and have only done a few things with it, but is there any way to seperate the IPs, say by one IP per line?

    and also, what about listing the DNS along with it, or am i better off just finding the DNS for the specific IPs already logged?

    -thanks

    EDIT:it doesn't actually log the IP three times, that's just the users web browser accessing different sections of myspace.com

    but it doesn't separate them, so if you could add that, it'd be appreciated!
    Last edited by GH0STce11; 12-19-2005 at 03:25 PM.

  5. #5
    Join Date
    Jan 2005
    Posts
    623
    Yeah no problem:

    Change this line:
    $ip = $_SERVER['REMOTE_ADDR'];

    to this:
    $ip = $_SERVER['REMOTE_ADDR'] . "\n";

    The \n should tell it to go to the next line of the file
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  6. #6
    Join Date
    Dec 2005
    Posts
    16
    thanks!

    that fixed the problem!


    EDIT:not to bother you any more, but is there a way you could add a line to exclude a certain IP (ie, my own)?
    that would be helpful, thanks

  7. #7
    Join Date
    Jul 2006
    Posts
    1

    Exclamation is this script still workin

    i was told the guys at myspace disabled this ...ive tried several times and nothing happend

  8. #8
    Join Date
    Nov 2006
    Posts
    2

    plugin ?

    hello, this script goes very well on my page. I have nevertheless a problem with firefox 2.0, it asks me to install a plugin (text/HTML) when I consult my page.

  9. #9
    Join Date
    Nov 2006
    Posts
    2

    Unhappy plugin // 2 // no solution?

    Hello?

    no solution for this problem?


+ Reply to Thread

Similar Threads

  1. Gaining Access to Private Forum
    By Wanttoknow in forum Internet Privacy
    Replies: 35
    Last Post: 03-18-2007, 04:02 PM
  2. is it possable to find out emails from ip's
    By laxdevil21 in forum Internet Privacy
    Replies: 4
    Last Post: 01-05-2007, 07:23 PM
  3. The help of ip's?
    By Alton in forum Internet Privacy
    Replies: 1
    Last Post: 10-24-2006, 03:56 AM
  4. Banning IP's from IP EMAILER
    By SyntaXmasteR in forum Internet Privacy
    Replies: 0
    Last Post: 05-25-2006, 06:23 PM
  5. IP's using netstat
    By n242n in forum Internet Privacy
    Replies: 3
    Last Post: 12-19-2005, 06:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts