HACKR.GG
Fundamentals

Python Fundamentals

Learn Python from scratch — the language behind most hacking tools, scripts, and automation. Variables, strings, functions, loops, and files explained with code you run right here in the browser.

Beginner45 min9 lessons9 hands-on
Start free →I have an account
Free account. No credit card.

You'll be able to

  • ✓Understand why Python is the go-to language for security tooling
  • ✓Work with variables, strings, lists, and dictionaries
  • ✓Write reusable functions with default parameters and multiple return values
  • ✓Control program flow with if/elif/else, for loops, and while loops
  • ✓Parse and manipulate JSON data from API responses
  • ✓Build a real security script: an HTTP header analyser

Lessons

  1. 1What is Python?HANDS-ON
  2. 2Variables and TypesHANDS-ON
  3. 3StringsHANDS-ON
  4. 4ListsHANDS-ON
  5. 5FunctionsHANDS-ON
  6. 6Your Turn: Write the LoopHANDS-ON
  7. 7If/Else and LoopsHANDS-ON
  8. 8DictionariesHANDS-ON
  9. 9Final Project: Password Hash CrackerHANDS-ON
Start free →