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
| // Author: Omdihar | |
| #include "HwidSpoofer.h" | |
| #include "SystemRoutines.h" | |
| #include <ntddstor.h> | |
| #include <Ntdddisk.h> | |
| PDRIVER_DISPATCH OldIrpMj; | |
| char NumTable[] = "123456789"; |
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 base64 | |
| from Crypto import Random | |
| from Crypto.Cipher import AES | |
| BS = 16 | |
| pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS) | |
| unpad = lambda s : s[0:-s[-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
| @echo off | |
| setlocal EnableDelayedExpansion | |
| ver | find "10." > nul | |
| if errorlevel 1 ( | |
| echo Your Windows version is not Windows 10... yet. Brace yourself, Windows 10 is coming^^! | |
| pause | |
| exit | |
| ) |
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
| def _pad(text, block_size): | |
| """ | |
| Performs padding on the given plaintext to ensure that it is a multiple | |
| of the given block_size value in the parameter. Uses the PKCS7 standard | |
| for performing padding. | |
| """ | |
| no_of_blocks = math.ceil(len(text)/float(block_size)) | |
| pad_value = int(no_of_blocks * block_size - len(text)) | |
| if pad_value == 0: |