Skip to content

Instantly share code, notes, and snippets.

View AmitGupta7580's full-sized avatar
😴
sleeping

Amit Gupta AmitGupta7580

😴
sleeping
View GitHub Profile
import airsimneurips
import airsim
import time
import socket
import numpy as np
# Network Configuration
################
HOST = "192.168.29.186"
PORT = 2222
@mjmckinnon
mjmckinnon / rsa_crt_recovery.py
Last active March 23, 2024 09:11
Recovery of a full RSA PrivateKey from only the CRT exponent1 (dP) and exponent2 (dQ)
#!/usr/bin/python
# Written by: Michael McKinnon @bigmac
# Get in contact with me if you found this useful
import os
import sys
import gmpy2
from Crypto.PublicKey import RSA
from Crypto.Cipher import PKCS1_v1_5