Skip to content

Instantly share code, notes, and snippets.

View daggerhashimoto's full-sized avatar
🧦
Swaggin

lil reentrant daggerhashimoto

🧦
Swaggin
View GitHub Profile
#!/usr/bin/python
from Crypto.Cipher import AES
import binascii
import string
import itertools
# given
bKEY = "5d6I9pfR7C1JQt"
@daggerhashimoto
daggerhashimoto / keybase.md
Last active January 10, 2016 21:29
I'm legit bro

Keybase proof

I hereby claim:

  • I am CD0x23 on github.
  • I am cagindonmez (https://keybase.io/cagindonmez) on keybase.
  • I have a public key whose fingerprint is 7B54 A7C8 8912 8004 21A0 7CC8 CDD1 30E7 E0F2 A3CC

To claim this, I am signing this object:

function fail2unban() { for j in $(fail2ban-client status | grep "list:" | tr "\t" "\n" | sed -n 2p | tr -d "[:space:]" | tr "," "\n"); do fail2ban-client set $j unbanip $1; done;}
File Duration Encryption Method
770 Mb Zip 0.3s xSalsa20
13 Kb PNG 0.120s xSalsa20
@daggerhashimoto
daggerhashimoto / trng.c
Created December 24, 2015 12:52
True Random Number Generator
int getRandomNumber(){
return 4;
// https://xkcd.com/221/
}
@daggerhashimoto
daggerhashimoto / dropper.html
Last active January 2, 2016 17:58
Drop file to Downloads folder without browser asking the user. (Works on Chrome and Microsoft Edge)
<html>
<iframe src="version.dll"></iframe>
</html>
import math
tickrate = 100
firerate = 0.1 # ak47 firerate (seconds)
seconds = 2 # nr of seconds to run spraying simulation
def inacc():
with open('CSinaccuracypre2.csv', 'w') as file: