Go to this link to get your desired version of the OC client tool. I have choosen the latest version available in July, 2020.
Discover gists
1 - Container & Image Prune
docker rm -vf $(docker ps -aq)
docker rmi -f $(docker images -aq)
2 - Clean Docker Volume
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
#!/usr/bin/env python | |
import sys, os, time, platform, ctypes | |
from struct import pack, unpack | |
from optparse import OptionParser, make_option | |
import smm_backdoor as bd | |
# how many seconds to wait for VM exit occur | |
VM_EXIT_WAIT = 3 |
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
# https://chat.openai.com/share/6d96527b-288d-45a9-8eb4-e8b43d52486a | |
# Input parameters | |
param ( | |
[Parameter(Mandatory=$true)] | |
[string]$inputFile, | |
[Parameter(Mandatory=$true)] | |
[System.Management.Automation.PSCredential]$Credential | |
) |
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 "stdafx.h" | |
// vulnerable driver device name | |
#define EXPL_DEVICE_PATH "\\\\.\\Global\\RTCore64" | |
// vulnerable driver service and file name | |
#define EXPL_DRIVER_NAME "RTCore64.sys" | |
#define EXPL_SERVICE_NAME "RTCore64" | |
// vulnerable driver IOCTL codes |
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 "stdafx.h" | |
// vulnerable driver device name | |
#define EXPL_DEVICE_PATH "\\\\.\\Global\\RTCore64" | |
// vulnerable driver service and file name | |
#define EXPL_DRIVER_NAME "RTCore64.sys" | |
#define EXPL_SERVICE_NAME "RTCore64" | |
// vulnerable driver IOCTL codes |
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 "global.h" | |
HINSTANCE g_hInstance; | |
HANDLE g_ConOut = NULL; | |
BOOL g_ConsoleOutput = FALSE; | |
WCHAR g_BE = 0xFEFF; | |
RTL_OSVERSIONINFOW g_osv; | |
#define CI_DLL "ci.dll" |
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 "global.h" | |
HINSTANCE g_hInstance; | |
HANDLE g_ConOut = NULL; | |
BOOL g_ConsoleOutput = FALSE; | |
WCHAR g_BE = 0xFEFF; | |
RTL_OSVERSIONINFOW g_osv; | |
#define CI_DLL "ci.dll" |
NewerOlder