Skip to content

Instantly share code, notes, and snippets.

View KSHMK's full-sized avatar

KSHMK KSHMK

View GitHub Profile
@KSHMK
KSHMK / uploadhttpserver.py
Created December 31, 2021 07:39
upload file simple http server
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
@KSHMK
KSHMK / decrypt.py
Last active January 7, 2022 13:24
A research on file decryption through memory dumps at ransomware Code
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()
@KSHMK
KSHMK / 1.PNG
Last active June 25, 2018 14:15
2018 Whitehat Apple Write UP
1.PNG
@KSHMK
KSHMK / 1.PNG
Last active June 25, 2018 12:38
2018 Whitehat Melon Write UP
1.PNG
@KSHMK
KSHMK / 1.PNG
Last active June 25, 2018 12:47
2018 Whitehat grape Write UP
1.PNG
@KSHMK
KSHMK / 1.PNG
Last active June 24, 2018 17:48
2018 Whitehat Babymips writeup
1.PNG
@KSHMK
KSHMK / CrackMe WriteUP.pdf
Last active March 20, 2018 04:07
CrackME WriteUP
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@KSHMK
KSHMK / flagy_solve.py
Last active December 15, 2017 09:17
Flagy WriteUp PIC
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))
@KSHMK
KSHMK / 1.PNG
Last active November 19, 2017 06:25
CATDROID WriteUp PIC
1.PNG
@KSHMK
KSHMK / 1.PNG
Last active November 19, 2017 05:51
Zeratul WriteUp PIC
1.PNG