Black Hat Python: Python for Pentesters | Free Online Course | Alison

The New Alison App has just launched Download Now

Black Hat Python: Python for Pentesters

Learn how to write and implement Python scripts to pentest Linux and Windows machines from this free online course.

Network and Security
Free Course
Bored of using automated testing tools, it is the right time to switch to Python. Packed with many reverse engineering and exploitation libraries, Python is a great language to learn if you want to flirt with information security tasks. This course will teach you how to read and write new packets, sniff the network, and equip you with everything you need to audit and attack web applications. Begin this course and improve your digital skills!
  • Duration

    4-5 Hours
  • Certification

  • Mobile Friendly

  • Publisher

  • Accreditation






View course modules


Black Hat Python: Python for Pentesters is a free online course that will enable you on all the latest tools and techniques available for Python pen-testing. This course will teach you how to use Python scripts for penetration testing a variety of systems. The course begins with an introduction to Python setup including the development and virtual environments in Python.

Next, you will learn about string formatting and Python data structures. You will also study how to create a basic Python network recon framework from port scanning and banner grabbing. Then, you will analyze web reconnaissance from web scraping and phishing. You will also discuss password cracking concepts in Python and how to evade anti-virus software using Python tools. Finally, you will learn about Python forensics for network investigation and how to work with SQL databases.

This free online course will provide an in-depth understanding of Python tools and methodologies for professional pentesting. This course will be of immense interest to Pen testers, security enthusiasts, and network administrators that have a basic knowledge of Python, who want to automate tasks in Python. Register for this course and advance your Python knowledge and skills!

Start Course Now


Python Setup and Components

Creating a Basic Python Network Recon Framework

The Python Spy - Web Recon

Black Hat Python: Python for Pentesters - First Assessment

The Password Cracker - Working With Brute-Force Tools

Evade Anti-Virus With Python

Python Forensics - Use Python Scripts for Network Investigation

Databases and Wrapping Up

Black Hat Python: Python for Pentesters - Second Assessment

Course assessment

Learning Outcomes

On successful completion of this course, you will be able to:

  • Discuss the concept and methodology of pen testing with Python
  • Describe the different data structures in Python
  • Outline the functions and information provided by network recon
  • Describe the concept of web scraping in Python
  • Recall how to develop an email phishing program using Python
  • Define the concept of password cracking
  • Outline different options for dropping the virus payload on targets
  • Analyze the methods of computer forensics
  • Explain how to use SQLAlchemy to work with SQL databases


All Alison courses are free to enrol, study and complete. To successfully complete this Certificate course and become an Alison Graduate, you need to achieve 80% or higher in each course assessment. Once you have completed this Certificate course, you have the option to acquire an official Certificate, which is a great way to share your achievement with the world. Your Alison Certificate is:

Ideal for sharing with potential employers - include it in your CV, professional social media profiles and job applications
An indication of your commitment to continuously learn, upskill and achieve high results
An incentive for you to continue empowering yourself through lifelong learning

Alison offers 3 types of Certificates for completed Certificate courses:

Digital Certificate - a downloadable Certificate in PDF format, immediately available to you when you complete your purchase
Certificate - a physical version of your officially branded and security-marked Certificate, posted to you with FREE shipping
Framed Certificate - a physical version of your officially branded and security-marked Certificate in a stylish frame, posted to you with FREE shipping

All Certificates are available to purchase through the Alison Shop. For more information on purchasing Alison Certificates, please visit our FAQs. If you decide not to purchase your Alison Certificate, you can still demonstrate your achievement by sharing your Learner Record or Learner Achievement Verification, both of which are accessible from your Dashboard. For more details on our Certificate pricing, please visit our Pricing Page.


    You have received a new notification
    Click here to view them all