PayloadsAllTheThings/Server Side Template Injection/ASP.md
2024-10-23 13:59:18 +02:00

619 B

Server Side Template Injection - ASP.NET

Summary

ASP.NET Razor

Official website

Razor is a markup syntax that lets you embed server-based code (Visual Basic and C#) into web pages.

ASP.NET Razor - Basic injection

@(1+2)

ASP.NET Razor - Command execution

@{
  // C# code
}