How to hijack all local http request and extract the url using c?

后端 未结 4 1650
无人共我
无人共我 2020-12-05 16:52

What direction should I go in(libraries, documents)?

UPDATE

Can someone illustrate how to use winpcap to do the job?

4条回答
  •  青春惊慌失措
    2020-12-05 17:12

    You may want to look at the source code of tcpdump to see how it works. tcpdump is a Linux command-line utility that monitors and prints network activity. You need root access to the machine to use it, though.

提交回复
热议问题