This file contains hidden or 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
--(1)-- | |
1 0 0 0 0 0 0 0 | |
0 0 0 0 1 0 0 0 | |
0 0 0 0 0 0 0 1 | |
0 0 0 0 0 1 0 0 | |
0 0 1 0 0 0 0 0 | |
0 0 0 0 0 0 1 0 | |
0 1 0 0 0 0 0 0 | |
0 0 0 1 0 0 0 0 |
This file contains hidden or 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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
</style> | |
</head> |
This file contains hidden or 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/python | |
from Crypto import Random | |
from Crypto.Cipher import AES | |
import base64 | |
BS = 16 | |
pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS) | |
unpad = lambda s : s[0:-ord(s[-1])] |
This file contains hidden or 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 | |
# COLOURS | |
export NONE='\033[0;00m' | |
export PINK='\033[1;35m' | |
export CYAN='\033[0;36m' | |
export BLUE='\033[1;34m' | |
export RED='\033[1;31m' | |
# USAGE: |
This file contains hidden or 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 | |
DATABASE=$1 | |
TEST_DB_FILE="test_db.tar.gz" | |
mysql -uroot -e "drop database if exists $DATABASE;" | |
mysql -uroot -e "create database $DATABASE;" | |
mysql -uroot -e "show databases;" | |
if [ ! -f $TEST_DB_FILE ]; then |