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 | |
echo "select encryptedUsername, encryptedPassword from moz_logins;" | sqlite3 signons.sqlite |
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 | |
$ip = '127.0.0.1'; | |
$port = '9050'; | |
$auth = 'TorCTRLPass'; | |
$command = 'signal NEWNYM'; | |
$fp = fsockopen($ip,$port,$error_number,$err_string,10); | |
if(!$fp) { echo "ERROR: $error_number : $err_string"; | |
return false; | |
} else { |
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
!$$$DESCRIPTION$$$: | |
!**ctrl+alt+cmd for urxvt buffer ==> normal text buffer | |
!$$$USAGE$$$ | |
!copy from urxvt: | |
!ctrl+alt+cmd+c | |
!paste into urxvt: | |
!ctrl+alt+cmd+v | |
!Add to ~/.Xdefaults: | |
!$$$BEGIN$$$ | |
XTerm*transparent: 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
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' |
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
sudo apt-get install gnome-session-fallback | |
echo “gnome-session -–session=gnome-fallback” > ~/.xsession | |
sudo /etc/init.d/xrdp restart |
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
echo "gnome-session --session=ubuntu-2d" > .xsession |
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 | |
cd ~ && apt-get install apache2 vim tmux libxml2-dev make -y | |
wget http://xmlsoft.org/sources/libxml2-2.9.0.tar.gz | |
tar -zxvf libxml2-2.9.0.tar.gz | |
cd libxml2-2.9.0/ && ./configure | |
make && make install | |
cd ~ && wget https://downloads.php.net/~stas/php-5.4.45.tar.gz | |
tar -zxvf php-5.4.45.tar.gz | |
cd php-5.4.45/ && ./configure --with-libxml-dir=/root/libxml2-2.9.0/ |
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 | |
rsync -avzP DAILY.zip jburke@192.168.1.2:/Volumes/NAS |
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 | |
ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)" |
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 | |
$str = file_get_contents("encoded.txt"); | |
#echo base64_decode($str)."\n"; | |
$lines = explode("\n",$str); | |
for($i = 0; $i < count($lines); $i++) { | |
$variable_1 = $lines[$i]; | |
echo base64_decode($variable_1)."\n"; | |
} | |
?> |