Skip to content

Instantly share code, notes, and snippets.

View matthewboman's full-sized avatar

Matthew Boman matthewboman

  • asheville, north carolina
View GitHub Profile
@ferristseng
ferristseng / bailbloc-linux.sh
Last active December 12, 2017 13:42
Contribute to bailbloc from linux
# In the bailbloc repo, you can find the prebuilt XMRig binaries in:
#
# bailbloc/desktop/miner_binaries/
#
# This command is derived from the file:
#
# bailbloc/miner.js
#
# Donate level is automatically set to 5% if not specified, but you can reduce it
# to 1% if you want the maximum amount of time going towards bailbloc.
@m1st0
m1st0 / php_build_ubuntu.sh
Last active November 25, 2023 07:33
Compiling PHP 8 on Ubuntu 22.10 with Various Supported Modules
#!/bin/bash
# PHP 8 Compile #
# Author: Maulik Mistry
# Please share support: https://www.paypal.com/paypalme/m1st0
# References:
# http://www.zimuel.it/install-php-7/
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu
# root-talis https://gist.github.com/root-talis/40c4936bf0287237839ccd3fdfdaec28
#
@blelump
blelump / aws_signed_request_v4.rb
Last active December 8, 2022 15:51
Sample Ruby code to create AWS signed request version 4 (with request headers)
#Signing AWS Requests By Using Signature Version 4
#http://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html
require 'uri'
require 'openssl'
require 'net/http'
require 'cgi'
method = 'GET'
service = 'iam'
@mchow01
mchow01 / mongodb_injection_nodejs.txt
Last active December 12, 2021 23:27
MongoDB Request Injection Attack in Node.js + Express Web Applications
Overview
========
Students in my Web Programming class (G. Brown, S. Prassad, et al)
discovered that MongoDB request injection attacks also work on Node.js
+ Express web applications. MongoDB request injection attacks have
been known for PHP web applications.
Impact
======
Attacker can view and download all the data in a MongoDB database