Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I want to send my command to destination server.

I am using hping3. And;

hping3 -p 9999(running daemon and commands executing on this server) -S 127.0.0.1

I want to send my command. How to?

share|improve this question

1 Answer 1

Hping3

Hping3 doesn't work on layers above layer 4. If your daemon digs through packets, then you need to use -E to fill the TCP data. (You then use -u to end the communication.) But, I'm not sure you can use hping3 to make a connection to a service on a port in the way you describe.

hping3 man page

Connecting Alternatives

It almost looks like you want to use netcat, or sbd, which can send commands.

nc 127.0.0.1 9999
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.