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

I want to send my command. How to?



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 9999
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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