Skip to content

Commit 3789df5

Browse files
committed
some updates here and there
1 parent 4143714 commit 3789df5

File tree

11 files changed

+4
-1
lines changed

11 files changed

+4
-1
lines changed

MSploit/Controllers/NormalPagesController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public IActionResult getIcon(string iconUrl)
4646
if (!util.checkSession(Request)) return new UnauthorizedResult();
4747
try
4848
{
49-
var data = System.IO.File.OpenRead($@"C:\Users\milan\RiderProjects\MSploit\MSploit\WebPage\Icons\Pcs\{iconUrl}");
49+
var data = System.IO.File.OpenRead($@"{Directory.GetCurrentDirectory()}\WebPage\Icons\Pcs\{iconUrl}");
5050
return File(data, "image/png");
5151
}
5252
catch

MSploit/bin/Debug/net6.0/MSploit.dll

0 Bytes
Binary file not shown.

MSploit/bin/Debug/net6.0/MSploit.pdb

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.

MSploit/obj/Debug/net6.0/MSploit.dll

0 Bytes
Binary file not shown.

MSploit/obj/Debug/net6.0/MSploit.pdb

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)