Skip to content

Instantly share code, notes, and snippets.

View tibbon's full-sized avatar

David Fisher tibbon

View GitHub Profile
@tibbon
tibbon / keepass2john.py
Last active August 22, 2024 01:06 — forked from scottlinux/keepass2john.py
Python 3 port of John the Ripper's keepass2john - extracts a HashCat/john crackable hash from KeePass 1.x/2.X databases
#!/usr/bin/env python3
# Python port of keepass2john from the John the Ripper suite (http://www.openwall.com/john/)
# ./keepass2john.c was written by Dhiru Kholia <dhiru.kholia at gmail.com> in March of 2012
# ./keepass2john.c was released under the GNU General Public License
# source keepass2john.c source code from: http://fossies.org/linux/john/src/keepass2john.c
#
# Python port by @harmj0y, GNU General Public License
# Updated for Python 3.12+ compatibility
#

Keybase proof

I hereby claim:

  • I am tibbon on github.
  • I am tibbon (https://keybase.io/tibbon) on keybase.
  • I have a public key whose fingerprint is 88AE 0759 FBF3 36DD 30EC 92D3 7C62 5A2C C913 3124

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am tibbon on github.
  • I am tibbon (https://keybase.io/tibbon) on keybase.
  • I have a public key whose fingerprint is B234 4A25 8C8E D30E 8FA0 D104 6723 7CA6 BD17 D4D5

To claim this, I am signing this object:

@tibbon
tibbon / silly_page.md
Created March 4, 2015 17:04
Silly Page

SETUP

Create a new organization with a group name (this is public, so don't make it anything terrible) Create a new Github repo and all all group members to it Everyone create a fork of it

Features

Now, create the appropriate feature branches and move through this program:

@tibbon
tibbon / git_circus.md
Created March 4, 2015 15:33
Git Circus

SETUP -

Create a new organization with a group name (this is public, so don't make it anything terrible) Create a new Github repo and all all group members to it Everyone create a fork of it

Now, create the appropriate branches and move through this story:

You're writing a story about a current event and using Github to help organize it. The story will be in a file that someone creates called storytime.md

@tibbon
tibbon / bubble_sort.c
Created December 3, 2014 15:34
Bubble Sort in C
#include <stdio.h>
#define ARRAYSIZE 8
void bubble_srt(int unsortedArray[], int arraySize) {
int temp;
for(int i = 0; i < arraySize; i++) {
for(int j = 0; j < (arraySize - 1); j++) {
@tibbon
tibbon / ruby_bytecode_view.rb
Created November 11, 2014 20:22
Viewing Ruby Bytecode
code = <<SRC
puts "Hello World"
SRC
bytecode = RubyVM::InstructionSequence.compile(code)
puts bytecode.disasm
@tibbon
tibbon / map_each_array.rb
Created September 24, 2014 18:02
Ruby Array Map and Each
# .each is pretty easily, and simply loops through the array.
colors = ["red", "green", "blue"]
colors.each do |color|
puts color
end
# What is the "return value" of each?
@tibbon
tibbon / method_scope_exercises.rb
Created September 24, 2014 16:12
WDI Method and Scope Exercises
####
# Exercise 1
# What bug prevents the circle circumference from being calculated in the code section below?
# How can you prevent such a bug in the future?
####
def circumference(r)
return 2 * pi * r
end