News for hackers. Stuff that matters.
Re:Lans.py: capture usernames, passwords, messages and injec... by MrOrelliOReilly on Saturday November 09, 2013 @01:25AM (#6700877)
Could anyone point me to a resource that offers a high level explanation of how stuff like this 'works'? I'm happy to spend time parsing the source code but that won't tell me how/why you're able to intercept HTTP requests or w/e is happening. I just want to understand :'((

EDIT Looking for something more complete than a wiki article on ARP spoofing

Re:Lans.py: capture usernames, passwords, messages and injec... by est on Saturday November 09, 2013 @02:20AM (#6700979)
> how/why you're able to intercept HTTP requests or w/e is happening.

Basically, in a typical LAN, you think the server is communicating directly with you alone, but in fact it's broadcasting to everyone. Your NIC and OS just happen try not to receive it.

Re:Lans.py: capture usernames, passwords, messages and injec... by droopybuns on Saturday November 09, 2013 @01:50AM (#6700934)
Buy the book Violent Python. It is exactly what you need, and is available on kindle.
Re:Lans.py: capture usernames, passwords, messages and injec... by MrOrelliOReilly on Saturday November 09, 2013 @11:51AM (#6702167)
Definitely going to check this out, thanks!
Re:Lans.py: capture usernames, passwords, messages and injec... by Tarang on Saturday November 09, 2013 @03:56AM (#6701135)
Usually if you have a normal ethernet switch/WiFi your TCP packets end up going to everyone.

Endpoints only self-choose to listen to stuff addressed to them.

Re:Lans.py: capture usernames, passwords, messages and injec... by alexkus on Saturday November 09, 2013 @08:48AM (#6701605)
That's the major difference between hubs and switches.

As a generalisation: hubs just push everything received from one port out to all ports.

Switches are cleverer in that they only direct the right traffic (that may include broadcast traffic) to all ports.

Of course, there are cheap 'switches' that are nothing more than hubs.