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
import sys | |
import pycurl | |
import struct | |
from binascii import unhexlify, crc32 | |
import urllib2 | |
transaction = str(sys.argv[1]) | |
data = urllib2.urlopen("https://blockchain.info/tx/"+transaction+"?show_adv=true") | |
dataout = b'' | |
atoutput = False | |
for line in data: |
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
<?php | |
function hex_dump($data, $newline="\n"){ | |
static $from = ''; | |
static $to = ''; | |
static $width = 16; # number of bytes per line | |
static $pad = '.'; # padding for non-visible characters | |
if($from===''){ | |
for($i=0; $i<=0xFF; $i++){ | |
$from .= chr($i); | |
$to .= ($i >= 0x20 && $i <= 0x7E) ? chr($i) : $pad; |
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
#!/bin/bash | |
sudo echo 'deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main' > /etc/apt/sources.list.d/ubuntuzilla.list | |
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29 | |
sudo apt-get update | |
sudo apt-get remove iceweasel icedove | |
sudo apt-get install firefox thunderbird |
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
alignment top_right | |
background yes | |
border_width 1 | |
cpu_avg_samples 2 | |
default_color 2dff24 | |
color0 0077FF | |
default_outline_color 0077FF | |
default_shade_color 0077FF | |
double_buffer yes | |
draw_borders no |
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
#!/bin/bash | |
nmap $1 -n -sP | grep report | awk '{print $5}' |
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
<?php | |
$URL = "http://bdpuqvsqmphctrcs.onion.link/json.txt"; | |
$json = file_get_contents($URL); | |
$json = json_decode($json); | |
foreach($json AS $a){ | |
foreach($a AS $thisone){ | |
echo "ONION LINK : ".$thisone[1]."\n"; | |
echo "DESCRIPTION : ".$thisone[2]."\n"; | |
echo "SOURCE : ".$thisone[3]."\n"; | |
echo "FIRST SEEN : ".$thisone[4]."\n"; |
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
#!/bin/bash | |
# By jburke@wapacklabs.com | |
# This can be used to multi-thread search | |
time find $1 -name "*.txt" -print0 | xargs -0 -n1 -P24 grep -H "$2" > $2.txt |
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
function uniord($u) { | |
// I just copied this function fron the php.net comments, but it works fine! | |
$k = mb_convert_encoding($u, 'UCS-2LE', 'UTF-8'); | |
$k1 = ord(substr($k, 0, 1)); | |
$k2 = ord(substr($k, 1, 1)); | |
return $k2 * 256 + $k1; | |
} | |
//returns true or false if string contains 60% or more arabic characters | |
function is_arabic($str){ | |
if(mb_detect_encoding($str) !== 'UTF-8') { |
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
#!/bin/bash | |
# Install FUCKING GENTOO Live CD Maker | |
# by jburke@wapacklabs.com | |
# https://www.youtube.com/watch?v=tAb7OID5lt8 | |
# | |
# Requirements: Name USB Untitled because I'm too lazy to variable or name it | |
# | |
cd /Volumes/Untitled/ && wget http://distfiles.gentoo.org/releases/amd64/autobuilds/20160317/install-amd64-minimal-20160317.iso | |
hdiutil convert -format UDRW -o /Volumes/Untitled/install-amd64-minimal-20160317.iso /Volumes/Untitled/install-amd64-minimal-20160317.iso | |
cd /Volumes/Untitled/ && mv install-amd64-minimal-20160317.iso.dmg install-amd64-minimal-20160317.iso && cp install-amd64-minimal-20160317.iso ~/Desktop && cd ~/Desktop |
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
#!/bin/bash | |
apt-get install openssh-server lxde tmux vim python-dev openssl python-openssl python-pyasn1 python-twisted subversion authbind -y | |
apt-get update -y && apt-get upgrade -y | |
sed -i '5s/22/8925/' /etc/ssh/sshd_config | |
reload ssh | |
useradd -d /home/kippo -s /bin/bash -m kippo -g sudo | |
touch /etc/authbind/byport/22 | |
chmod 777 /etc/authbind/byport/22 | |
su kippo<<'EOF' | |
cd |