Skip to content

Instantly share code, notes, and snippets.

View gionniboy's full-sized avatar
🩸
🙅 🚗 ⛰️ 🔽

Giovanni Pullara gionniboy

🩸
🙅 🚗 ⛰️ 🔽
View GitHub Profile
@gionniboy
gionniboy / phabricator_readme.md
Created November 27, 2016 12:31 — forked from sparrc/phabricator_readme.md
Phabricator Ubuntu Installation Guide

Phabricator Ubuntu Installation Guide

This is a supplement to the official Phabricator Installation Guide, because their guide will leave you with all kinds of permission and config errors and ~15,000 setup issues on startup.

Install bonus packages:

# apt-get install mercurial subversion python-pygments sendmail imagemagick

Create necessary users and add phd-user to sudoers:

@gionniboy
gionniboy / rest-server.py
Created November 17, 2016 00:50 — forked from miguelgrinberg/rest-server.py
The code from my article on building RESTful web services with Python and the Flask microframework. See the article here: http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask
#!flask/bin/python
from flask import Flask, jsonify, abort, request, make_response, url_for
from flask.ext.httpauth import HTTPBasicAuth
app = Flask(__name__, static_url_path = "")
auth = HTTPBasicAuth()
@auth.get_password
def get_password(username):
if username == 'miguel':
@gionniboy
gionniboy / nginx.conf
Created November 16, 2016 23:51 — forked from phpdude/nginx.conf
Nginx image filter + caching of results.
location /resize {
alias /tmp/nginx/resize;
set $width 150;
set $height 100;
set $dimens "";
if ($uri ~* "^/resize_(\d+)x(\d+)/(.*)" ) {
set $width $1;
set $height $2;
set $image_path $3;
{
"pongs" : [
"ma dici a me? Ehi con chi stai parlando? Dici a me?",
"c'è qualcun altro qui? Stai parlando con me?",
"non nominare il nome di Dio invano",
"tutti con me c'avete oggi??",
"dimmi, stavo sognando tua cuggina",
"devo dire a tutti quanto sei bravo col flauto salato?",
"vai a giocare a mosca cieca sull'autostrada, su",
"toh un bug, indovina git blame chi sta indicando?",
#!/usr/bin/perl
package Bottarga;
use warnings;
use strict;
use utf8;
use LWP;
use JSON::XS;
package main
import (
"errors"
"strconv"
"log"
"regexp"
"strings"
"math/rand"
"os"
@gionniboy
gionniboy / mobile-first.md
Created August 14, 2016 20:17 — forked from JosefJezek/mobile-first.md
Mobile First
@gionniboy
gionniboy / JSRat.ps1
Created January 25, 2016 12:45
Fileless JavaScript Reverse HTTP Shell
<#
Author: Casey Smith @subTee
License: BSD3-Clause
.SYNOPSIS
Simple Reverse Shell over HTTP. Execute Commands on Client.
@gionniboy
gionniboy / raceabrt.c
Last active August 29, 2015 14:26 — forked from taviso/raceabrt.c
Race condition exploit for CVE-2015-1862
#include <stdlib.h>
#include <unistd.h>
#include <stdbool.h>
#include <stdio.h>
#include <signal.h>
#include <err.h>
#include <string.h>
#include <alloca.h>
#include <limits.h>
#include <sys/inotify.h>