Practice Php

Lessons, exercises, and projects about PHP

Browse our list of curated database of projects, exercises, and lessons to learn PHP

Exploring LFI (Local File Inclusion)

A poorly validated line of code can become an open window to the heart of the server. In this lesson, you will learn to identify, exploit, and understand the Local File Inclusion (LFI) vulnerability, one of the most common and dangerous flaws in web applications. Because every parameter is a possibility.

1hrs average

Detect the XSS Vulnerability

Analyze a vulnerable form in a fictional licensing site, identify the XSS vulnerability, and validate your finding with a script.

Regex Tutorial: Learn With Regular Expression Examples

Regular Expressions are the best way to identify patterns within strings. They can seem difficult and annoying, but once you know how to use them, they're amazing! In this Regex Tutorial you will learn with Regular Expression Examples

Understanding PHP Sessions

Master PHP sessions and learn to manage user data securely. Discover essential techniques for effective session handling in your web applications!

In the Shadow of Code - Hunting the Reverse Shell

In this challenge, you'll put your analytical skills and keen eye to the test to detect hidden threats. You'll explore a seemingly innocent PHP site that conceals a reverse shell payload. Your mission: discover its exact location and understand how this technique is used by attackers to gain covert remote access.

1hrs average

Pwned! - Find the Backdoor

Investigate a compromised website to detect a hidden reverse shell. Find the backdoor and validate your discovery.

The Snake Case Variable Naming Convention

Learn the Snake Case variable naming convention for better readability in programming. Discover essential rules and best practices now!

Reverse Shells and Arbitrary Uploads

Learn how a simple, poorly protected file upload function can open the door to a reverse shell. This lesson explores common PHP vulnerabilities, from arbitrary uploads to remote code execution, and shows you how to establish reverse shells from compromised servers.

2hrs average

Reverse Shell on a Web Server

Learn to exploit a vulnerable file upload form to deploy a reverse shell, gain control of the server, and capture a flag. This lab provides a realistic simulation of a common initial access technique used by attackers and highlights the importance of implementing proper security controls on file upload features.

Understanding PHP Syntax

Master PHP syntax with our easy-to-follow guide! Learn essential concepts, data types, and practical examples. Understand the core structure of PHP programming and how it compares to JavaScript. Start coding today and explore the full potential of PHP for web development