I hereby claim:
- I am glens on github.
- I am memoryresident (https://keybase.io/memoryresident) on keybase.
- I have a public key ASBoDvrUERBARBW53RfsQMusJdw-C2Kug2Q82yYMHEvPvAo
To claim this, I am signing this object:
#!/usr/bin/env python | |
import mimetypes | |
import os | |
import sys | |
path = sys.argv[1] | |
for file in os.listdir(path): | |
file_mimetype = str(mimetypes.guess_type(file)[0]) | |
print('{} {}'.format(file_mimetype, file)) |
#!/usr/env python3 | |
# environment name generator | |
# glen@glenscott.net | |
# @memoryresident | |
# github.com/glens | |
environment_types = [ | |
"local", |
console.log('script test'); | |
alert('script test'); | |
prompt('script test'); | |
window.location.href="https://google.com"; |
//to extract all link urls in the page | |
//paste into javascript console | |
var links = document.getElementsByTagName('a') | |
var allurls = links.length + ' links: <br>' | |
for (link in links) { | |
console.log(links[link].href); | |
var downlink = links[link].href | |
if (typeof(downlink) != 'undefined') { |
#!/bin/bash | |
if [ -z "$1" ]; | |
then | |
cat << EOF | |
VPN iptables Firewall Rules Creator | |
author: Glen Scott (glen@glenscott.net) | |
This script will firewall all outbound access to a single IP on TCP/443 & UDP/1194, parsed from a provided .ovpn config file. |
I hereby claim:
To claim this, I am signing this object: