PHP-HTTP-Tunnel

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tarapia Tapioco

    PHP-HTTP-Tunnel

    Are there some existing PHP-HTTP-Tunnels?

    The problem I have: On the computer where I sit it is only possible to
    access Intranet. But it's also possible to install a PHP-Script there
    on a computer that has access to the whole internet.

    So I wonder if it is possible to upload some PHP site with which I can
    acess the whole internet (or let's say WWW) - if possible also Webmail
    with posting data etc.

    Other possibility would be to use some kind of HTTP-Tunnel which is
    able to connect via PHP. In this case I would only need a PHP that
    simply sends and receives the data, the HTTP-Tunnel connects to my
    computer via the intranet-computer where the php is uploaded.

    It something of this possible?

  • Dank

    #2
    Re: PHP-HTTP-Tunnel

    On Tue, 25 May 2004 01:02:13 +0200 (CEST), Tarapia Tapioco
    <comesefosse@nt ani.firenze.lin ux.it> wrote:
    [color=blue]
    > Are there some existing PHP-HTTP-Tunnels?
    >
    > The problem I have: On the computer where I sit it is only possible to
    > access Intranet. But it's also possible to install a PHP-Script there
    > on a computer that has access to the whole internet.
    >
    > So I wonder if it is possible to upload some PHP site with which I can
    > acess the whole internet (or let's say WWW) - if possible also Webmail
    > with posting data etc.
    >
    > Other possibility would be to use some kind of HTTP-Tunnel which is
    > able to connect via PHP. In this case I would only need a PHP that
    > simply sends and receives the data, the HTTP-Tunnel connects to my
    > computer via the intranet-computer where the php is uploaded.
    >
    > It something of this possible?
    >[/color]
    It's possible, heres a little example

    <?php
    echo stripslashes(fi le_get_contents ($_GET["url"]));
    ?>

    to use:


    It'll only fetch the text, but hey, it's only a line of code :)
    have a look at: http://www.jmarshall.com/tools/cgiproxy/ and see if that
    works on your server, CGI based.

    I think fsocksopen() might be worth a look too, anyway sounds an
    interesting project, have fun :]

    Dank.


    --
    If we can't play God, who will?

    Comment

    • R. Rajesh Jeba Anbiah

      #3
      Re: PHP-HTTP-Tunnel

      Tarapia Tapioco <comesefosse@nt ani.firenze.lin ux.it> wrote in message news:<e3a6f616f f154e9dfb278a9c 3ef67895@firenz e.linux.it>...[color=blue]
      > Are there some existing PHP-HTTP-Tunnels?[/color]

      <snip>

      Did a Google search and found some
      <http://www.google.com/search?q=php+ht tptunnel>
      <http://www.evilwalrus. com/viewcode.php?co deEx=467>

      --
      | Just another PHP saint |
      Email: rrjanbiah-at-Y!com

      Comment

      • Tarapia Tapioco

        #4
        Re: PHP-HTTP-Tunnel

        In article <abc4d8b8.04052 90050.33b33ce3@ posting.google. com>
        [color=blue][color=green]
        > > Are there some existing PHP-HTTP-Tunnels?[/color]
        >
        > <snip>
        >
        > Did a Google search and found some
        > <http://www.google.com/search?q=php+ht tptunnel>[/color]

        This doesnt' seem to work via a PHP site, you have to connect to the
        server directly.
        [color=blue]
        > <http://www.evilwalrus. com/viewcode.php?co deEx=467>[/color]

        You mean this is the PHP I can put on the server so that it works?

        Comment

        • R. Rajesh Jeba Anbiah

          #5
          Re: PHP-HTTP-Tunnel

          Tarapia Tapioco <comesefosse@nt ani.firenze.lin ux.it> wrote in message news:<104e374e5 726aea70835b4df ed2797e4@firenz e.linux.it>...[color=blue]
          > In article <abc4d8b8.04052 90050.33b33ce3@ posting.google. com>
          >[color=green][color=darkred]
          > > > Are there some existing PHP-HTTP-Tunnels?[/color][/color][/color]

          [...]
          [color=blue][color=green]
          > > <http://www.evilwalrus. com/viewcode.php?co deEx=467>[/color]
          >
          > You mean this is the PHP I can put on the server so that it works?[/color]

          I didn't do much with HTTP-Tunnels and don't know more about that.
          Anyway, the code seems to the one you're looking for. For your
          question, yes it seems so.

          --
          | Just another PHP saint |
          Email: rrjanbiah-at-Y!com

          Comment

          Working...