Skip to content

Instantly share code, notes, and snippets.

View KatsuroKurosaki's full-sized avatar

Katsuro Kurosaki KatsuroKurosaki

View GitHub Profile
== Hardware
I will use a dedicated machine, no virtualization or containers, just raw performance.
CPU: Intel(R) Core(TM) i7-7700 @ 3.60GHz
RAM: 2 x 8192Mb DDR4 @ 2133 MT/s
HD: KINGSTON SA400S3 SSD @ 240 Gb
== OS Install & configuration
Let's start with an "Expert install", following the installation steps:
@KatsuroKurosaki
KatsuroKurosaki / phpVirtualBox Debian 8 Install Script
Created November 15, 2016 07:54 — forked from brahmlower/phpVirtualBox Debian 8 Install Script
This is a script to install VirtualBox and phpVirtualBox on a headless Debian 8 machine.
#!/bin/bash
# Author: Brahm Lower
# Name: phpVirtualBox Debian 8 Install Script
# Source: https://gist.github.com/bplower/b7e193fc3861e964c367/
# Prerequisite Packages:
# bash, openssl, cat, grep, echo, wget, apt-key, apt-get, useradd, usermod, passwd, mv, cp, sed, systemctl
# Installed Packages:
# build-essential, dkms, unzip, apache2, php5, php5-mysql, libapache2-mod-php5, php-soap, virtualbox-5.0
# Description:
# This is a script to install VirtualBox and php VirtualBox on a headless Debian 8 machine.
@KatsuroKurosaki
KatsuroKurosaki / tor_curl.php
Created January 10, 2016 12:56 — forked from zachflower/tor_curl.php
How To Anonymize PHP cURL Requests Using Tor
<?php
$ip = '127.0.0.1';
$port = '9051';
$auth = 'PASSWORD';
$command = 'signal NEWNYM';
$fp = fsockopen($ip,$port,$error_number,$err_string,10);
if(!$fp) { echo "ERROR: $error_number : $err_string";
return false;