Skip to content

Instantly share code, notes, and snippets.

View Makeshift's full-sized avatar

Connor Bell Makeshift

View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEApODhuUkBSCJRU8+YvT6SVtfwsNJIY06Oafrum6MCIKIKh4UAMe3MtlsXbVGvRiZ1cPMYzVReaWu+XN5P/tFX1hFWwhIMXHo84zJZlQetyKsf1AFYCHXthRARF77SxRTA+Kip4iTnYOyrDofb0JXWmNBFUxuDkmzL6JFkrkstNoV7iPqtTCgS4JL0m/slEfAOyh0r8kjNGBxLF7zpIOdRhBpC+nf6J8KqTBaDyWZgbijMyrehlodrV7TOvzEFryz+EKYtuHIuJgH9YkYuHS16tO9bGqlBcfIWMlD2WUV/fy8qCcI9h5nCWhHsXR/VUvZ6PdthNLuqBZuoSnr+rj9eFAnhPhJMAaF4UYCYM3exaqbMq7w96PkFR3GIcVK761gWeKJFM6pW3YHC5h3XuTNOJID1UT/0L3G2z4Ajt6rgKZsTbaXIv8ldlMnhfAOnASpL5vF1BCVvIJaKt4+i/309ahEDfG0fwry+yHjSCrrl3hN6N1OphZLRCT/9Q/8iJziIxESpdjff69fmLIyQs61aQWNoMcsA2iMI3745xMTzhJg2VYQniRwcgpZSJQm3K47vh2BSfr+NbfpzraT50Mns5K3Tad8qHqESjvA3i07Z62WEaP2rFaGGmvLdac1YTfyPuMUg9fPjkcSs+faHoPHZUbRYH/4DCvWNBNw8WE2SPss= Connor Bell
@Makeshift
Makeshift / routerpassword.com dump
Created November 29, 2016 01:15
Dump of all router logins from routerpasswords.com as of 29/11/16
Script here: https://gist.github.com/Makeshift/34ed1df004b94b12d298b0c6e6830f79
Dump:
[
{
"manufacturer": "2WIRE",
"model": "HOMEPORTAL Rev. SBC YAHOO! DSL",
"protocol": "",
"username": "2Wire",
"password": ""
},
@Makeshift
Makeshift / routerpassword.js
Created November 29, 2016 01:14
Cycles through routerpasswords.com and puts all the data into persistent storage which can be grabbed later
// ==UserScript==
// @name RouterPassword Cycler
// @version 0.1
// @description Cycles through all of RouterPasswords.com's routers and sticks the info into persistent storage
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @author You
// @match http://routerpasswords.com/
// @grant none
// ==/UserScript==
//Note this will only work once. If you want it to work again, run this command in your Chrome dev console: localStorage.setItem("RPSetup", false);
@Makeshift
Makeshift / index.html
Created January 4, 2016 14:57
Cordova OCR using MS Project Oxford Clusterfuck Base64 to Blob and Formdata
<!DOCTYPE html>
<html>
<head>
<title>JSSample</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<meta name="viewport" content="user-scalable=yes, initial-scale=0.75, maximum-scale=2, minimum-scale=1, width=device-width, target-densitydpi=device-dpi" />
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' data: 'unsafe-inline' 'unsafe-eval' https:; object-src 'self'; style-src 'self' 'unsafe-inline' https:; img-src 'self' data: https:; media-src 'self'; frame-src 'self'; font-src 'self' data: https:; connect-src 'self' https: http:" />
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self' data: 'unsafe-inline' 'unsafe-eval' https:; object-src 'self'; style-src 'self' 'unsafe-inline' https:; img-src 'self' data: https:; media-src 'self'; frame-src 'self'; font-src 'self' data: https:; connect-src 'self' https:" />
<meta http-equiv="X-WebKit-CSP" content="default-src '
@Makeshift
Makeshift / ShiftyChocolatey.bat
Created December 25, 2015 19:35
A batch script that installs chocolatey (package manager), then a bunch of apps without asking for confirmation. Make sure you run as admin!
echo Installing Chocolatey
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
echo Grabbing apps
choco install chocolateygui google-chrome-x64 nodejs.install firefox 7zip.install vlc skype filezilla dotnet4.5 putty.install python dropbox mysql-workbench libreoffice procexp sublimetext3 calibre teamviewer winscp silverlight windirstat malwarebytes thunderbird wireshark winrar cdburnerxp python2 googledrive resharper vcredist2008 audacity evernote steam f.lux googleearth android-sdk cpu-z everything teracopy mp3tag handbrake.install eclipse unitywebplayer crystaldiskinfo openvpn vmwareplayer unchecky intellijidea-community androidstudio -y
pause
@Makeshift
Makeshift / acdautoupload.sh
Last active June 28, 2016 15:37
Automatic upload of files in a particular folder to amazon clouddrive
#!/bin/bash
FOLDER="/home/plex/toupload"
inotifywait -m $FOLDER -e create -e moved_to |
while read path action file; do
echo "The file '$file' appeared in directory '$path' via '$action'"
acd_cli ul $FOLDER/"$file" /Media/Unsorted/
rm -rf $FOLDER/"$file"
done