Skip to content

Instantly share code, notes, and snippets.

View CalfCrusher's full-sized avatar
Pwning

Christopher CalfCrusher

Pwning
View GitHub Profile
@CalfCrusher
CalfCrusher / python-script-template.py
Created April 4, 2022 16:28 — forked from dkarchmer/python-script-template.py
Python Script Template with logging and arguments
import sys
import os
import argparse
import getpass
import logging
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
logger = logging.getLogger('upload_bom')
if __name__ == '__main__':
@CalfCrusher
CalfCrusher / shellcode.c
Created April 3, 2022 20:04 — forked from darkerego/shellcode.c
wrapper for msf shellcode
/*
Deamonized ShellCode Wrapper
To compile:
$ gcc -fno-stack-protector -z execstack shellcode.c -o shellcode
*/
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/mman.h>
@CalfCrusher
CalfCrusher / pycat.py
Created September 24, 2021 09:54 — forked from Ludisposed/pycat.py
#!/usr/bin/env python3
import argparse
import datetime
from functools import wraps
import socket
from ssl import wrap_socket, create_default_context, CERT_NONE
import sys
import subprocess
import tempfile

Keybase proof

I hereby claim:

  • I am CalfCrusher on github.
  • I am calfcrusher (https://keybase.io/calfcrusher) on keybase.
  • I have a public key whose fingerprint is AED3 14DE 02E0 1CDD 47FA 149D 807E 485C 9B9B D04E

To claim this, I am signing this object: