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 struct | |
buf = b'A' * 132 | |
# | |
# virtualProtect() for rwx (msvcr71.dll – v7.10.3052.4) | |
# url: https://www.corelan.be/index.php/security/corelan-ropdb/#msvcr71dll_v71030524 | |
# | |
rop_gadgets = [ |
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 z3 import * | |
import struct | |
a = [BitVec("a{}".format(i), 8) for i in range(5)] | |
s = Solver() | |
def is_valid(x): | |
return Or( | |
And(x >= ord('1'), x <= ord('9')), | |
And(x >= ord('a'), x <= ord('z')), |
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 struct | |
from z3 import * | |
p = [BitVec('p{}'.format(i), 32) for i in range(5)] | |
s = Solver() | |
for a in p: | |
for i in range(4): | |
s.add(((a >> i*8) & 0xff) >= 0x30) | |
s.add(((a >> i*8) & 0xff) <= 0x7a) |
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
find . -name "*.pyc" -execdir uncompyle6 -o . {} \; |
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
MEMORY: 62.6 GiB | |
PROCESSOR: Intel® Core™ i9-7920X CPU @ 2.90GHz × 24 | |
GRAPHICS: GeForce RTX 2080 Ti/PCIe/SSE2 x2 | |
DISK: 1.8TB SSD + 1TB NVMe SSD + 3TB HDD | |
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 pwn import * | |
context.terminal = ['konsole', '-e', 'sh', '-c'] | |
def split2len(s, n): | |
def _f(s, n): | |
while s: | |
yield s[:n] | |
s = s[n:] | |
return list(_f(s, 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
#!/usr/bin/env bash | |
if (( $EUID != 0 )); then | |
echo "Please run as root" | |
exit | |
fi | |
# clear existing iptables | |
iptables -X | |
iptables -F |
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
#---- Generated by tint2conf cab8 ---- | |
# See https://gitlab.com/o9000/tint2/wikis/Configure for | |
# full documentation of the configuration options. | |
#------------------------------------- | |
# Gradients | |
#------------------------------------- | |
# Backgrounds | |
# Background 1: Launcher, Panel | |
rounded = 0 | |
border_width = 0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder