This file contains hidden or 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 <oleauto.h> | |
#include <conio.h> | |
#include <stdio.h> | |
#pragma comment(lib,"OleAut32.lib") | |
/* | |
This is an example of testing OleAut32.DispCallFunc from C with a VB6 ActiveX object. |
This file contains hidden or 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
import ctypes | |
import enum | |
# | |
# Prerequisits: | |
# ------------- | |
# If you are using Python < 3.4 run `pip install enum34`. | |
# | |
# Problem Definition | |
# ------------------ |
This file contains hidden or 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
#!/usr/bin/env python | |
import distutils.spawn | |
import os | |
import requests | |
import shutil | |
import subprocess | |
import sys | |
import tempfile | |
import urlparse |
This file contains hidden or 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
import os | |
import re | |
import sys | |
import logging | |
import argparse | |
import subprocess | |
import requests |
This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers] | |
"C:\\Windows\\System32\\regsvr32.exe"="~ RUNASADMIN" | |
[HKEY_CLASSES_ROOT\DllFile\Shell\Register] | |
"HasLUAShield"="" | |
[HKEY_CLASSES_ROOT\DllFile\Shell\Register\command] | |
@="C:\\Windows\\System32\\regsvr32.exe \"%1\"" |
This file contains hidden or 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
#Enter the file name here (either an OCX or DLL file) | |
$fileName = "<filename>.OCX" | |
#$fileName = "<filename>.DLL" | |
#If the file is located in the syswow64 folder instead of the system32 folder, replace this in the line below | |
$OCXorDLLfile = "$env:SystemRoot\System32\$fileName" | |
function Search-Registry { | |
<# | |
.SYNOPSIS | |
Searches registry key names, value names, and value data (limited). |
This file contains hidden or 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.Collections.Generic; | |
using System.Linq; | |
using Hangfire.Common; | |
using Hangfire.States; | |
using Hangfire.Storage; | |
namespace Hangfire.Pro | |
{ | |
/// <summary> |