Ref: http://www.contextis.com/resources/blog/wireless-phishing-captive-portals/
nterface=wlan0
driver=nl80211
ssid=NotFreeWifi
channel=6
hw_mode=g
function git_prompt_info() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo "$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_PREFIX$(current_branch)$ZSH_THEME_GIT_PROMPT_SUFFIX" | |
} | |
function get_pwd() { | |
print -D $PWD | |
} | |
function battery_charge() { |
#!/bin/bash | |
DATE=`date +%Y-%m-%d` | |
SESSION=log | |
killall hostapd | |
killall dnsmasq | |
killall sslstrip | |
mkdir ~/passniffer | |
mkdir ~/passniffer/$DATE/ |
Ref: http://www.contextis.com/resources/blog/wireless-phishing-captive-portals/
nterface=wlan0
driver=nl80211
ssid=NotFreeWifi
channel=6
hw_mode=g
# | |
# Created by : Ralph Crisostomo | |
# 14FEB2016 | |
# | |
# Instead of clicking and downloading one by one | |
# Paste the code below to your chrome console | |
# to generate bash command for you to copy and paste | |
# to your terminal. | |
# |
#!/bin/bash | |
# | |
# Transcode DVB TV signals to h.264-encoded MP4 files using VLC | |
# [email protected] | |
#### Defaults, please edit for your settings #### | |
# VLC location, here is the Mac OS X example | |
VLC=/Applications/VLC.app/Contents/MacOS/clivlc | |
# Other possibilities: (Remove the # to activate) |
Ref : http://forums.debian.net/viewtopic.php?f=30&t=117586
Update your source.list
by sudo vim /etc/apt/sources.list
# /etc/apt/sources.list
deb http://ftp.uk.debian.org/debian/ wheezy main
#!/bin/bash | |
# Batch convert videos with HandBrake CLI | |
# By Ralph Crisostomo - 2016.04.17 | |
# | |
# Usage : | |
# 'sudo ./handbrake.sh /source /destination' | |
# | |
# Reference : | |
# https://forum.handbrake.fr/viewtopic.php?f=6&t=19426 | |
# https://gist.github.com/czj/1263872 |
#!/bin/bash | |
# Script to series on a new created directory | |
# By Ralph Crisostomo - 2016.04.17 | |
# | |
# Usage : | |
# sudo ./move.sh SU supergirl Series01 | |
# | |
PATTERN=$1 | |
NAME=$2 |
## convert HTML POST data or HTTP GET query string to JSON | |
## get the raw post data from the AWS built-in variable and give it a nicer name | |
#if ($context.httpMethod == "POST") | |
#set($rawAPIData = $input.path('$')) | |
#elseif ($context.httpMethod == "GET") | |
#set($rawAPIData = $input.params().querystring) | |
#set($rawAPIData = $rawAPIData.toString()) | |
#set($rawAPIDataLength = $rawAPIData.length() - 1) | |
#set($rawAPIData = $rawAPIData.substring(1, $rawAPIDataLength)) |
#!/bin/bash | |
# Script to organize pictures and videos | |
# By Ralph Crisostomo - 2016.05.10 | |
# | |
# Usage : | |
# sudo ./move_picture.sh "GM1 - Day 01" | |
# | |
_destination="$1" | |
_date=$(date +"%Y%m%d") |