Skip to content

Instantly share code, notes, and snippets.

var mimecodec = (function (TextEncoder, TextDecoder, btoa) {
'use strict';
btoa = btoa || base64Encode;
var mimecodec = {
/**
* Encodes all non printable and non ascii bytes to =XX form, where XX is the
* byte value in hex. This function does not convert linebreaks etc. it
* only escapes character sequences
@vvelizariy
vvelizariy / wordlist.py
Created March 11, 2016 22:00
wordlist.py
#!/usr/bin/python
#----------------------------------------------------------------------------------------------#
#wordlists.py v0.2 (#1 2010-09-28) #
# (C)opyright 2010 - g0tmi1k #
#---Important----------------------------------------------------------------------------------#
# *** Do NOT use this for illegal or malicious use *** #
# YOU are using this program at YOUR OWN RISK. #
# This software is provided "as is" WITHOUT ANY guarantees OR warranty. #
#---Modules------------------------------------------------------------------------------------#
import array, sys, time, random, os
@vvelizariy
vvelizariy / chap2asleep.py
Last active March 11, 2016 22:00
chap2asleep.py
#!/usr/bin/python
#----------------------------------------------------------------------------------------------#
#chap2asleap.py v0.2 (#3 2011-04-05) #
# (C)opyright 2011 - g0tmi1k #
#---Important----------------------------------------------------------------------------------#
# *** Do NOT use this for illegal or malicious use *** #
# By running this, YOU are using this program at YOUR OWN RISK. #
# This software is provided "as is", WITHOUT ANY guarantees OR warranty. #
#---Modules------------------------------------------------------------------------------------#
import os, re, sys, hashlib, getopt, binascii, urllib2
@vvelizariy
vvelizariy / openwrt_needed_utils.sh
Last active March 14, 2016 11:34
Prepare all needed packages for OpenWrt compile
# Prepare all needed packages on CentOS 7.2
sudo yum -y install git zlib-devel gcc-c++ zlib-static svn openssl-devel ncurses-devel bzip2 unzip patch perl-Thread-Queue \
perl-Data-Dumper
cd ~ && git clone https://github.com/openwrt-mirror/openwrt.git
make clean # If it is not first run
./scripts/feeds update -a
./scripts/feeds install -a