Passing the shell-command to RSH daemon inside an "ACK" packet.

Posted by Hippopotamus on Stack Overflow See other posts from Stack Overflow or by Hippopotamus
Published on 2010-03-31T22:23:23Z Indexed on 2010/03/31 22:43 UTC
Read the original article Hit count: 341

Filed under:
|
|
|

Hello. Writing a program on C, using libnet and libpcap to impersonate an RSH client and inject my own command on the server machine, running RSHD.

As I understood, the command should be in the 'payload' of the ACK packet, but in the format, that RSHD will pass it to the shell.

How should I assemble the packet to achieve this?

© Stack Overflow or respective owner

Related posts about c

    Related posts about libnet