Most hacking platforms teach you which button to press. PentesterLab is built around a different question: why does this bug exist, and what does the vulnerable code look like? That makes it one of the most respected web security training sites among working pentesters, and also one of the easiest to misjudge as a beginner. Before you pay for anything, get a feel for the kind of bug PentesterLab loves by forging a login token in our JWT Bypass lab, right in your browser.
This guide covers what PentesterLab is, what you can do for free, what PRO costs in 2026, which badges a beginner should start with, how to solve your first recon exercise, and the honest cases where another platform is a better first stop.
TL;DR: PentesterLab is a paid web security training platform focused on real vulnerabilities, real CVEs and security code review. The free Recon badge and a few free exercises let you try it, while PRO costs $19.99 a month or $199.99 a year ($34.99 for three months with a student email). It shines once you know HTTP basics and want depth on web bugs. Total beginners and people who want gamified CTFs or OSCP prep should start elsewhere.
What Is PentesterLab?
PentesterLab is an online training platform for web application security and security code review. You learn by exploiting real vulnerable applications, grouped into themed badges, with written explanations and (on PRO) video walkthroughs of the bug, the exploit and the fix.
It is a founder-led project with a long track record. According to its about page, Louis Nyffenegger launched PentesterLab in December 2011, starting from exercises he had written for an in-person training course. He still runs it, and it shows: the content has a consistent voice and a clear opinion about how security should be learned.
The PentesterLab Philosophy
Three ideas run through the whole catalog:
- Manual exploitation over tools: you are expected to understand the request you send, not just fire a scanner at it. Many exercises push you to write a small script instead.
- Real CVEs, not synthetic puzzles: PentesterLab says it has more than 500 CVE exercises, where you reproduce a real published vulnerability in software people actually deployed.
- Code review as a core skill: whole badges are dedicated to finding bugs in Java, Python and Go source code. Almost no beginner platform teaches this.
PentesterLab is also unusually upfront about who it is not for. Its own platform notes say it is not the right fit if you want gamified CTF challenges and leaderboards, OSCP preparation, Active Directory or red-team training, or hand-held content with instant solutions. We respect that honesty, and it is the most useful sentence a beginner can read before signing up.
Is PentesterLab Free?
Partly. You can create a free account, work through the Recon badge and a handful of free exercises, and read the bootcamp, glossary and blog without paying. The bulk of the catalog, the video walkthroughs and the completion certificates require a PRO subscription.
Here is what you get with a free account:
- The Recon badge: 27 reconnaissance exercises, all rated easy or medium, covering robots.txt, virtual hosts, TLS certificates, DNS zone transfers and Git history. PentesterLab announced it as free in June 2025. The videos for it still sit behind PRO.
- Rotating free labs: the exercise list shows a few "Free Labs of the Month". When we checked in December 2026 they were three OAuth2 exercises.
- The Bootcamp: a 15-step, week-by-week reading and practice plan for infosec beginners, from Linux and HTTP basics to SQL injection, Nmap and web pentesting.
- AppSecSchool: free security videos on YouTube, plus four free lessons of the paid code review course.
One oddity: one Recon exercise is about S3 permissions, so PentesterLab asks you to bring your own regular AWS account for it. Creating one is free, but it does ask for a card, so skip that single exercise if you would rather not.
PentesterLab PRO Price in 2026
PentesterLab PRO costs $19.99 per month, or $199.99 for a year paid upfront. Students with a school email address can get three months for $34.99. Enterprise team licenses are quoted on request.
| Plan | Regular price | Notes |
|---|---|---|
| 1 Month | $19.99 | One-time payment, no auto-renewal |
| Monthly | $19.99/month | Auto-renews until you cancel |
| 1 Year | $199.99 | One-time payment, does not auto-renew |
| Student | $34.99 for 3 months | Verified through your school email domain |
| Enterprise | Quote | Per-head licensing, SSO, manager dashboard, custom badges |
PRO opens up every exercise, the video walkthroughs (with subtitles in eight languages, including French and Portuguese), the badge certificates of completion and support. PentesterLab also offers a 15-day money-back guarantee on PRO.
Watch for sales. During its Black Friday 2026 promotion, the yearly plan dropped to $146.52 and the student plan to $25.99. If you are not in a hurry, waiting for a seasonal discount is a reasonable move.
Separately, PentesterLab sells on-demand courses: Web Security Code Review ($899 list price, including a year of PRO) and Secure Coding in Golang ($249, including three months of PRO). Those are aimed at professionals and their employers, not at someone on their first week of hacking.
Our take on the price: the 1 Month option is the smart first purchase. It does not renew, so you can binge a badge or two, see whether the PentesterLab style clicks for you, and only then commit to a year.
How PentesterLab Works: Exercises and Badges
Every exercise has its own page with a short objective, a background explanation of the bug class and, on PRO, one or more videos. PentesterLab describes its PRO labs as running "in real environments", and members point out that PRO does not require you to set up VMs. In the Recon badge, every lab hands you a flag when you get it right, so there is never any doubt about whether you succeeded.
Exercises are grouped into badges. Finishing a badge earns a certificate of completion you can share on LinkedIn. These are not industry certifications like OSCP or Security+, but they are a concrete way to show focused progress.
The Badges That Matter for Beginners
PentesterLab lists around two dozen badge tracks. As a beginner, these are the ones worth your time, roughly in this order:
- Introduction: a handful of exercises that get you used to the platform and basic web concepts.
- Recon (free, 27 exercises): information gathering on a fake company that PentesterLab hosts on the real internet. Great for learning that half of hacking is looking carefully.
- HTTP (43 exercises): headers, methods, cookies and web server behavior. If HTTP still feels fuzzy, this badge fixes that.
- Unix (35 exercises): weak passwords, file permissions, sudo misconfigurations and privilege escalation on Linux.
- Essential (60 exercises): the core web bugs with easy-to-understand examples: SQL injection, XSS, command execution, file inclusion, directory traversal, SSRF, SSTI, file upload, XML attacks and more. Almost all of them are rated easy or medium.
- White (6 exercises): your first taste of real-world bugs, including Shellshock and the classic JWT "none" algorithm flaw.
After that, the paths split. The API badge (41 exercises) and Auth badge (25) suit future bug bounty hunters, while Code Review (107), Java Code Review (73) and Golang Code Review (44) suit developers and AppSec engineers. Leave the Brown, Green and deserialization badges for later. They assume you are already comfortable writing exploits.
Your First PentesterLab Exercise: Recon 00
Recon 00 is free, rated easy, and takes a few minutes. Its objective is simple: retrieve the robots.txt file from the main website of Hackycorp, the fictional company PentesterLab uses as its recon target. The exercise page names the exact domain. Stick to the hosts the exercises name.
- Understand the file:
robots.txttells search engine crawlers which paths not to index, usingDisallowlines. Developers often list exactly the paths they would prefer nobody looked at. - Request it: open the file in your browser by adding
/robots.txtto the site's root URL, or usecurlwith the address from the exercise page. - Read every line: the answer is in the response. Look at what is disallowed and what else the file contains.
- Grab the key: once you find the flag, you have solved the exercise and can move on to Recon 01.
The next few exercises follow the same rhythm: a custom 404 page that leaks information, a security.txt file (the format standardized in RFC 9116), directory listings, and then your first directory brute force. PentesterLab's examples use curl, openssl, ffuf and git, but any tool works.
In practice, the recon badge is where beginners learn the most per hour on PentesterLab. The exercises are short, every one ends with a clear flag, and the skills (vhosts, TLS certificate names, DNS zone transfers, secrets in Git history) carry straight over into bug bounty work. Budget a few evenings for the whole badge, and expect the Git and visual-discovery exercises to take longer than the robots.txt warm-ups.
Is PentesterLab Good for Beginners?
It depends on what kind of beginner you are. PentesterLab is good for beginners who already understand how the web works and want to go deep on web vulnerabilities. It is a frustrating first platform for someone who has never used a terminal or read an HTTP request.
Where it is excellent:
- Depth on modern web bugs: JWT, OAuth2, SAML, SSTI and deserialization get several dedicated exercises each, built around the mistakes real libraries made.
- Explaining the fix: the videos cover why the code was vulnerable and how to patch it, which helps you write better reports later.
- Code review: if you might end up in AppSec or development, nothing else at this price teaches reading vulnerable source code so directly.
Where beginners struggle:
- Little gamification: there are no leaderboards, no streaks and no story. If competition keeps you motivated, you will miss it.
- Narrow scope: it is web and code review first. You will not learn Active Directory, network pivoting or Windows privilege escalation here.
- Assumed basics: exercises move quickly from "here is the bug" to "write the exploit". Without Linux, HTTP and some scripting, you will lean on the videos for everything.
Our recommendation: if you are brand new, learn the web fundamentals on a free resource first, then pick PentesterLab when you know you like web security and want more depth than free labs give.
PentesterLab vs PortSwigger Academy vs HackerDNA
Readers comparing PentesterLab usually weigh it against the free PortSwigger Web Security Academy and against broader CTF-style platforms. Here is the honest side-by-side:
| Feature | PentesterLab | PortSwigger Academy | HackerDNA |
|---|---|---|---|
| Cost | Free Recon badge, PRO from $19.99/month | Free | Free tier, Pro for full catalog |
| Setup | Online labs, no VMs on PRO | Browser + free Burp download | Browser only, no VPN |
| Teaching | Videos on the bug, exploit and fix (PRO) | Detailed lesson before every lab | Guided courses plus an AI hacking coach |
| Real CVEs | 500+ CVE exercises | Mostly synthetic labs | Original scenarios, not CVE reproductions |
| Code review | Dedicated badges for Java, Python, Go | No | No |
| Scope | Web, API, code review, some Unix and PCAP | Web only | Web, network, privilege escalation, forensics and more |
| Best for | Depth on web bugs after the basics | Learning each web bug class for free | Beginners who want guided, CTF-style targets |
These platforms stack well. A common path is PortSwigger for free fundamentals, a CTF-style platform to practice full attacks from recon to root, and PentesterLab when you want to understand modern web bugs and real CVEs at the code level. If what you actually want is a broader set of options with a full catalog of machines, our roundup of Hack The Box alternatives compares the main platforms by level.
Legal and Ethical Considerations
Critical reminder: Always get explicit written authorization before testing any system. PentesterLab authorizes attacks only on the targets each exercise names.
- Stay on the named hosts: the Recon badge runs on the public internet. Enumerate only the domain and repositories the exercise gives you, never neighboring hosts, cloud providers or other companies.
- Do not attack the platform: pentesterlab.com itself, its accounts and its infrastructure are out of scope.
- Keep your AWS work clean: for the S3 exercise, use your own account only to read the bucket the exercise names. Do not test other people's buckets "to see".
- Do not share solutions or keys: it breaks PentesterLab's terms and it robs you of the learning the exercise was built for.
- Real targets need real permission: when you want to test live sites, use bug bounty programs and respect their written scope.
Frequently Asked Questions
Is PentesterLab free?
PentesterLab has a free account that includes the Recon badge, a few rotating free exercises, the Bootcamp and the AppSecSchool videos. Most of the catalog, the video walkthroughs and the certificates of completion require PentesterLab PRO.
How much does PentesterLab PRO cost?
PentesterLab PRO costs $19.99 per month (one-time or auto-renewing) or $199.99 per year. Students can get three months for $34.99 after verifying a school email. Seasonal sales lower these prices, and PRO comes with a 15-day money-back guarantee.
Is PentesterLab good for beginners?
It is good for beginners who already know HTTP, Linux basics and a little scripting. Complete beginners usually do better starting with a more guided platform, then moving to PentesterLab once they want depth on web vulnerabilities and real CVEs.
Is PentesterLab worth it?
For anyone heading toward web pentesting, bug bounty or AppSec, yes. The CVE exercises and code review badges are hard to find elsewhere at this price. If you want OSCP prep, Active Directory or gamified CTFs, PentesterLab itself says it is not the right fit.
Does PentesterLab give a certification?
PentesterLab gives certificates of completion for its badges, which you can share with employers and on LinkedIn. They show focused practice, but they are not industry certifications like OSCP, eJPT or Security+.
Do I need to set up VMs for PentesterLab?
No. PentesterLab says its PRO labs run in real environments, and members note that PRO does not require you to set up VMs. You will still want a machine with a terminal and tools such as curl, Burp Suite and Python. One free Recon exercise also needs your own AWS account.
Last verified: December 2026. Prices, plans, the student offer, the Black Friday discount and PRO features were checked on PentesterLab's PRO page. Badge sizes, the "not the right fit" list, the refund policy and the founding date come from PentesterLab's about page and its published platform documentation. Recon badge details come from the badge page and PentesterLab's June 2025 announcement.
Your Next Steps
PentesterLab is one of the best places to learn web security in real depth, and you can test it for free today. Create an account, do Recon 00 to 05 this week, and see how the "understand the bug, then exploit it" style feels. If it clicks and you already have the basics, buy a single non-renewing month of PRO and work through the Essential badge before you think about a yearly plan.
If you are not there yet, or you want a platform that also covers networks and privilege escalation, build your base on HackerDNA first. Forge your first token in the JWT Bypass lab, learn the theory behind it in the JWT Hacking course, and cover the rest of the classic web bugs in HackerDNA's Web Application Attacks course. Start with HackerDNA's free tier - no credit card required, and every lab runs in your browser.