smutheeb / poc-error-handling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This repository is the code sandbox of the OWASP Error Handling Cheat Sheet.

All sandbox projects are stored in the poc folder.

Every project expose a single service that throw a exception in order to simulate an non-catched exception by the application and then simulate an unexpected error.

IDE used

The following IDE has been used:

Projects can be directly opened and run using the associated IDE (a Run Configuration has been added for Java project).

Command line to test the error handling

The following curl command line can be used to trigger the error handling.

Project: java-classic-web-application

curl -v http://localhost:9090/service

Project: java-springboot-web-application

curl -v http://localhost:8080/greeting

Project: aspnet-core-web-application

curl -v http://localhost:[PORT]/api/values

Project: aspnet-webapi-web-application

curl -v http://localhost:[PORT]/api/values

About


Languages

Language:JavaScript 56.4%Language:C# 17.3%Language:Pascal 13.9%Language:PowerShell 6.4%Language:Puppet 3.3%Language:HTML 1.9%Language:Java 0.4%Language:CSS 0.3%Language:ASP 0.0%