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
/* Flatten das boostrap */ | |
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
-moz-box-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
-webkit-border-radius: 0px !important; | |
-moz-border-radius: 0px !important; | |
border-radius: 0px !important; | |
border-collapse: collapse !important; | |
background-image: none !important; |
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
import urllib2 | |
import commands | |
lanip = commands.getoutput('netstat -n -t | awk \'{print $4}\' | grep -o "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" | grep -v "127.0.0.1" | sort -u') | |
wanip = urllib2.urlopen('http://ipv4.icanhazip.com').read().strip() | |
result = urllib2.urlopen('http://yulian.kuncheff.com/rpi/?ip='+lanip+'&lanip='+wanip,"").read() | |
if result != 'Ok': | |
sys.stderr.write('There was an errror posting IPs : '+result+'\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
import os | |
import urllib.request | |
import struct | |
import sys | |
import shlex | |
infoList = []; | |
def getLatest(branch): | |
"""Downloads 'latest' file to get the latest versions.""" |
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
import os | |
import urllib.request | |
import struct | |
import numpy | |
manifest = None | |
lastFileSize = 0 | |
def readManifest(version): | |
"""Reads the manifest file for the specified version.""" |
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
import urllib2 | |
import json | |
import SocketServer | |
import socket | |
import threading | |
import sys | |
import time | |
url = 'https://level08-3.stripe-ctf.com/user-ilxzfufcbq/' | |
password1 = 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
from xlrd import open_workbook,cellname | |
import os | |
# Open the Excel Spreadsheet and get the first Sheet | |
book = open_workbook('translations.xls') | |
sheet = book.sheet_by_index(0) | |
# Setup initial lists for storing the keys and langauges | |
keys = [] | |
languages = [] |
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
var BASE02 = "01"; //Binary | |
var BASE04 = "0123"; | |
var BASE08 = "01234567"; //Octal | |
var BASE10 = "0123456789"; //Decimal | |
var BASE16 = "0123456789ABCDEF"; //Hexadecimal | |
var BASE36 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
var BASE62 = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
var BASE75 = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_.,!=-*(){}[]"; //URL SAFE | |
function getValueOfDigit(digit, alphabet) |
NewerOlder