Skip to content

Instantly share code, notes, and snippets.


Vpnwall Services vpnwall-services

View GitHub Profile
mixonic / server.js
Created Apr 28, 2011
Node.js + + Bash. A collaborative terminal for your browser.
View server.js
// This server will start a bash shell and expose it
// over to a browser. See ./term.html for the
// client side.
// You should probably:
// npm install
// curl -O
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 /
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.
antics / gist:4079584
Created Nov 15, 2012
Login to Wordpress with curl
View gist:4079584
curl -D cookie1.txt
# step 1
# get default cookie of blog and write cookie to cookie1.txt
# step 2
# simulate browser Firefox( of course , you can use any browser agent<!--more--> what you want!) "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070725 Firefox/"
# input your username and also password
# write new cookie to cookie2.txt
curl -A "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070725 Firefox/" -D cookie2.txt -b cookie1.txt -F log=username -F pwd=password -F testcookie=1 -F wp-submit="Log In" -F -F submit=login -F rememberme=forever
# currently cookie2.txt stored all cookie info
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"
carnal0wnage /
Last active Apr 19, 2020
python script to connect to a metasploit msgrpc instance, setup and run an auxilary module.
#!/usr/bin/env python
import sys
import msfrpc
import time
if __name__ == '__main__':
# Create a new instance of the Msfrpc client with the default options
client = msfrpc.Msfrpc({})
# Login to the msf server using the password "abc123"
bwbaugh /
Last active Nov 26, 2020
Installing logstash server and client

Installing logstash

Server install


Install the Java prerequisite:

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.
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

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')>