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
FilterCurve:f0="30" f1="31" f2="50" f3="63" f4="70" f5="100" f6="125" f7="200" f8="250" f9="300" f10="400" f11="500" f12="600" f13="700" f14="800" f15="900" f16="1000" f17="2000" f18="3000" f19="4000" f20="5000" f21="6000" f22="7000" f23="8000" f24="9000" f25="10000" f26="15000" f27="16000" FilterLength="8191" InterpolateLin="0" InterpolationMethod="B-spline" v0="-20" v1="-20" v2="-20" v3="5" v4="4.4" v5="3.3" v6="2.5" v7="1.7" v8="0" v9="0" v10="0" v11="0" v12="0" v13="0" v14="0" v15="0" v16="0" v17="0" v18="-1.5" v19="-2.5" v20="-3.3" v21="-4" v22="-4.5" v23="-5" v24="-10" v25="-15" v26="-20" v27="-20" |
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/env python3 | |
import sys, time | |
# This string tells stdout to set the cursor to the beginning of the line and | |
# clear the line. \r is a carriage return, which sets the cursor to the | |
# beginning of the line, and \033[K is an ANSI escape sequence that clears | |
# everything from the current cursor position to the end of the line. | |
CLEAR_LINE_CODE = '\r\033[K' |
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
/** | |
* An example of a stack smash buffer overflow on an x86-64 Linux OS | |
* Author: Ronald Joseph Wright | |
* | |
* Recommended build command (after exploit is working): | |
* | |
* gcc -O0 -zexecstack -fno-stack-protector -o stack-smash stack-smash.c | |
**/ | |
#include <stdint.h> |
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
import sys | |
if sys.version_info[0] < 3: | |
# Python 2.x | |
import urllib2 | |
def read_from_url(url): | |
return urllib2.urlopen(url).read() | |
else: | |
# Python 3.x | |
import urllib.request | |
def read_from_url(url): |