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
from pwn import * | |
#context.log_level = 'debug' | |
SEED=0 | |
def Set6b33(R0): | |
global SEED | |
K = R0 | |
T = R0 | |
for i in range(K): | |
r9 = (((i << 0x17) & 0x7ffffff)) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 sys | |
from struct import unpack,pack | |
from Crypto.Cipher import AES | |
from Crypto.PublicKey import RSA | |
from Crypto.Cipher import PKCS1_v1_5 | |
if __name__ == "__main__": | |
if len(sys.argv) != 3: | |
print(f"{sys.argv[0]} Encrypted File decrypt_key.pem") | |
sys.exit() |
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 html | |
import http.client | |
import io | |
import os | |
import socket # For gethostbyaddr() | |
import sys | |
import urllib.parse | |
import contextlib | |
import re | |
import http.server |