Writing Secure Code in C++ Project

Test your secure coding in C++ skills with this project. The project starts with the code of a very simple and unsafe HTTP server. This program receives requests through a TCP socket and returns the requested file or the output of executed commands. The student is guided through discovering the different security issues, describing them and fixing them.

Free training week — 1,400+ on-demand courses and hands-on labs

Get hands-on secure C++ coding experience

Estimated project time: 2 hours, 48 minutes

Project Introduction
Video
Project Introduction

Project Introduction

This video is an introduction to the project.

10 minutes

Receiving Requests
Video
Receiving Requests

Receiving Requests

This video explores the topic of receiving requests.

7 minutes

Receiving Requests: The Security Flaw
Video
Receiving Requests: The Security Flaw

Receiving Requests: The Security Flaw

This video takes you through the security flaws in receiving requests.

3 minutes

Receiving Requests: A Possible Solution
Video
Receiving Requests: A Possible Solution

Receiving Requests: A Possible Solution

Explore a possible solution for flaws in receiving requests.

1 minute

Parsing Requests: The Flaw
Video
Parsing Requests: The Flaw

Parsing Requests: The Flaw

This video takes you through the security flaws in parsing requests.

1 minute

Parsing Requests: A Possible Solution
Video
Parsing Requests: A Possible Solution

Parsing Requests: A Possible Solution

This video explores a possible solution to the flaw in parsing requests.

4 minutes

Sending Files: The Flaw
Video
Sending Files: The Flaw

Sending Files: The Flaw

This video takes you through the security flaws in sending files.

4 minutes

Sending Files: A Possible Solution
Video
Sending Files: A Possible Solution

Sending Files: A Possible Solution

Take a look at the potential solution for the flaw in sending files.

8 minutes

Executing Programs: Flaws and Fix
Video
Executing Programs: Flaws and Fix

Executing Programs: Flaws and Fix

This video will be your guide to the details of executing programs.

6 minutes

Executing Programs: A Possible Solution
Video
Executing Programs: A Possible Solution

Executing Programs: A Possible Solution

This video explores a possible solution to the flaw in executing programs.

4 minutes

Writing Secure Code in C++ Project VM
File
Writing Secure Code in C++ Project VM

Writing Secure Code in C++ Project VM

Download the VM you will need to complete the C++ project.

Plans & pricing

Infosec Skills Personal

  • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Custom certification practice exams (e.g., CISSP, Security+)
  • Skill assessments
  • Infosec peer community support

Infosec Skills Teams

$799 per license / year

Book a Meeting
  • Team administration and reporting
  • Dedicated client success manager
  • Single sign-on (SSO)
    Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
  • Integrations via API
    Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
  • 190+ role-guided learning paths and assessments (e.g., Incident Response)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Create and assign custom learning paths
  • Custom certification practice exams (e.g., CISSP, CISA)
  • Optional upgrade: Guarantee team certification with live boot camps