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 <iostream> | |
#include <fstream> | |
#include <memory> | |
#include <string> | |
#include <algorithm> | |
void process_crypt_table(unsigned *crypt_table) | |
{ | |
for (auto i = 0; i < 227; i++) | |
{ |
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.IO; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var listFile = "list.txt"; | |
var hashFile = "crc32.sfv"; |
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 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"; |
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.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); |
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; | |
partial class Program | |
{ | |
/* | |
.SYNOPSIS | |
Compute Amazon S3 ETag for a local file | |
.DESCRIPTION |
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.Runtime.InteropServices; | |
namespace CakeTest | |
{ | |
class Program | |
{ | |
[DllImport("Cake")] | |
private static extern IntPtr GetHttpEncryptHeader(); |
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 <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); |
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.IO; | |
using System.Linq; | |
using System.Text; | |
namespace iatpecker | |
{ | |
class Program | |
{ |
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 <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; | |
} |
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
#pragma once | |
#define IMG_OPEN_NEW 1 | |
#define IMG_OPEN_READ 2 | |
#define IMG_OPEN_WRITE 3 | |
#define IMG_KEYIV_SIZE 0x20 | |
#define IMG_SIGNATURE_SIZE 0x200 | |
#define IMG_BLOCK_SIZE 0x1000 | |
#define IMG_BOOT_INFO_SIZE 0x2800 |