Python for Offensive PenTest: A practical guide to ethical hacking and penetration testing using Python

· Packt Publishing Ltd
4.3
6 reviews
Ebook
176
Pages
Ratings and reviews aren’t verified  Learn More

About this ebook

Your one-stop guide to using Python, creating your own hacking tools, and making the most out of resources available for this programming languageKey FeaturesComprehensive information on building a web application penetration testing framework using PythonMaster web application penetration testing using the multi-paradigm programming language PythonDetect vulnerabilities in a system or application by writing your own Python scriptsBook Description

Python is an easy-to-learn and cross-platform programming language that has unlimited third-party libraries. Plenty of open source hacking tools are written in Python, which can be easily integrated within your script.

This book is packed with step-by-step instructions and working examples to make you a skilled penetration tester. It is divided into clear bite-sized chunks, so you can learn at your own pace and focus on the areas of most interest to you. This book will teach you how to code a reverse shell and build an anonymous shell. You will also learn how to hack passwords and perform a privilege escalation on Windows with practical examples. You will set up your own virtual hacking environment in VirtualBox, which will help you run multiple operating systems for your testing environment.

By the end of this book, you will have learned how to code your own scripts and mastered ethical hacking from scratch.

What you will learnCode your own reverse shell (TCP and HTTP)Create your own anonymous shell by interacting with Twitter, Google Forms, and SourceForgeReplicate Metasploit features and build an advanced shellHack passwords using multiple techniques (API hooking, keyloggers, and clipboard hijacking)Exfiltrate data from your targetAdd encryption (AES, RSA, and XOR) to your shell to learn how cryptography is being abused by malwareDiscover privilege escalation on Windows with practical examplesCountermeasures against most attacksWho this book is for

This book is for ethical hackers; penetration testers; students preparing for OSCP, OSCE, GPEN, GXPN, and CEH; information security professionals; cybersecurity consultants; system and network security administrators; and programmers who are keen on learning all about penetration testing.

Ratings and reviews

4.3
6 reviews

About the author

Hussam Khrais is a senior security engineer, GPEN, and CEHHI with over 7 years of experience in penetration testing, Python scripting, and network security. He spends countless hours forging custom hacking tools in Python. He currently holds the following certificates in information security: GIAC Penetration Testing (GPEN) Certified Ethical Hacker (CEH) Cisco Certified Network Professional - Security (CCNP Security)

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.