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 gcb1 on Saturday November 09, 2013 @12:38AM
(#6700787)
doesnt all switches protect you from arp poisoning? or am i missing something on the attack vector? i understand the proxy part is cool... but the vector appears to be a non issue. i just skimmed the readme...
Re:Lans.py: capture usernames, passwords, messages and injec...
by e12e on Saturday November 09, 2013 @12:45AM
(#6700799)
Most certainly not. Many enterprise switches can be/should be/are configured to protect against it -- but most consumer grade (home) switches I've seen don't.
Not sure what the status of various wireless routers/aps (eg: software ap on *bsd/linux).
Re:Lans.py: capture usernames, passwords, messages and injec...
by victorhooi on Saturday November 09, 2013 @12:51AM
(#6700809)
Hi,
This is for wireless networks I believe.
Yes, some of those offer client isolation but it's often not the default. (Or maybe I'm thinking RADIUS keys per client since the isolation won't stop you sniffing?)
So assuming you've authenticated (I.e. you have the WEP or WPA key), you'll see all the traffic.
Re:Lans.py: capture usernames, passwords, messages and injec...
by nilliams on Saturday November 09, 2013 @08:02AM
(#6701516)
I agree with you for code samples in READMEs, but for actual code allow people to respectfully disagree [1].
The benefit of tabs is that you can open it in your editor and set you editor to view tabs at whatever your spacing preference (2 or 4 spaces).
That github doesn't let you specify the tab-sizing you wish to view the code at is no fault of the author's (it would be a nice feature for github to add).
Re:Lans.py: capture usernames, passwords, messages and injec...
by smnrchrds on Saturday November 09, 2013 @10:55AM
(#6701933)
Why not? It's a convention almost everyone has agreed upon. More than 95% of python code out there uses spaces[1]. The new PEP-8 prefers spaces over tabs. I have configured my text editor to put 4 spaces when I press the tab key and auto-indent with 4 spaces as well. Now, if I want to contribute to a project which uses tabs instead of spaces or use such a project in my own code, I have to change my text editor preferences every time I open those files or fork the project and convert tabs to spaces.
Tabs may have some advantages over spaces, but uniformity is far more important.
Re:Lans.py: capture usernames, passwords, messages and injec...
by posnet on Saturday November 09, 2013 @08:23AM
(#6701553)
There is a tool, SSL strip that removes SSL from the target machines https request dynamically. While not breaking SSL it is effective on a non observant user.
https://github.com/moxie0/sslstrip
EDIT Looking for something more complete than a wiki article on ARP spoofing
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.
Endpoints only self-choose to listen to stuff addressed to them.
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.
Not sure what the status of various wireless routers/aps (eg: software ap on *bsd/linux).
This is for wireless networks I believe.
Yes, some of those offer client isolation but it's often not the default. (Or maybe I'm thinking RADIUS keys per client since the isolation won't stop you sniffing?)
So assuming you've authenticated (I.e. you have the WEP or WPA key), you'll see all the traffic.
Cheers, Victor
The benefit of tabs is that you can open it in your editor and set you editor to view tabs at whatever your spacing preference (2 or 4 spaces).
That github doesn't let you specify the tab-sizing you wish to view the code at is no fault of the author's (it would be a nice feature for github to add).
Please don't throw PEP8 at me :)
[1] http://lea.verou.me/2012/01/why-tabs-are-clearly-superior/
Tabs may have some advantages over spaces, but uniformity is far more important.
[1] http://sideeffect.kr/popularconvention/#python
* SVN diff tools
* Web SVN webbrowsers
* Vi
* Eclipse
* Chrome
You have all passwords now ^^