Skip to content

Instantly share code, notes, and snippets.

Avatar

cara marie bones-codes

  • iSEC Partners
  • north carolina
View GitHub Profile
View secure_osx.sh
#!/bin/bash
# This script should be run prior to connecting to a network.
# https://github.com/drduh/OS-X-Security-and-Privacy-Guide
# For El Capitan, you'll need to disable SIP for a few settings
# To disable SIP, do the following:
# 1. Startup while pressing Cmd+R to enter Recovery mode
# 2. Open Utilities->Terminal
# 3. Run the command "csrutil disable"
# 4. Reboot, you'll land in the normal OS with SIP disabled
# 5. Run this script
View keybase.md

Keybase proof

I hereby claim:

  • I am bones-codes on github.
  • I am bones (https://keybase.io/bones) on keybase.
  • I have a public key ASB3_ImNYKmqC-rsBEYDGsXedZ1MJReJ62InSr-lSEnzUwo

To claim this, I am signing this object:

@bones-codes
bones-codes / checksum
Last active Aug 29, 2015
Command line program to compare checksums.
View checksum
#!/usr/bin/python
from argparse import ArgumentParser, RawDescriptionHelpFormatter
import subprocess
OKGREEN = '\033[36m'
FAIL = '\033[91m'
ENDC = '\033[0m'
def compare(dfile, csm, check):
@bones-codes
bones-codes / gencc
Created Feb 17, 2014
A slight modification of Graham King's darkcoding credit card generator.
View gencc
#!/usr/bin/env python
"""
gencc: A simple program to generate credit card numbers that pass the MOD 10 check
(Luhn formula).
Useful for testing e-commerce sites during development.
Copyright 2003 Graham King
This program is free software; you can redistribute it and/or modify
@bones-codes
bones-codes / findEventNo.
Last active Dec 22, 2015
locate /dev/input/event no. with popen()
View findEventNo.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
char event_path[30];
char *get_event_path(void){
FILE *event_num;
char data[10];