Results 1 to 5 of 5
  1. #1
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    758
    I know this is getting pretty hi tech but I was just wondering if anyone has a clue how to do this?

    Now I know you can do it with a cookie, that really isn't any good though, being that most people can find the cookie, delete it, then come back into the site.

    Anyone have any ideas or clues?

    Thanks [img]/infopop/emoticons/icon_biggrin.gif[/img]

  2. #2
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    ÄúsTrálíĺ
    Posts
    1,372
    hmmm. I don't know if you can do it through a .htaccess or a similar tactic..If you could then it should be pretty easy.

    The other way (which will work) is to output the page through perl or php.

    I use it on the tracking script I wrote to not track my IP..

    if ($userIP != "IP to ban") {
    print your page here;
    }
    else {
    go away;
    }

    You will need to use the environment variable (which I can't remember at the moment, but if you need it, I'll look it up) to get their IP.

    This will ban everyone from an IP, which may be a lot of people if you choose something like AOL..
    If it is an individual person from an IP, use a cookie also.

  3. #3
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    758
    Pete, Thanks! I get the picture.

    So let's say I want to go somewhere and cloak my IP address. Could I use the perl to print html output with a redirect to the page I want to go to undercover?

  4. #4
    Master of Design AlexBet's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,364
    The code to get the IP in ASP is like this:

    Request.ServerVariables ("REMOTE_ADDR")

    You know how to do the rest. I don't know CGI so sorry about that. Hope this helps in any way. [img]/infopop/emoticons/icon_smile.gif[/img]

  5. #5
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    ÄúsTrálíĺ
    Posts
    1,372
    There are few ways to cloak your IP.

    one is to use existing services
    try anonymizer for one, there are numerous others also.

    use PHP.
    <?php
    $cloaked = fopen("http://www.pagetoview/index.html", "r");
    fpassthru($cloaked);
    echo $cloaked; // I think you need this line. include it if fpassthru doesn't output the page.
    fclose $cloaked;
    ?>
    This will get your server to get the page, and output it to your browser.
    This is fine if they have banned your IP, but they can still record your server's IP, and ban that also. You will need to view each page this way (ie. no clicking on the links etc.)
    Unless you use a proxy server though, I think that all images will be loaded through your IP address, but don't quote me on that.

    You can do similar with Perl, but the only time I tried it, it was very slow (on my old host). I was using sockets to open the page & read it and modify it while going along.

  6. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Blocking Cookies?
    By Rhia7 in forum Midnight Cafe'
    Replies: 9
    Last Post: March 1st, 2013, 04:55 PM
  2. Yahoo blocking IP's?
    By kaizen in forum Search Engine Optimization
    Replies: 4
    Last Post: October 22nd, 2004, 01:57 PM
  3. XP SP II Blocking CJ Cookies?
    By microdot in forum Commission Junction - CJ
    Replies: 17
    Last Post: September 25th, 2004, 12:42 PM
  4. Live blocking of an IP address
    By garystarling in forum Midnight Cafe'
    Replies: 4
    Last Post: July 2nd, 2002, 09:44 AM
  5. gator and ad blocking
    By Thomas A. Rice in forum Suspicious Activity!
    Replies: 1
    Last Post: June 28th, 2002, 11:30 AM

Posting Permissions

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