Skip to content

Instantly share code, notes, and snippets.

@kwilczynski
kwilczynski / Vagrantfile
Last active May 11, 2022 13:51
Vagrant box ubuntu/focal64 and Ubuntu 20.04 freezing on vagrant up - fix by enabling serial console writing to /dev/null.
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/focal64"
config.vm.provider "virtualbox" do |vb|
vb.customize [ "modifyvm", :id, "--uartmode1", "file", "/dev/null" ]
end
end
@takeshixx
takeshixx / hb-test.py
Last active September 24, 2024 14:45
OpenSSL heartbeat PoC with STARTTLS support.
#!/usr/bin/env python2
"""
Author: takeshix <takeshix@adversec.com>
PoC code for CVE-2014-0160. Original PoC by Jared Stafford (jspenguin@jspenguin.org).
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP.
"""
import sys,struct,socket
from argparse import ArgumentParser
@hubert3
hubert3 / samsung_hash_crack.py
Last active September 24, 2024 14:47
Python implementation of passcode hashing algorithm used on the Samsung Galaxy S4 GT-I9505 4.2.2
#!/usr/bin/python
'''
Python implementation of passcode hashing algorithm used on the Samsung Galaxy S4 GT-I9505 4.2.2
Correct PIN for hash and salt below is 1234.
Get 40-character hash value in ascii hex format from file /data/system/password.key on the phone
Get salt in signed numeric format by doing sqlite3 query SELECT value FROM locksettings WHERE name = 'lockscreen.password_salt' on /data/system/locksettings.db
@epixoip
epixoip / 8x290X
Last active August 21, 2017 10:52
World's First 8x R9 290X oclHashcat Benchmark
System: Sagitta Brutalis (S2480-RAD-290X) with 8x 290X
https://sagitta.systems/hardware/gpu-compute-nodes/brutalis/
epixoip@token:~/oclHashcat-1.00$ od6config --list
Adapter 0: AMD Radeon R9 290 Series
Adapter 1: AMD Radeon R9 290 Series
Adapter 2: AMD Radeon R9 290 Series
Adapter 3: AMD Radeon R9 290 Series
@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007