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.Net; | |
using System.Net.Security; | |
using System.Net.Sockets; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace X509Test | |
{ |
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
void __fastcall sun8i_ths_get_temp(int a1) | |
{ | |
int v1; | |
int v2; | |
int *v3; | |
int *v4; | |
int v5; | |
int (__fastcall *v6)(_DWORD); | |
int v7; | |
int v8; |
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
obj-m += ar100.o | |
all: | |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
clean: | |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean |
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
# install requirements: pip3 install pycryptodome hashlib | |
import sys, os | |
from binascii import unhexlify, hexlify | |
from hashlib import md5, sha256 | |
from Crypto.Cipher import AES | |
# default setting, "openssl enc" pre v1.1.0 | |
def kdf_aes256_md5(pwd, salt): | |
h1 = md5(pwd + salt).digest() |