Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Xeldax merlinxcy

🎯
Focusing
Block or report user

Report or block merlinxcy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View generate_ssl_cert.sh
./gencert.sh
Enter your domain [www.example.com]: www.test.com
Create server key...
Generating RSA private key, 1024 bit long modulus
.................++++++
.....++++++
e is 65537 (0x10001)
Enter pass phrase for www.test.com.key:输入口令
Verifying - Enter pass phrase for www.test.com.key:输入口令
Create server certificate signing request...
@merlinxcy
merlinxcy / android7_certs.sh
Created Sep 4, 2019
androidcerts7.0_for_catch_burp
View android7_certs.sh
#!/bin/sh
mkdir certs
cp /usr/lib/ssl/openssl.cnf ./
openssl req -x509 -days 730 -nodes -newkey rsa:2048 -outform der -keyout server.key -out ca.der -extensions v3_ca -config openssl.cnf
openssl rsa -in server.key -inform pem -out server.key.der -outform der
openssl pkcs8 -topk8 -in server.key.der -inform der -out server.key.pkcs8.der -outform der -nocrypt
@merlinxcy
merlinxcy / ida_script_print_hex.py
Created Jul 18, 2019
ida python print hex data
View ida_script_print_hex.py
start = 0x4007E0
end = 0x400800
to_list_int = []
to_list_str = []
for i in range(start,end,1):
print(Byte(i))
print(hex(Byte(i)))
to_list_int.append(Byte(i))
to_list_str.append(hex(Byte(i)))
You can’t perform that action at this time.