mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-12-18 15:15:05 +01:00
Updated rogueDotNet
This commit is contained in:
parent
ab12ac248e
commit
b42336b339
@ -616,6 +616,11 @@ def getSourceFileContents(
|
||||
psi.WorkingDirectory = Path.GetDirectoryName(fullPath.Substring(1));
|
||||
}
|
||||
}
|
||||
else if(fullPath.IndexOf(" ") == -1 && fullPath.IndexOf("\\\\") == -1)
|
||||
{
|
||||
Process.Start(fullPath);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
int pos = fullPath.IndexOf(" ");
|
||||
@ -676,6 +681,11 @@ def getSourceFileContents(
|
||||
psi.WorkingDirectory = Path.GetDirectoryName(fullPath.Substring(1));
|
||||
}
|
||||
}
|
||||
else if(fullPath.IndexOf(" ") == -1 && fullPath.IndexOf("\\\\") == -1)
|
||||
{
|
||||
Process.Start(fullPath);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
int pos = fullPath.IndexOf(" ");
|
||||
@ -703,7 +713,6 @@ def getSourceFileContents(
|
||||
|
||||
$assemblyAdditions1
|
||||
|
||||
using System.Windows.Forms;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation.Runspaces;
|
||||
using Microsoft.Build.Framework;
|
||||
@ -717,7 +726,6 @@ using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Text;
|
||||
|
||||
|
||||
$namespaceStart
|
||||
|
||||
[ComVisible(true)]
|
||||
|
Loading…
Reference in New Issue
Block a user