Skip to content

Instantly share code, notes, and snippets.

View 0xdevalias's full-sized avatar
👀
Open to opportunities

Glenn 'devalias' Grant 0xdevalias

👀
Open to opportunities
View GitHub Profile
@0xdevalias
0xdevalias / JavaScalaFuturePromiseMap.md
Last active November 6, 2015 03:38
A side by side comparison (now that I finally got it figured out!) of Play Framework v2.2.x promise unwrapping in Java and Scala.

Java/Scala Future/Promise Map

A side by side comparison (now that I finally got it figured out!) of Play Framework v2.2.x promise unwrapping in Java and Scala.

Java

  public Promise<ObjectNode> getEmployees(final Optional<String> filterEmail)
	{
		// Call the webservice
@0xdevalias
0xdevalias / nyaan.md
Last active December 3, 2015 11:33
Nyaan cat js console hacks for dogedraw.com

Dogedraw, now with more Nyaan!

Paste these functions into the js console on https://dogedraw.firebaseapp.com and run them to nyaan nyaan nyaan..

Developed at http://hs.hact.io 2015!!

function clearScreen(w, h, color) {
  var pixelDataRef = new Firebase('https://dogedraw.firebaseio.com/pixels');
  for (var i = 0; i < h; i++) {
@0xdevalias
0xdevalias / sidepanel-slidemenu-options.md
Last active December 14, 2015 16:19
A gist to keep track of the slide/side menu/panel implementations I come across in some kind of central/manageable way
@0xdevalias
0xdevalias / delegates-chaining-notifications.md
Last active December 14, 2015 16:19
Some info/links I found useful in regards to iOS Delegates, Delegation Chaining and Notifications
@0xdevalias
0xdevalias / 1_console
Last active December 18, 2015 13:38
Things I learned the hard way with Rails # 1. Generate your model, make all manual edits, and only AFTER you have done this, run rake db:migrate
rails g model identity name:string email:string password_digest:string
@0xdevalias
0xdevalias / homebrew-metasploit-custom-requirement-example.rb
Created November 17, 2013 08:42
Example of how to create/use a custom requirement for homebrew (in this case, checking the version of the installed ruby version) Note: Code isn't necessarily 100% complete/clean, but should give you the basic idea.
require 'formula'
require 'requirement'
class Ruby192EqualGreater < Requirement
fatal true
# default_formula 'ruby'
satisfy {
ruby_ver_required = Version.new('1.9.2')
@0xdevalias
0xdevalias / README.md
Last active December 28, 2015 20:09
vFeed (https://github.com/toolswatch/vfeed) wrapper/helper scripts I put together to save a little time. For more info, see http://blog.devalias.net/post/67532513020/vfeed-wrapper-helper-scripts-for-speed-and-efficiency
@0xdevalias
0xdevalias / 1_OnapsisBizsploitNotes-README.md
Last active December 31, 2015 11:39
A collection of notes/exceptions/issues I've encountered while using Onapsis Bizsploit.

Onapsis Bizsploit Notes/Exceptions/Issues

A collection of notes/exceptions/issues I've encountered while using Onapsis Bizsploit.

@0xdevalias
0xdevalias / LairDrone-Bizsploit-bin-drone-bizsploit.
Created December 18, 2013 00:29
Lair Drone for Bizsploit (rough hacky storage till i create a proper repo)
#!/usr/bin/env python
# Copyright (c) 2013 Glenn 'devalias' Grant
import os
import sys
##############
# /dev/alias Import path hack for ./drone-bizsploit
##############
import pprint
mypath = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..'))
@0xdevalias
0xdevalias / erpscan_automator.bat
Last active September 24, 2016 15:55
A quick little windows batch file to automate scanning a site with [ERPScan SAP Pentesting Tool](http://erpscan.com/products/erpscan-pentesting-tool/)
@echo off
@rem ----------------
@rem Config - Banner
@rem ----------------
set BAT_VER=0.1 (20130703)
set BANNER_DASH=--------------------------------
set BANNER_NAMEVER=Erpscan Automator v%BAT_VER%
set BANNER_BY=Created By: Glenn 'devalias' Grant (http://devalias.net)
set BANNER_UPDATES=Updates at: https://gist.github.com/alias1/6118709
set BANNER_LICENSE=License: The MIT License (MIT) - Copyright (c) 2013 Glenn 'devalias' Grant (see http://choosealicense.com/licenses/mit/ for full license text)