Skip to content

Instantly share code, notes, and snippets.

View lillypad's full-sized avatar
🏠
ωοяκιηg ƒяοм нοмε

Lilly Chalupowski lillypad

🏠
ωοяκιηg ƒяοм нοмε
View GitHub Profile
@lillypad
lillypad / mitmpcap
Last active January 12, 2020 04:40
mitmpcap
#!/usr/bin/env bash
DARKGREEN=$'\e[00;32m'
GREEN=$'\e[01;32m'
TEAL=$'\e[00;36m'
DARKGREY=$'\e[01;30m'
CYAN=$'\e[01;36m'
LIGHTGREY=$'\e[00;37m'
RED=$'\e[00;31m'
PINK=$'\e[01;31m'
@lillypad
lillypad / aes.hpp
Created July 29, 2019 02:56
An AES C++ Wrapper
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <openssl/aes.h>
#include <openssl/rand.h>
#define CRYPTO_AES_KEY_LEN_128 128
#define CRYPTO_AES_KEY_LEN_192 192
#define CRYPTO_AES_KEY_LEN_256 256
@lillypad
lillypad / rsa.hpp
Last active March 8, 2024 13:10
OpenSSL RSA Encryption / Decryption C++ Wrapper
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <openssl/rsa.h>
#include <openssl/pem.h>
#include <openssl/err.h>
#define CRYPTO_RSA_KEY_LEN_4096 4096
#define CRYPTO_RSA_KEY_LEN_2048 2048
#define CRYPTO_RSA_KEY_LEN_1024 1024
(load "~/quicklisp/setup.lisp")
(ql:quickload :drakma :silent t)
(ql:quickload :cl-json :silent t)
(defmacro drakma-http-request (url &rest body)
`(map 'string 'code-char (drakma:http-request, url ,@body)))
(defun get-public-ip()
@lillypad
lillypad / stuxnet_stage_1_decryptor.c
Last active September 11, 2018 23:21
Start of Stuxnet Stage 1 Payload Decryptor
/* Stuxnet First Stage Decryptor (in progress) */
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#define PAYLOAD_SIZE 0x79a00
bool unpack_stage_1(char *payload, int payload_size){
/*
@lillypad
lillypad / recon-bin.sh
Created March 18, 2018 12:53
recon-bin
#!/usr/bin/env bash
bin=$1
db=$2
useragent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
joblimit=1
DARKGREEN=$'\e[00;32m'
GREEN=$'\e[01;32m'
TEAL=$'\e[00;36m'
@lillypad
lillypad / keybase.io
Created November 28, 2017 23:46
keybase.io
### Keybase proof
I hereby claim:
* I am lillypad on github.
* I am lillypad (https://keybase.io/lillypad) on keybase.
* I have a public key ASBdx8k3r3qta86tyf-UPQX12GF4oNqi6JBTb_KU2Mv_-Qo
To claim this, I am signing this object: