This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub RunMe() | |
' | |
' Menu -> Tool -> References -> Microsoft Script Control 1.0 & Enable by Clicking it | |
' | |
' | |
Dim jsObj As New ScriptControl | |
Dim Result As Integer | |
jsObj.Language = "JScript" | |
With jsObj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <stdio.h> | |
////////////////////////////////////////////////////////////////////// | |
BOOLEAN WINAPI DllMain( | |
IN HINSTANCE /*hDllHandle*/, | |
IN DWORD nReason, | |
IN LPVOID /*Reserved*/) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ServiceProcess; | |
using System.Diagnostics; | |
public class MyService : ServiceBase | |
{ | |
public MyService() | |
{ | |
ServiceName = "runner"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.ServiceProcess; | |
namespace RedTeamingService | |
{ | |
public partial class SystemService : ServiceBase | |
{ | |
public static int pid = 0; |
NewerOlder