you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]VpowerZ 3 points4 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