Python

273
Ebook

Learning Python for Forensics. Leverage the power of Python in forensic investigations - Second Edition

Preston Miller, Chapin Bryce

Digital forensics plays an integral role in solving complex cybercrimes and helping organizations make sense of cybersecurity incidents. This second edition of Learning Python for Forensics illustrates how Python can be used to support these digital investigations and permits the examiner to automate the parsing of forensic artifacts to spend more time examining actionable data.The second edition of Learning Python for Forensics will illustrate how to develop Python scripts using an iterative design. Further, it demonstrates how to leverage the various built-in and community-sourced forensics scripts and libraries available for Python today. This book will help strengthen your analysis skills and efficiency as you creatively solve real-world problems through instruction-based tutorials.By the end of this book, you will build a collection of Python scripts capable of investigating an array of forensic artifacts and master the skills of extracting metadata and parsing complex data structures into actionable reports. Most importantly, you will have developed a foundation upon which to build as you continue to learn Python and enhance your efficacy as an investigator.

274
Ebook

Learning Python. Learn to code like a professional with Python - an open source, versatile, and powerful programming language

Fabrizio Romano

Learning Python has a dynamic and varied nature. It reads easily and lays a good foundation for those who are interested in digging deeper. It has a practical and example-oriented approach through which both the introductory and the advanced topics are explained. Starting with the fundamentals of programming and Python, it ends by exploring very different topics, like GUIs, web apps and data science. The book takes you all the way to creating a fully fledged application.The book begins by exploring the essentials of programming, data structures and teaches you how to manipulate them. It then moves on to controlling the flow of a program and writing reusable and error proof code. You will then explore different programming paradigms that will allow you to find the best approach to any situation, and also learn how to perform performance optimization as well as effective debugging. Throughout, the book steers you through the various types of applications, and it concludes with a complete mini website built upon all the concepts that you learned.

275
Ebook

Learning Python Networking. A complete guide to build and deploy strong networking capabilities using Python 3.7 and Ansible - Second Edition

José Manuel Ortega, Dr. M. O. Faruque Sarker, Sam Washington

Network programming has always been a demanding task. With full-featured and well-documented libraries all the way up the stack, Python makes network programming the enjoyable experience it should be.Starting with a walk through of today's major networking protocols, through this book, you'll learn how to employ Python for network programming, how to request and retrieve web resources, and how to extract data in major formats over the web. You will utilize Python for emailing using different protocols, and you'll interact with remote systems and IP and DNS networking. You will cover the connection of networking devices and configuration using Python 3.7, along with cloud-based network management tasks using Python.As the book progresses, socket programming will be covered, followed by how to design servers, and the pros and cons of multithreaded and event-driven architectures. You'll develop practical clientside applications, including web API clients, email clients, SSH, and FTP. These applications will also be implemented through existing web application frameworks.

276
Ebook

Learning Python Web Penetration Testing. Automate web penetration testing activities using Python

Christian Martorella

Web penetration testing is the use of tools and code to attack a website or web app in order to assess its vulnerability to external threats. While there are an increasing number of sophisticated, ready-made tools to scan systems for vulnerabilities, the use of Python allows you to write system-specific scripts, or alter and extend existing testing tools to find, exploit, and record as many security weaknesses as possible. Learning Python Web Penetration Testing will walk you through the web application penetration testing methodology, showing you how to write your own tools with Python for each activity throughout the process. The book begins by emphasizing the importance of knowing how to write your own tools with Python for web application penetration testing. You will then learn to interact with a web application using Python, understand the anatomy of an HTTP request, URL, headers and message body, and later create a script to perform a request, and interpret the response and its headers. As you make your way through the book, you will write a web crawler using Python and the Scrappy library. The book will also help you to develop a tool to perform brute force attacks in different parts of the web application. You will then discover more on detecting and exploiting SQL injection vulnerabilities. By the end of this book, you will have successfully created an HTTP proxy based on the mitmproxy tool.

277
Ebook
278
Ebook

