http webrequest interception

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #16
    Well the hosts file is frequently locked to keep just such programs as you are trying to write from tampering with it.
    You continue to teeter over the line of usefull program into a program that is designed to hijack and tamper with a users computer.
    If this is what you wish to accomplish, you will need to look elsewhere for help, as we do not provide that type of information.
    MODERATOR

    Comment

    • Kevinyy
      New Member
      • Jul 2008
      • 77

      #17
      Originally posted by Plater
      Well the hosts file is frequently locked to keep just such programs as you are trying to write from tampering with it.
      You continue to teeter over the line of usefull program into a program that is designed to hijack and tamper with a users computer.
      If this is what you wish to accomplish, you will need to look elsewhere for help, as we do not provide that type of information.
      MODERATOR
      What im doing is writing a program that will bypass word based blockage at school. The students will have to run the program themselves. ive already bypassed it via host file, but i want to do it automated for other students, and to change the host file you have to open it and save it elsewhere the copy it back. im not changing the ip that i get from their webrequest, just changing the worded URL that is being used, the ip will still direct to the place they wanted.
      for example, to do this manually you would have to ping www.youtube.com - and then get the ip: 208.65.153.238, then i would go into the host file and add to the bottom 208.65.153.238 www.schoolisawesome.com. Then when i type www.schoolisawesome.com into the web browser i would be going to youtube.com and therefore bypassing the word based block.
      I am not at all trying or even attempting to direct them to malicious or harmful places.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #18
        Why not just type in http://208.65.153.238/ ?
        And what you propose won't function on shared hosts. Some server farms rely on the Host: header to determine which web application to serve up. (i.e. multiple websites/domain names are hosted by the same server/ip address, so the web request header has to contain the host: header or it will reject it)

        Comment

        • Curtis Rutland
          Recognized Expert Specialist
          • Apr 2008
          • 3264

          #19
          I figured that this is what you were wanting to do back from your first question, how to make a client side proxy . I understand that your intent is not malicious, but subverting a school's internet filter is too close to a discussion of hacking. This is not allowed on this forum. Please abstain from any discussion of subverting security measures on this site.

          This thread is now closed.

          MODERATOR

          Comment

          Working...