View get_eruda.js
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
javascript:( | |
function () { | |
var script = document.createElement('script'); | |
script.src="//cdn.jsdelivr.net/npm/eruda"; | |
document.body.appendChild(script); | |
script.onload = function () { eruda.init() } | |
} | |
)(); |
View xrd_decrypter.cpp
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 <iostream> | |
#include <fstream> | |
#include <memory> | |
#include <string> | |
#include <algorithm> | |
void process_crypt_table(unsigned *crypt_table) | |
{ | |
for (auto i = 0; i < 227; i++) | |
{ |
View FileListToSfv.cs
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.IO; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var listFile = "list.txt"; | |
var hashFile = "crc32.sfv"; |
View AmazonS3Demo.cs
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 Amazon.S3; | |
using System; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var bucketName = "my-bucket"; | |
string accessKeyId = "my-access-key-id"; | |
string secretAccessKey = "secret-access-key-id"; |
View ListInputDevices.cs
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.Runtime.InteropServices; | |
class Program | |
{ | |
[DllImport("user32.dll", CharSet = CharSet.Ansi, SetLastError = true)] | |
private static extern uint GetRawInputDeviceList([In][Out] RawInputDeviceList[] RawInputDeviceList, ref uint NumDevices, uint Size); | |
[DllImport("user32.dll", CharSet = CharSet.Ansi, SetLastError = true)] | |
private static extern uint GetRawInputDeviceInfo(IntPtr hDevice, RawInputDeviceInfo command, IntPtr pData, ref uint size); |
View GetS3ETagForLocalFile.cs
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; | |
partial class Program | |
{ | |
/* | |
.SYNOPSIS | |
Compute Amazon S3 ETag for a local file | |
.DESCRIPTION |
View CakeTest.cs
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.Runtime.InteropServices; | |
namespace CakeTest | |
{ | |
class Program | |
{ | |
[DllImport("Cake")] | |
private static extern IntPtr GetHttpEncryptHeader(); |
View iatextract.c
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> | |
int main(int argc, char* argv[]) | |
{ | |
if (argc < 2) goto SHOW_HELP; | |
char fileName[MAX_PATH] = { 0 }; | |
memcpy_s(&fileName, MAX_PATH, argv[1], MAX_PATH); |
View iatpecker.cs
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.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
namespace iatpecker | |
{ | |
class Program | |
{ |
View checksums.c
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 <stddef.h> | |
unsigned int adler32(unsigned int adler, const unsigned char* buf, size_t len) | |
{ | |
unsigned int a, b; | |
if (adler) | |
{ | |
a = adler & 0x0000ffff; | |
b = (adler >> 16) & 0x0000ffff; | |
} |
NewerOlder