Learning Robotics using Python. Design, simulate, program, and prototype an autonomous mobile robot using ROS, OpenCV, PCL, and Python - Second Edition

Lentin Joseph

Robot Operating System (ROS) is one of the most popular robotics software frameworks in research and industry. It has various features for implementing different capabilities in a robot without implementing them from scratch.This book starts by showing you the fundamentals of ROS so you understand the basics of differential robots. Then, you'll learn about robot modeling and how to design and simulate it using ROS. Moving on, we'll design robot hardware and interfacing actuators. Then, you'll learn to configure and program depth sensors and LIDARs using ROS. Finally, you'll create a GUI for your robot using the Qt framework. By the end of this tutorial, you'll have a clear idea of how to integrate and assemble everything into a robot and how to bundle the software package.

279
Ebook
280
Ebook

Lepszy kod w Pythonie. Przewodnik dla aspirujących ekspertów

David Mertz

Wyjdź poza kod Pythona, który "w dużej mierze działa", do kodu, który jest ekspresyjny, solidny i wydajny Python jest zapewne najczęściej używanym językiem programowania na świecie, od nauczania w szkołach podstawowych, przez codzienne tworzenie stron internetowych, aż po najbardziej zaawansowane badania naukowe. Choć każde zadanie w Pythonie można wykonać na wiele różnych sposobów, niektóre z nich są błędne, nieeleganckie lub nieefektywne. Lepszy kod w Pythonie to przewodnik po programowaniu "pythonicznym", zbiór najlepszych praktyk, technik i niuansów, które łatwo przeoczyć, zwłaszcza gdy mamy nawyki zapożyczone z innych języków programowania. Autor David Mertz prezentuje konkretne i zwięzłe przykłady rozmaitych nieporozumień, pułapek i złych nawyków. Wyjaśnia, dlaczego niektóre praktyki są lepsze od innych, bazując na swoim ponad 25-letnim doświadczeniu jako uznany członek społeczności Pythona. Rozdziały ułożone są w kolejności rosnącej według stopnia zaawansowania, a każdy z nich szczegółowo omawia powiązane grupy pojęć. Nie ma znaczenia, czy dopiero zaczynasz pracę z Pythonem, czy też jesteś doświadczonym deweloperem przesuwającym granice swojego kodu w Pythonie. Ta książka jest dla każdego, kto chce być bardziej pythoniczny pisząc lepszy kod w języku Python. Dr David Mertz od ponad 25 lat jest członkiem społeczności Pythona i uczył Pythona naukowców, deweloperów z doświadczeniem w innych językach, a także początkujących programistów. David przez sześć lat był dyrektorem organizacji Python Software Foundation (PSF) i nadal przewodniczy lub należy do różnych grup roboczych PSF. Jest autorem kilku książek technicznych i wygłaszał wykłady na licznych międzynarodowych konferencjach programistycznych. "Moje wysokie oczekiwania wobec tej wciągającej książki o Pythonie zostały przekroczone: oferuje ona mnóstwo cennych informacji dla średnich i zaawansowanych programistów pozwalając im udoskonalić swoje umiejętności w Pythonie, obszernie dzieli się cennym doświadczeniem związanym z wykorzystywaniem i nauczaniem języka, a przy tym jest zwięzła, łatwa w czytaniu i pisana stylem konwersacyjnym. Alex Martelli Używaj właściwego rodzaju pętli w Pythonie Poznaj tajniki obiektów zmiennych i niezmiennych Uzyskaj porady od ekspertów w celu uniknięcia kłopotów w Pythonie Zbadaj zaawansowane tematy dotyczące Pythona Poruszaj się po "atrakcyjnych uciążliwościach", które istnieją w Pythonie Poznaj najbardziej przydatne struktury danych w Pythonie i dowiedz się, jak uniknąć ich niewłaściwego wykorzystywania Unikaj błędów związanych z bezpieczeństwem Poznaj podstawy obliczeń numerycznych, w tym liczby zmiennoprzecinkowe i numeryczne typy danych