Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python2.7
import argparse
from ConfigParser import ConfigParser
import os.path
import urllib2
import json
import sys
import base64
def main():
4 Pretty ALL THE TIME. *prances around*
3 That is not a chair listing.
2 [Suddenly, you realize there is someone missing from the channel.]
2 You'll never succeed at this rate!
2 YOU'RE not very effective.
2 What are you, a beaver?
2 Wait, Bucket can TALK?
2 This is gonna be good.
2 The universe is too small.
2 That is not a hairy equestrian.
4 Pretty ALL THE TIME. *prances around*
3 That is not a chair listing.
2 [Suddenly, you realize there is someone missing from the channel.]
2 You'll never succeed at this rate!
2 YOU'RE not very effective.
2 What are you, a beaver?
2 Wait, Bucket can TALK?
2 This is gonna be good.
2 The universe is too small.
2 That is not a hairy equestrian.
424 Bucket
134 Snark
123 njsg
103 Relsqui
95 Stereo
88 Puddle
74 IceKarma
62 InitHello
60 barometz
55 Shrdlu
102 amth
60 Bucket
27 Ofpjos
19 snark
14 swampy
12 Nahiyan
7 WassPord
6 bearachute
5 yeah
5 ampersand
3 Wh
2 xn
2 it
2 Th
1 tw
1 so
1 sh
1 pr
1 ic
1 fu
407 Bucket
117 Snark
97 Relsqui
87 Stereo
69 njsg
68 IceKarma
65 Puddle
60 barometz
57 InitHello
53 Caffeine
syntax "awk" "\.awk$"
color brightyellow "\$[A-Za-z0-9_!@#$*?-]+"
color brightyellow "[[:<:]](ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)[[:>:]]"
color brightyellow "[[:<:]](FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)[[:>:]]"
color brightyellow "[[:<:]](PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)[[:>:]]"
color brightblue "[[:<:]](function|extension|BEGIN|END)[[:>:]]"
color red "[-+*/%^|!=&<>?;:]|\\|\[|\]"
color brightblack "[[:<:]](for|if|while|do|else|in|delete|exit)[[:>:]]"
color brightblack "[[:<:]](break|continue|return)[[:>:]]"
4610 IceKarma
3098 Stereo
2722 sheepbat
2385 relsqui
2360 snark
1248 Glench
1061 FrowarDD
967 shoofle
855 Lhyzz
701 creature
'''
Created on Sep 19, 2010
@author: Eloi Sanfelix < eloi AT limited-entropy.com >
'''
from PaddingOracle.InvalidBlockError import InvalidBlockError
import random
import struct
class CBCREncryptionOracle: