Skip to content

Instantly share code, notes, and snippets.


Vpnwall Services vpnwall-services

View GitHub Profile
scrapehero /
Last active Jan 26, 2021
Python script to scrape a company details from a public company page on Written as part of How to Scrape educational post -
from lxml import html
import csv, os, json
import requests
from exceptions import ValueError
from time import sleep
def linkedin_companies_parser(url):
for i in range(5):
UniIsland /
Created Aug 14, 2012
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
ScottPhillips / .htaccess
Created Feb 2, 2012
Common .htaccess Redirects
View .htaccess
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php
#Redirect an entire site:
Redirect 301 /
#Redirect an entire site to a sub folder
Redirect 301 /
rvrsh3ll / xxsfilterbypass.lst
Last active Jan 21, 2021
XSS Filter Bypass List
View xxsfilterbypass.lst
<IMG SRC="javascript:alert('XSS');">
<IMG SRC=javascript:alert('XSS')>
ctolsen /
Last active Jan 3, 2021
"Copy to cURL" in Chrome to Apache Bench command
#!/usr/bin/env python3
import sys
import os
def curl_to_ab(curl_cmd: list, num: int=200, cur: int=4) -> str:
Translate a cURL command created by Chrome's developer tools into a
command for ``ab``, the ApacheBench HTTP benchmarking tool.
sourcec0de / haproxy.cfg
Created Oct 18, 2016
Here's a sample WORKING haproxy config for websockets / socketio. We were able to get socketio working on an Amazon ELB with just one node, but when we added multiple nodes, we saw weird client issues. So, we decided to use HAProxy on Ubuntu 12.04 and spent significant time trying to get just the right configuration (haproxy.cfg). Note though th…
View haproxy.cfg
log local0
log global
option httplog
frontend unsecured *:80
mgeeky /
Last active Dec 26, 2020
Python's Pickle Remote Code Execution payload template.
# Pickle deserialization RCE payload.
# To be invoked with command to execute at it's first parameter.
# Otherwise, the default one will be used.
import cPickle
import sys
import base64
AdamOssenford /
Created Jan 18, 2016
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file


First one found from of

bugcy013 / logstach Examples
Created Apr 26, 2014
logstach Examples collection
View logstach Examples
Example -1
input {
file {
path => [ "/usr/local/var/log/suricata/eve.json", "/var/log/ulogd.json" ]
codec => json
type => "json-log"
bwbaugh /
Last active Nov 26, 2020
Installing logstash server and client

Installing logstash

Server install


Install the Java prerequisite: