Skip to content

Instantly share code, notes, and snippets.

View ryanbreed's full-sized avatar

Ryan Breed ryanbreed

  • Austin, Tx
View GitHub Profile
@ryanbreed
ryanbreed / crxcagrepper.py
Created April 10, 2020 22:32 — forked from sooshie/crxcagrepper.py
Download multiple versions of Chrome extension source from crxcavator.io and run a string search on the files.
# Python 3
# Sometimes hunting for strings in a bunch of different browser extensions and their many versions can be a pain.
# This will call out to crxcavator.io, pull the versions and sources. Then just run a simple string match on it.
# Surprisingly, it works.
#
# sooshie@gmail.com
import requests
import json
@ryanbreed
ryanbreed / burp.sh
Created March 19, 2017 18:26 — forked from libcrack/burp.sh
Burp suite starter
#!/bin/bash
# devnull@libcrack.so
# vie nov 8 08:45:35 CET 2013
# mar ene 21 23:14:46 CET 2014
java="$(which java)"
version="$($java -version 2>&1 | head -1 | cut -f2 -d\")"
myself="$(realpath ${0#-*})"
workdir="$(dirname $myself)"
#!/bin/sh
# in case it's already installled
vagrant plugin uninstall vagrant-libvirt
# vagrant's copy of curl prevents the proper installation of ruby-libvirt
sudo mv /opt/vagrant/embedded/lib/libcurl.so{,.backup}
sudo mv /opt/vagrant/embedded/lib/libcurl.so.4{,.backup}
sudo mv /opt/vagrant/embedded/lib/libcurl.so.4.4.0{,.backup}
sudo mv /opt/vagrant/embedded/lib/pkgconfig/libcurl.pc{,.backup}
require 'tokyocabinet'
require 'dm-core'
include TokyoCabinet
# Hacky overriding for destroy because the original method was constantly
# reporting a new record and failing to pass a valid query to the delete method.
module DataMapper
module Resource
def destroy
return false unless repository.delete({:model => model, :id => id})