zardus / preeny

Some helpful preload libraries for pwning stuff.
BSD 2-Clause "Simplified" License
1.57k stars 170 forks source link

Socket Question #42

Open y1026 opened 6 years ago

y1026 commented 6 years ago

Hello,

I would like to receive console input using desock for a network program using udp.

I have entered commands, but the program has no response.

How can I solve the problem?

My command

LD_PRELOAD=desock.so ./test
The program runs but does not process console input.

Thanks.

zardus commented 6 years ago

I've never tested it with UDP, so nothing comes to mind immediately... It might be simpler to create a specialized desock_udp.so that just overrides sendto and recvfrom.