This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/lua | |
--- | |
-- Created 2014 by Jacob Hacker <jacobhacker@outlook.com> | |
-- Licensed under the MIT license: http://opensource.org/licenses/MIT | |
--- | |
-- Install: sudo apt-get install lua5.2 libav-tools googlecl python-pip && sudo pip install megacl googlecl | |
--(------------)-- | |
--(--- Util ---)-- | |
--(------------)-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// g++ rsa.cpp -o rsa -lcryptopp | |
#include <iostream> | |
#include <cryptopp/rsa.h> | |
#include <cryptopp/integer.h> | |
#include <cryptopp/osrng.h> | |
int main(){ | |
// Keys | |
CryptoPP::Integer n("0xbeaadb3d839f3b5f"), e("0x11"), d("0x21a5ae37b9959db9"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Deps | |
sudo apt-get install libkeybinder-dev libxtst-dev | |
# SMART | |
# Install openjdk 7 & run this, note this may break other things using java | |
sudo update-java-alternatives -s java-1.7.0-openjdk-i386 | |
# Download Simba (start in whatever directory you want, I chose ~/src/) | |
git clone https://github.com/MerlijnWajer/Simba.git | |
cd Simba |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
<style type="text/css"> | |
/* When making the kindle version, remove the margins */ | |
body { | |
text-align:justify; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
<title></title> | |
<style type="text/css"> | |
/* When making the kindle version, remove the margins */ | |
body { text-align:justify; /*margin-left:20%; margin-right:20%; */} | |
.toc{} | |
.title{ font-size:3em; text-align:center; } | |
.author{font-size:1.5em; text-align:center;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a name="ch1">Chapter I - Mr. Sherlock Holmes</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
.toc { margin-left: 5%; margin-bottom: .75em; font-size: 80%;} | |
</style> | |
<blockquote> | |
<p class="toc"><big><b>Contents</b></big></p><br> | |
<p class="toc"><a href="#ch1"> | |
CHAPTER I. MR. SHERLOCK HOLMES. | |
</a></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First, download the last 1000 blocked users blocked by ProcseeBot | |
wget -O proxyLog.html 'http://en.wikipedia.org/w/index.php?title=Special:Log&limit=1000&type=block&user=ProcseeBot' | |
# Extract all ip addresses matching the regex. Because the IP is listed multiple times, sort with the unique | |
# option, and output to iplist | |
cat proxyLog.html | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'|sort -u>iplist | |
# Scan for open port 8080, and output to scan.xml | |
nmap -Pn -n -iL iplist -p 8080 -oX scan.xml |