Skip to content

mkuhles/capstone-secure-delivery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Delivery Capstone (Symfony)

Goal: Build a small Symfony app and evolve it into a secure, automated delivery pipeline (AppSec/DevSecOps practice).

Tech: PHP, Symfony, Git (Docker optional)

There are three web projects in this project:

  • app and symfony app which shows how it should be in modern days

    • start with symfony serve
    • for W1D3 on you need symfony server:ca:install and restart your browser
    • run tests php bin/phpunit
  • lab-legacy a basic app with lots of vulnarabilities, which will be fixed at time

    • start with cd legacy-lab/public; php -S 127.0.0.1:8081
    • setup in terminal cd legacy-lab; php setup/setup.php
    • run composer composer dump-autoload -o
    • unit test ./vendor/bin/phpunit
  • attacker scripts with bad habits

    • start with cd attacker; php -S 127.0.0.1:8082

Milestone tags

  • csrf-test — state BEFORE CSRF protection on POST /admin.php (CSRF works / attacker.html can change note)
  • csrf-fixed — state AFTER CSRF token validation (attacker gets 403)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors