Download Network Hacks - Intensivkurs: Angriff und Verteidigung mit by Bastian Ballmann PDF

By Bastian Ballmann

ISBN-10: 3642243045

ISBN-13: 9783642243042

ISBN-10: 3642243053

ISBN-13: 9783642243059

Das Buch verhilft Lesern dazu, das eigene Netz mit den Augen des Angreifers zu sehen – um seine Techniken zu verstehen und um sich besser schützen zu können. Anhand von Python-Codebeispielen erläutert der Autor Themen wie Passwort-Sniffing, ARP-Poisoning, DNS-Spoofing, SQL-Injection, Google-Hacking, DHCP-Hijacking und WLAN-Hacking. Zu jedem Gebiet stellt er außerdem Open-Source-Projekte in Python vor und behandelt darüber hinaus auch klassische Verfahren wie TCP-Hijacking, Layer 2-Attacken und Intrusion-Detection.

Show description

Read Online or Download Network Hacks - Intensivkurs: Angriff und Verteidigung mit Python PDF

Similar python books

Learning Python: Powerful Object-Oriented Programming (4th Edition)

Google and YouTube use Python simply because it's hugely adaptable, effortless to keep up, and enables speedy improvement. so that you can write fine quality, effective code that's simply built-in with different languages and instruments, this hands-on e-book might help you be efficient with Python quick -- even if you're new to programming or simply new to Python.

Real Python: An Introduction to Python Through Practical Examples

An ebook to coach programming via hands-on, fascinating examples which are invaluable and fun!

Python is a brilliant programming language. It's unfastened, strong, more straightforward to learn than such a lot languages, and has extensions on hand to do nearly whatever you may think automatically.

But how do you definitely use it? There are a whole bunch assets in the market for studying Python, yet none of them are very functional or fascinating - in its place, they move over every one suggestion one after the other, by no means tying something jointly, yet spending lots of time misplaced in technical language, discussing the twenty alternative ways to complete every one uncomplicated job. ..

I are looking to write an ebook that at last offers a concise advent to every little thing you could truly are looking to do with Python.

We'll begin with a brief yet thorough review of all of the fundamentals, so that you don't even want any previous adventure with programming. however the majority of the ebook should be spent increase instance code to unravel attention-grabbing real-world problems.

Python is amazing for automating repetitive projects that may in a different way take you hours - for example, speedy amassing info from the net, or renaming enormous quantities of records. a number of the issues that I'm making plans to cover:

Collecting info from webpages (web scraping)
Interacting with PDF records - interpreting information, growing PDFs, enhancing pages, including passwords. ..
Interacting with Excel documents (less performance in OS X)
Calling different outdoors courses from inside Python
Files - read/write/modify, unzip, rename, stream, etc.
Basic video game development
Interacting with SQL databases (internal and ODBC connections)
GUI (Graphical consumer Interface) layout - growing basic point-and-click courses that any one can use
Any different themes that you simply, my backers, are so much in!
Update: via well known call for, I'll be including internet program development

All comparable path fabrics downloadable at: http://www. psychotix. com/share/Real_Python. zip

Python Algorithms: Mastering Basic Algorithms in the Python Language

Python Algorithms explains the Python method of set of rules research and layout.

Written through Magnus Lie Hetland, writer of starting Python, this ebook is sharply enthusiastic about classical algorithms, however it additionally supplies an excellent figuring out of basic algorithmic problem-solving recommendations.

The ebook bargains with probably the most vital and not easy components of programming and computing device technological know-how, yet in a hugely pedagogic and readable manner.

The booklet covers either algorithmic conception and programming perform, demonstrating how idea is mirrored in genuine Python programs.

Well-known algorithms and information constructions which are equipped into the Python language are defined, and the consumer is proven tips on how to enforce and evaluation others himself.

Testing Python: Applying Unit Testing, TDD, BDD and Acceptance Testing

Primary checking out methodologies utilized to the preferred Python language

Testing Python; making use of Unit checking out, TDD, BDD and reputation checking out is the main complete publication to be had on trying out for one of many most sensible software program programming languages on the planet. Python is a normal selection for brand new and skilled builders, and this hands-on source is a miles wanted consultant to enterprise-level checking out improvement methodologies. The ebook will convey you why Unit checking out and TDD may end up in cleanser, extra versatile programs.

Unit checking out and Test-Driven improvement (TDD) are more and more must-have talents for software program builders, it doesn't matter what language they paintings in. In firm settings, it's serious for builders to make sure they continuously have operating code, and that's what makes checking out methodologies so beautiful. This publication will educate you the main accepted checking out options and should introduce to you to nonetheless others, masking functionality trying out, non-stop checking out, and more.

Learn Unit checking out and TDD—important improvement methodologies that lie on the center of Agile development
Enhance your skill to paintings with Python to advance strong, versatile purposes with fresh code
Draw at the services of writer David Sale, a number one united kingdom developer and tech commentator
Get prior to the gang via studying the underappreciated global of Python testing
Knowledge of software program checking out in Python may perhaps set you except Python builders utilizing superseded methodologies. Python is a traditional healthy for TDD and checking out Python is a must-read textual content for a person who desires to improve services in Python programming.

Additional resources for Network Hacks - Intensivkurs: Angriff und Verteidigung mit Python

Example text

Die Karte liest alle Pakete ein, nicht nur die, die für sie adressiert sind. Über die Variable filter wird ein PCAP-Filter gesetzt. Im Beispiel besagt dieser Filter, dass wir nur ARP-Pakete mitlesen wollen. Andere Arten von Filter wären z. B. 1 mitzulesen. org. Die Funktion open_live() öffnet eine Netzwerkkarte zum Einlesen der Pakete. Man kann Pakete auch aus einer PCAP Dump-Datei lesen, doch dazu gleich mehr. Die Parameter für open_live() sind neben dem Netzwerkinterface noch die snaplen , welche angibt, wie viele Bytes eingelesen werden sollen, ein boolscher Wert für den Promiscuous-Modus und ein Timeoutwert in Millisekunden.

Dazu übergeben wir dem jeweiligen Decoder das Paket des vorherigen Layers, also dem IPDecoder das Eth-Paket und dem TCPDecoder das IP-Paket. Mit Hilfe der Methode get_data_as_string() extrahieren wir den Payload des IP-Pakets als ASCII-String, was manchmal zu hässlichen nicht darstellbaren Zeichen führen kann, wenn man die Daten unbesorgt ausgibt, doch wir suchen mit Hilfe von regulären Ausdrücken (siehe Abschn. 9) nach Strings wie User, Pass, Password oder Login und stellen nur die Zeichen dar, die wir danach gefunden haben.

ARP-Poisoning-Angriffe kann man einerseits mit statischen ARP-Einträgen verhindern, diese werden allerdings je nach Betriebssystem und Version eventuell von ARP-Replies einfach überschrieben oder man verwendet einen Arp-Watcher (siehe Abschn. 3). Dieser teilt einem verdächtiges Verhalten im ARP-Protokoll mit, verhindert aber nicht den Angriff selbst. Die meisten modernen Intrusion-DetectionSysteme können heutzutage ebenfalls ARP-Cache-Poisoning-Angriffe erkennen und melden. Sie sollten allerdings ihre Funktionalität mit den oben beschriebenen Scripten auf die Probe stellen, um böse Überraschungen zu vermeiden.

Download PDF sample

Rated 4.39 of 5 – based on 39 votes