开发者

How is FireSheep able to open devices in promiscuous mode?

开发者 https://www.devze.com 2023-03-01 04:08 出处:网络
FireSheep is able to use pcap in promiscuous mode to listen to other computers on the network.But promiscous mode requires root privileges, or at least access to /dev/bpf* on *nix machines.How is this

FireSheep is able to use pcap in promiscuous mode to listen to other computers on the network. But promiscous mode requires root privileges, or at least access to /dev/bpf* on *nix machines. How is this done? Do Firefox extensi开发者_如何学编程ons run with root privs?


It has run_privileged methods which run the required operations as root using OS-specific mechanisms such as AuthorizationCreate (OS X), pkexec (Linux) (but this is apparently not supported, yet), and of course return true on Windows (since pretty much everyone runs as admin anyway).

0

精彩评论

暂无评论...
验证码 换一张
取 消