Skip to content

Instantly share code, notes, and snippets.

View donburks's full-sized avatar

Don Burks donburks

View GitHub Profile
@donburks
donburks / holidayobfuscation.js
Created December 22, 2017 19:35 — forked from krsnachandra/holidayobfuscation.js
Submission for LHL holiday obfuscation contest
function g() {
let a='Noel';
let b='Yuletide';
let c='Santa Claus';
let d='Rudolph';
let e='Snowflake';
let f='Occasion';
let g='North Pole';
let h='Christmas Tree';
let i='Joy';

How to pass the OSCP

  1. Recon
  2. Find vuln
  3. Exploit
  4. Document it

Recon

Unicornscans in cli, nmap in msfconsole to help store loot in database.

add(2)(3);
// 5
function add(x) {
return function(y) {
return x + y;
};
}
@donburks
donburks / rails-asset-pipeline.md
Created June 22, 2016 00:16 — forked from vaz/rails-asset-pipeline.md
Breakout lecture notes on the asset pipeline (May 24, 2016)

Rails Asset Pipeline

Lecture by vaz

What is an asset?

Assets are additional resources like images, stylesheets, scripts, fonts, etc. that are loaded when an HTML page is loaded in the browser.

In order to load assets, the browser must make additional HTTP requests for

@donburks
donburks / keybase.md
Created February 19, 2016 04:33
keybase.md

Keybase proof

I hereby claim:

  • I am donburks on github.
  • I am donburks (https://keybase.io/donburks) on keybase.
  • I have a public key whose fingerprint is E398 59BA 39D3 F084 1E32 8437 CF75 66FF 6D87 003B

To claim this, I am signing this object:

/*!
* jQuery Tiny Pub/Sub - v0.X - 11/18/2010
* http://benalman.com/
*
* Original Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*
* Made awesome by Rick Waldron
*

Switch To Vim For Good

Non Optional

  1. Watch the Derek Wyatt videos in order (at least the “Novice” ones for now): http://derekwyatt.org/vim/tutorials/
  2. Read “The Problem with Vim”, just to warn you: http://haldean.org/vim-problems/
  3. Read the first part of this Stack Overflow answer: http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim/1220118#1220118
  4. Read “How to Switch to Vim” by David Bryant Copeland (entirely): http://naildrivin5.com/blog/2013/04/24/how-to-switch-to-vim.html
  5. Read “Coming Home with Vim” by Steve Losh (entirely): http://stevelosh.com/blog/2010/09/coming-home-to-vim/
@donburks
donburks / instance-pollution.js
Last active August 29, 2015 14:12
Non-Instance Safe JS
function Cat(colour, size) {
this.colour = colour;
this.size = size;
}
Cat.prototype.meow = function() {
console.log("Meow");
};
@donburks
donburks / hackathon-technologies.md
Last active August 29, 2015 14:08
How to Hack a Hackathon - Technologies
@donburks
donburks / boo.rb
Last active August 29, 2015 14:08
W1D5 Lecture Notes
require_relative 'monster'
require_relative 'vampire'
blargh = Monster.new("big", "blue", "short")
puts "BLARGH"
blargh.describe
puts "Hey Blargh, what are your horns like again?"
puts "My horns are #{blargh.horns}"