Skip to content

Commit daaf007

Browse files
committed
uhh yeah
1 parent 52062a3 commit daaf007

File tree

10 files changed

+4
-2
lines changed

10 files changed

+4
-2
lines changed

MSploit/Controllers/HostsController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ public IActionResult scanHost(String host, String? scanType, String? fast, Strin
3535
string dir = $"{Directory.GetCurrentDirectory()}\\scans\\{host}.xml";
3636
Notification.add("Nmap scan started!", $"Target: {host}");
3737
String command = $"{host} {scanType} {fast} {ver} {osd} {online} {con} --top-ports {portcount} {scanSpeed} {customArgs} -oX \"{dir}\"";
38-
Console.WriteLine($"Running nmap.exe {command}");
38+
Console.WriteLine($"Running nmap {command}");
3939
new Thread(() =>
4040
{
4141
Directory.CreateDirectory($"{Directory.GetCurrentDirectory()}\\scans");
42-
util.runCmd("nmap.exe", command);
42+
util.runCmd(Settings.settings.nmap, command);
4343
util.updateHostFromScan(host, dir);
4444
}).Start();
4545
return new RedirectResult("/");

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.

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.

MSploit/obj/staticwebassets.pack.sentinel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,5 @@
160160
2.0
161161
2.0
162162
2.0
163+
2.0
164+
2.0

0 commit comments

Comments
 (0)