Skip to content

Instantly share code, notes, and snippets.

View adibenc's full-sized avatar
🎯
Focusing

M Adib zamzam adibenc

🎯
Focusing
View GitHub Profile
@adibenc
adibenc / solve.py
Created August 10, 2019 04:45
babyrsa
# n = 2531257
# d = 58739
# acip=[906851,991083,1780304,2380434,438490,356019,921472,822283,817856,556932,2102538,2501908,2211404,991083,1562919,38268]
e = 0x10001
# 65537
n = 0x54012066b18843995165c3c0d783aa9e31e796f6928ea4bfe0728b1d1bad6271
# 37996269752553143762620204978239299540564965267273808381787520677145280864881
#194926318778540379438386258755918352359**2
n = 0x54012066b18843995165c3c0d783aa9e31e796f6928ea4bfe0728b1d16271
@adibenc
adibenc / flagize.py
Created August 9, 2019 09:12
ctf Flagger
#!/usr/bin/python
# autoflag your text
import random
charset={
" ":["_"],
"!":["!"],
"\"":["\""],
"#":["#"],
"$":["$"],
@adibenc
adibenc / tmux.md
Created March 4, 2018 14:08 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a