Packet Sniffing using Raw Sockets in Linux in C

后端 未结 3 2031
别那么骄傲
别那么骄傲 2020-12-29 17:14

I need to write a packet sniffer in Linux that detects HTTPS packet that are sent and save the url from the request. I found code for this in security-freak and ran it. This

3条回答
  •  醉酒成梦
    2020-12-29 17:18

    Why can't you use any library? Homework?

    It's hard to answer without having examples from your code, for example how you set sll_pkttype.

    The urlsnarf tool in the dnsiff suite could be worth a look.

提交回复
热议问题