Practice Php

Lessons, exercises, and projects about PHP

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

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

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

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

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

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.

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

1hrs average

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

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

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