Skip to content

Instantly share code, notes, and snippets.

Tibor Szentmarjay tibu

Block or report user

Report or block tibu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
andyshinn / Dockerfile
Last active Jan 13, 2020
Postal on Docker
View Dockerfile
FROM ruby:2.3-onbuild
VOLUME /opt/postal/config
ENV AM_CONFIG_ROOT /opt/postal/config
RUN gem install procodile
RUN apt-get update -qq && apt-get install -yqq nodejs
cebe /
Last active Dec 28, 2016
command for finding vulnerable files and line of code for finds also really old versions, e.g. 2.0.4.
for file in $(find /var/www |grep class.phpmailer.php) ; do echo $file; grep -ni '%s["'\''], $this->Sender' $file ; done
View mongrel.rb
if ['2.3.8', '2.3.9', '2.3.10', '2.3.11'].include?(Rails.version) && Gem.available?('mongrel', '~>1.1.5') && self.class.const_defined?(:Mongrel)
# Pulled right from latest rack. Old looked like this in 1.1.0 version.
# def [](k)
# super(@names[k] ||= @names[k.downcase])
# end
module Rack
module Utils
You can’t perform that action at this time.