Skip to content

Commit 5c35fc5

Browse files
committed
Initial commit
0 parents  commit 5c35fc5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1060
-0
lines changed

.idea/.idea.MSploit/.idea/.gitignore

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.MSploit/.idea/encodings.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.MSploit/.idea/indexLayout.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.MSploit/.idea/inspectionProfiles/Project_Default.xml

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.MSploit/.idea/jsLibraryMappings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.MSploit/.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MSploit.sln

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSploit", "MSploit\MSploit.csproj", "{54BE4AC1-19BF-483E-9EBB-5594B023A495}"
4+
EndProject
5+
Global
6+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7+
Debug|Any CPU = Debug|Any CPU
8+
Release|Any CPU = Release|Any CPU
9+
EndGlobalSection
10+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
11+
{54BE4AC1-19BF-483E-9EBB-5594B023A495}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
12+
{54BE4AC1-19BF-483E-9EBB-5594B023A495}.Debug|Any CPU.Build.0 = Debug|Any CPU
13+
{54BE4AC1-19BF-483E-9EBB-5594B023A495}.Release|Any CPU.ActiveCfg = Release|Any CPU
14+
{54BE4AC1-19BF-483E-9EBB-5594B023A495}.Release|Any CPU.Build.0 = Release|Any CPU
15+
EndGlobalSection
16+
EndGlobal

MSploit/MSploit.csproj

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
11+
</ItemGroup>
12+
13+
<ItemGroup>
14+
<Folder Include="Controllers" />
15+
<Folder Include="WebPage\Icons" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<None Update="WebPage\style.css">
20+
<DependentUpon>index.html</DependentUpon>
21+
</None>
22+
<None Update="WebPage\script.js">
23+
<DependentUpon>index.html</DependentUpon>
24+
</None>
25+
</ItemGroup>
26+
27+
</Project>

MSploit/Program.cs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
using Microsoft.AspNetCore.Builder;
2+
using Microsoft.Extensions.DependencyInjection;
3+
using Microsoft.Extensions.Hosting;
4+
5+
var builder = WebApplication.CreateBuilder(args);
6+
7+
// Add services to the container.
8+
9+
builder.Services.AddControllers();
10+
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
11+
builder.Services.AddEndpointsApiExplorer();
12+
builder.Services.AddSwaggerGen();
13+
14+
var app = builder.Build();
15+
16+
// Configure the HTTP request pipeline.
17+
if (app.Environment.IsDevelopment())
18+
{
19+
app.UseSwagger();
20+
app.UseSwaggerUI();
21+
}
22+
23+
app.UseHttpsRedirection();
24+
25+
app.UseAuthorization();
26+
27+
app.MapControllers();
28+
29+
app.Run();
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://json.schemastore.org/launchsettings.json",
3+
"iisSettings": {
4+
"windowsAuthentication": false,
5+
"anonymousAuthentication": true,
6+
"iisExpress": {
7+
"applicationUrl": "http://localhost:13832",
8+
"sslPort": 44319
9+
}
10+
},
11+
"profiles": {
12+
"MSploit": {
13+
"commandName": "Project",
14+
"dotnetRunMessages": true,
15+
"launchBrowser": true,
16+
"launchUrl": "swagger",
17+
"applicationUrl": "https://localhost:7059;http://localhost:5059",
18+
"environmentVariables": {
19+
"ASPNETCORE_ENVIRONMENT": "Development"
20+
}
21+
},
22+
"IIS Express": {
23+
"commandName": "IISExpress",
24+
"launchBrowser": true,
25+
"launchUrl": "swagger",
26+
"environmentVariables": {
27+
"ASPNETCORE_ENVIRONMENT": "Development"
28+
}
29+
}
30+
}
31+
}

MSploit/WebPage/Icons/Pcs/linux-e.png

20.2 KB
Loading

MSploit/WebPage/Icons/Pcs/linux.png

15.3 KB
Loading

MSploit/WebPage/Icons/Pcs/mac-e.png

16 KB
Loading

MSploit/WebPage/Icons/Pcs/mac.png

12.2 KB
Loading

MSploit/WebPage/Icons/Pcs/unix-e.png

15.5 KB
Loading

MSploit/WebPage/Icons/Pcs/unix.png

12 KB
Loading

MSploit/WebPage/Icons/Pcs/win-e.png

18.1 KB
Loading

MSploit/WebPage/Icons/Pcs/win.png

13.5 KB
Loading

0 commit comments

Comments
 (0)