๐ŸŒ AIๆœ็ดข & ไปฃ็† ไธป้กต
Skip to content

Soham7-dev/AspGoat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

AspGoat : A Damn Vulnerable ASP.NET Web Application



AspGoat Logo

๐Ÿ AspGoat

An intentionally vulnerable ASP.NET Core web application for learning and practicing Web Application Security.

license release stars forks ci-status docker pulls OWASP .NET Core BurpSuite Proxy Badge

---

๐Ÿ“– About AspGoat

AspGoat is an intentionally vulnerable ASP.NET Core application that helps Security Engineers and Developers analyze and mitigate common web application vulnerabilities. It includes the OWASP Top 10 and beyond, providing hands-on Application Security challenges.

โš ๏ธ Disclaimer: This project is for educational purposes only. Do not deploy to production environments.


โœจ Features

  • ๐Ÿž Intentionally vulnerable ASP.NET Core MVC app
  • ๐Ÿ“š Hands-on labs for:
    • ๐Ÿž Cross-Site Scripting (XSS)
    • ๐Ÿž Cross-Site Request Forgery (CSRF)
    • ๐Ÿž SQL Injection (SQLi)
    • ๐Ÿž XML External Entity (XXE)
    • ๐Ÿž Local File Inclusion (LFI)
    • ๐Ÿž Remote Code Execution (RCE)
    • ๐Ÿž Unrestricted File Upload
    • ๐Ÿž Information Disclosure
    • ๐Ÿž Broken Authentication
    • ๐Ÿž Server-Side Request Forgery (SSRF)
    • ๐Ÿž Insecure Direct Object Reference (IDOR)
    • ๐Ÿž Insecure Deserialization
    • ๐Ÿž Command Injection
    • ๐Ÿž Prototype Pollution
    • ๐Ÿž Cache Poisoning
    • ๐Ÿž Server Side Template Injection (SSTI)
    • ๐Ÿ›ก๏ธ Secure vs Insecure coding snippets
    • ๐Ÿณ Ready-to-run Docker setup
  • ๐Ÿค– AI / LLM Red-Teaming labs covering:
    • ๐Ÿž Prompt Injection
    • ๐Ÿž Excessive Agency
    • ๐Ÿž Insecure Output Handling

๐Ÿ•น๏ธ Demo

Demo


๐Ÿช› Installation

1. Using Docker (recommended)

Pull the image

docker pull sohamburger/aspgoat:latest

Run the container

docker run --rm -p 8000:8000 sohamburger/aspgoat:latest

Access the app

http://localhost:8000

2. Using .NET SDK

Download and install the .NET SDK 8.0 (LTS) from:
๐Ÿ‘‰ .NET-Download

(The SDK includes the runtime, so this is all you need to build and run AspGoat from source.)

Clone the repository

git clone https://github.com/Soham7-dev/AspGoat.git
cd AspGoat

Restore Dependencies

dotnet restore

Run the app

dotnet run

Access the app

http://localhost:5073

๐Ÿงช Overview

SQLi

InDe

FileUp

SQLi

SQLi

SQLi

๐Ÿ‘ฅ Contributors

Thanks goes to these wonderful people โœจ

Made with contrib.rocks.


๐Ÿ“ NOTE

The default username for AspGoat is admin and the default password is admin123. The ๐Ÿž Unrestricted File Upload Lab can break the application. A Hard Reset feature is currently under development which will reset the application (not yet released). As of now, if you break the application during exploitation of the Lab, your only option is cloning the Project again and restart the application. The Client Side JavaScript is obfuscated due to obvious cheating possibilities for Secure Coding challenges. However, there are several tools available for de-obfuscating the JavaScript code and retrieve the clean code again but that is not the core purpose of this Project.