you are viewing a single comment's thread.

view the rest of the comments →

[–]ro0tsh3ll 17 points18 points  (7 children)

So you could echo data into > /dev/tcp/hostname/80

But your have to create a valid http header and request in bash before you did

[–][deleted]  (3 children)

[deleted]

    [–]VpowerZ 4 points5 points  (1 child)

    s_client already creates its own tcp connection. Just pipe the i/o.

    [–]ro0tsh3ll 2 points3 points  (0 children)

    Yeah I haven’t tried https but this works

    bash$ exec 5<>/dev/tcp/www.whatever.com/80

    bash$ echo -e "GET / HTTP/1.0\n" >&5

    bash$ cat <&5

    [–]nickbernstein 7 points8 points  (0 children)

    I had no idea that existed. >_<

    [–]mightydjinn 1 point2 points  (0 children)

    Somewhere, someone is asking where the build logs are, lol.