Skip to content

Instantly share code, notes, and snippets.

View xss-game.md

XSS-game by Google

Welcome, recruit! Cross-site scripting (XSS) bugs are one of the most common and dangerous types of vulnerabilities in Web applications. These nasty buggers can allow your enemies to steal or modify user data in your apps and you must learn to dispatch them, pronto!

At Google, we know very well how important these bugs are. In fact, Google is so serious about finding and fixing XSS issues that we are paying mercenaries up to $7,500 for dangerous XSS bugs discovered in our most sensitive products.

In this training program, you will learn to find and exploit XSS bugs. You'll use this knowledge to confuse and infuriate your adversaries by preventing such bugs from happening in your applications.

There will be cake at the end of the test.

@adriaandens
adriaandens / jtr_install_script
Created May 18, 2013
Script to install John the Ripper on Knoppix 3.6 (after installing open-MPI).
View jtr_install_script
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/lib/openmpi:/tmp/lib
export LD_LIBRARY_PATH
wget "http://www.bindshell.net/tools/johntheripper/john-1.7.3.1-all-2-mpi8.tar.gz"
tar xzf john-1.7.3.1-all-2-mpi8.tar.gz
cd john-1.7.3.1-all-2-mpi8/src/
make clean linux-x86-any
cd ../run/
mpirun -np 4 ./john -test
echo "root:e80b5017098950fc58aad83c8c14978e" > md5.txt
./john -format=raw-md5 -incremental:alpha ./md5.txt
@adriaandens
adriaandens / openmpi_install_script
Last active Feb 17, 2018
Open-MPI bash script for installing Open-MPI on Knoppix 3.6.
View openmpi_install_script
wget "http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.4.tar.gz"
tar xzf openmpi-1.6.4.tar.gz
cd openmpi-1.6.4/
./configure --prefix=/tmp/ --disable-vt
make
make install
PATH=$PATH:/tmp/bin
export PATH
mpirun -np 4 hostname
cd $KNOPPIX_HOME
View gist:5020340
use warnings;
%courses = (
"2CPR2B" => "C Language",
"1UNX1B" => "Intro to UNIX",
"3SH414" => "Shell Programming",
"4PL400" => "Perl Programming"
);
#Sorteren op key values:
@adriaandens
adriaandens / gist:4979399
Last active Jul 6, 2017
A possible solution to the files.khleuven.be zip problem.
View gist:4979399
$p = $ARGV[0];
foreach(`cd "$p"; ls`) {
chomp($_);/^(.*)\\([^\\]+)$/;
$m=$1;$f=$2;$m=~s/\\/\//g;
`cd "$p";mkdir -p "$m"`;
`cd "$p";mv "$_" "$m/$f"`;
}