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
plugins=( "python.vim" "pydoc.vim" "The-NERD-tree" "minibufexpl.vim" "fugitive.vim" "Better-CSS-Syntax-for-Vim" "Syntastic" "Conque-Shell" "vimblog.vim" "mru.vim" "The-NERD-Commenter" "pythonhelper" "pythoncomplete" "taglist.vim" "TagHighlight" "snipMate" ) | |
# Make a backup of all old stuff | |
[[ -e .vim ]] && mv .vim vim-backup; [[ -e .vimrc ]] && mv .vimrc vimrc-backup | |
# Get pathogen. | |
wget --no-check-certificate -nd -P ~/.vim/autoload https://github.com/vim-scripts/pathogen.vim/raw/master/plugin/pathogen.vim | |
# Download local-vimrc plugin (not available in an easy-to-get source | |
wget http://lh-vim.googlecode.com/svn/misc/trunk/plugin/local_vimrc.vim -nd -P ~/.vim/bundle/local_vimrc/plugin/ |
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
call pathogen#infect() | |
" Clever Tab from VIM Help | |
function! CleverTab() | |
if strpart(getline("."), 0, col('.')-1) =~ '^\s*$' | |
return "\<TAB>" | |
else | |
return "\<C-N>" | |
endfunction |
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/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Based on http://github.com/XayOn/Python-tuenti | |
Login class because of extreme lazyness. | |
Copyright (C) 2011 David Francos Cuartero (XayOn) | |
Made for thex1le who was working on this idea with urllib2. | |
This software is GPL2+ | |
""" |
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 | |
id=$1; name=$2; path=$3; source ~/.torrent-aliases | |
type=$(file -b --mime-type $path |cut -d/ -f1) | |
for dest_dir in ${!regexes[@]}; do mkdir -p ~/Media/$type/$dest_dir; [[ $path =~ ${regexes[$dest_dir]} ]] && { mv $path ~/Media/$type/$dest_dir/; exit; }; done | |
mv $path ~/Media/$type/$dest_dir # Fallback |
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
apt-get install subversion build-essential libpcap0.8 libssl1.0.0 zlib1g wireless-tools xterm python graphviz macchanger dsniff hydra zenity pyrit sslstrip wkhtmltopdf john libpcap0.8-dev libssl-dev libsqlite3-dev libnl-dev | |
svn co http://trac.aircrack-ng.org/trunk/ | |
make -C trunk unstable=true ext_scripts=true sqlite=true | |
make -C trunk install unstable=true ext_scripts=true sqlite=true |
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, we download lastest trunk and create an orig tar.gz package | |
svn co http://trac.aircrack-ng.org/svn/trunk aircrack-ng-1.1 | |
cd aircrack-ng-1.1 | |
rm -rf `find . -name .svn` && tar czvf ../aircrack-ng_1.1.orig.tar.gz *; &>/dev/null | |
# Clone the debian/ dir | |
git clone http://github.com/XayOn/Aircrack-ngDebian debian &>/dev/null | |
# vim debian/changelog # Do it before, trought git interface!! =) | |
# Build and upload |
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
git clone git@repo.foobar.com/FooBar | |
cd FooBar | |
git remote add github git@github.com:XayOn/FooBar | |
# Remember to replace XayOn for your username and FooBar for your github repo name |
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
# This file sources all the stuff sourced in airoscript | |
_source(){ for cfile in $@; do if [ -f $cfile ] && [ -O $cfile ]; then source $cfile; else if [ "$debug" == 1 ]; then echo "Could not load $cfile"; sleep 0.2 ;fi; fi; done; } | |
_source "./airoscript-ng.conf.devel ~/.airoscript-ng/airoscript-ng.conf /etc/airoscript-ng.conf /usr/local/etc/airoscript-ng.conf" | |
_source "./airoscript-ng_advanced.conf.devel ~/.airoscript-ng_advanced/airoscript-ng_advanced.conf /etc/airoscript-ng_advanced.conf /usr/local/etc/airoscript-ng_advanced.conf" | |
_source "$path/_internal $path/menu $path/interface" | |
_source "$path/themes/$theme" || default_theme |
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
$HTTP["host"] !~ "(^|wiki\.|www\.)degeneratedlabs.net$" { | |
proxy.server = ( | |
"" => ( | |
( | |
"host" => "192.168.1.72", | |
"port" => 80 | |
), | |
) | |
) |
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
for user in *; do | |
grep $user /etc/passwd &>/dev/null && continue | |
[[ $user == $(basename $0) ]] && continue | |
adduser --disabled-password --gecos "" $user; mkdir /home/$user/.ssh | |
cp $user /home/$user/.ssh/authorized_keys; chown -R $user:$user /home/$user/.ssh | |
touch /etc/lighttpd/conf-enabled/users/90-$user.conf | |
chown $user:www-data /etc/lighttpd/conf-enabled/users/90-$user.conf | |
ln -s /etc/lighttpd/conf-enabled/users/90-$user.conf /home/$user/.lighttpd.conf | |
done |
OlderNewer