C#
C Sharp and the .NET Framework
Hello World
mkdir HelloWorld && cd HelloWorld
dotnet new consoledotnet add package Newtonsoft.Jsondotnet runDeserialization
Newtonsoft Json.NET
public class Account {
public string Email { get; set; }
public bool Active { get; set; }
public DateTime CreatedDate { get; set; }
public IList<string> Roles { get; set; }
}
string json = @"{
'Email': 'james@example.com',
'Active': true,
'CreatedDate': '2013-01-20T00:00:00Z',
'Roles': [
'User',
'Admin'
]
}";
Account account = JsonConvert.DeserializeObject<Account>(json);
Console.WriteLine(account.Email); // "james@example.com"
Gadget Chains
Finding Gadgets
Reflection

LINQ Injection
Version < 1.3.0 RCE
Latest version property access
Filter Bypasses
Last updated


