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 python3 | |
# -*- coding: utf-8 -*- | |
# Requires pycryptodome | |
import sys, os | |
if sys.version_info.major<3: | |
sys.stderr.write("Python3 required\n") | |
sys.exit(0) |
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
$file = "C:\Program Files (x86)\Steam\steamapps\common\Hollow Knight\hollow_knight_Data\Managed\Assembly-CSharp.dll" | |
Write-Output $file | |
$bytes = [System.IO.File]::ReadAllBytes($file) | |
$filehash = (Get-FileHash $file).Hash | |
$version_1_4_3_2 = [System.Text.Encoding]::Unicode.GetString($bytes[0x335242..0x33524f]) | |
$hash_1_4_3_2 = "52209E09379BCE385473DECA8689369D8843BBBCA5DD93ED9140ED2CE3F48A11" | |
$hash_patched_1_4_3_2 = "FBC928427818A08DC71B91920C63CD735D41A8C4E139904C907AC6ED0B310DAD" | |
$version_1_5_78_11833 = [System.Text.Encoding]::Unicode.GetString($bytes[0x2f7284..0x2f729b]) | |
$hash_1_5_78_11833 = "FCC01E0DF1B841A8FAF6B5E39F27030F63204AD02F430B3DEFA262134AE4E8A0" |
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
#/bin/bash | |
session=ntlmscript | |
if [ -z "$1" ]; then | |
echo "No hashfile supplied" | |
exit | |
fi | |
hashfile=$1 | |
if [ ! -f $hashfile ]; then | |
echo "[ERROR] File not exists." |
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
import os | |
import sys | |
import time | |
import struct | |
import select | |
import binascii | |
import bluetooth | |
from bluetooth import _bluetooth as bt |
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
#!/bin/env python | |
""" | |
Python implementation of Bruce Schneier's Solitaire Encryption | |
Algorithm. | |
John Dell'Aquila <[email protected]> | |
@jesux | |
- Final deck decrypt | |
- Set deck order without passphrase |