Skip to content

Instantly share code, notes, and snippets.

View pantulis's full-sized avatar

Juan Lupion pantulis

View GitHub Profile
@gaizka
gaizka / null_param_patch_for_rails_2_series.rb
Created June 5, 2012 16:57
Patch for Rails null param vulnerability (CVE-2012-2660) ported to Rails 2.3.x versions
# Adapted patch for CVE-2012-2660 rails vulnerability to Rails 2 versions
# https://groups.google.com/group/rubyonrails-security/browse_thread/thread/f1203e3376acec0f
#
# 1- Drop it at your_app/config/initializers/
# 2- Remember to pass your tests/specs
# 3- Profit!
module ActionController
class Request < Rack::Request
alias_method :normalize_parameters_with_null_vulnerability, :normalize_parameters
@fxn
fxn / authors of electronic music
Created July 19, 2010 19:32
Recommendations of authors/groups of electronic music
Moby
Enigma - Enigma 3
Hooverphonic
Koop
Au Revoir Simone
The XX
Gotan Project
Air
The Virgin Suicides
Goldfrapp