Skip to content
  • About
  • Blogs
  • CTFs
  • Learn
  • Newsletter
HackwithHusnain
Hack with Husnain

Where Hackers Learn to Think

  • About
  • Blog
  • CTFs
  • Learn
  • Newsletter
HackwithHusnain
Hack with Husnain

Where Hackers Learn to Think

Learn → Breaking Python Web Apps

Breaking Python Web Apps

Build deliberately vulnerable Python web apps in Flask and Django - then exploit them yourself. Every lesson walks through the vulnerable code, the attack, and the fix.

3 Lessons
July 19, 2026 5 min read

Why Pentesters Should Understand Backend Code

Most pentesters test web applications the same way – open Burp Suite, intercept requests, throw payloads, check responses. If something breaks, great. If not, move on....

July 19, 2026 18 min read

Part 1: Understanding Routes in Flask & Building Your First XSS-Vulnerable App

If you’re getting into web security, at some point you have to stop just reading about vulnerabilities and actually build something broken with your own hands....

July 26, 2026 19 min read

Part 2: Building the Login System – Sessions, Cookies & User Enumeration

In Part 1, we built our first Flask app, understood how routes work, and made an intentionally XSS-vulnerable page. Now we’re adding a login system. We’re...

Recent Blog Posts

  • How I Turned a Low-Risk XSS into a Tenant-Wide Lockout
  • How I’d Learn Ethical Hacking in 2026 If I Started Over
  • Will AI Replace Pentesters? A Pentester’s Honest Take
  • HTB vs TryHackMe vs PortSwigger — Which Platform Actually Builds Skills?

Recent CTF Writeups

  • Content Discovery – TryHackMe Walkthrough
  • Reactor HTB – Machine Walkthrough
  • Kobold HTB – Machine Walkthrough
  • Facts HTB – Machine Walkthrough
  • Secure Notes – HTB Writeup | Web Challenge

Hack with Husnain

You can reach me at:
[email protected]

© 2024-2026 Hack with Husnain - All rights reserved.