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 | |
# To Do: | |
# * Prompt user for IP | |
# * Prompt user for target directory | |
# * Make final filename a variable and prompt | |
# * [OPTIONAL]: Make the script print ASCII art & play obnoxious music | |
# $1 = username@ip for ssh machine to retrieve rar from without creating a copy on machine | |
# $2 = Target directory to tar copy of | |
# $3 = Directory to save tar to on local machine | |
ssh -n $1 'tar zcvf - ~/.thunderbird' | cat - > $2 |
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 | |
wget http://i.imgur.com/gJhmrHU.png | |
mv gJhmrHU.png wolftrap300.png | |
mkdir -p /home/$USER/Desktop/SCRIPTS/images | |
mv wolftrap* /home/wapack/Desktop/SCRIPTS/images/ | |
cp /home/wapack/Desktop/SCRIPTS/images/wolftrap300.png /usr/share/lxde/wallpapers/lxde_blue.jpg | |
sed -i '30s/.*/bg=\/home\/wapack\/Desktop\/SCRIPTS\/images\/wolftrap300.png/' /etc/lxdm/default.conf |
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"; | |
} | |
?> |
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
#!/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 | |
#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
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
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
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
!$$$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 |
OlderNewer