Skip to content

Instantly share code, notes, and snippets.

import angr, claripy, simuvex
b = angr.project.Project("binari", load_options={"auto_load_libs": False})
s = b.factory.blank_state(addr=0x401300)
positions = [] # item positions
for i in range(10):
posl = [claripy.BVS("POSY"+str(i), 32), claripy.BVS("POSX"+str(i),32)]
s.mem[0x6042c0+(0x18*i)].dword = posl[0].reversed
s.mem[0x6042c4+(0x18*i)].dword = posl[1].reversed
#include <stdio.h>
#include <string.h>
void main() {
const char *code = (const char *)main;
int oldcount = -1;
while (1) {
int count = 0;
const char *temp = code;
while (temp) {
achievement_debug
achievement_debug
achievement_disable
achievement_disable
achievement_easymode
achievement_easymode
ammo_338mag_headshot_mult
ammo_338mag_headshot_mult
ammo_338mag_impulse
ammo_338mag_impulse
achievement_debug
achievement_debug
achievement_disable
achievement_disable
achievement_easymode
achievement_easymode
ammo_338mag_headshot_mult
ammo_338mag_headshot_mult
ammo_338mag_impulse
ammo_338mag_impulse
import re, string
from collections import Counter
def normalize_word(w):
return re.sub("[^a-z]", "", w.lower())
def load_words():
return list(map(normalize_word, open("/usr/share/dict/american-english-huge", "r").readlines()))
words = load_words()
@XMPPwocky
XMPPwocky / spam.js
Last active June 1, 2016 02:38
now i am become death, destroyer of steams
function sendMessage(target, text) {
var rgParams = {
umqid: Chat.m_umqid,
type: 'saytext',
steamid_dst: target,
text: text
};
return Chat.m_WebAPI.ExecJSONP( 'ISteamWebUserPresenceOAuth', 'Message', rgParams, true );
}
import socketserver
import time
from random import randint
class MyTCPHandler(socketserver.StreamRequestHandler):
def handle(self):
while True:
self.wfile.flush()
newx = randint(0, 800)
newy = randint(0, 800)
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
_cl_classmenuopen
achievement_debug replicated, cheat
anim_3wayblend replicated
anim_showmainactivity cheat
anim_showstate developmentonly, replicated, cheat
anim_showstatelog developmentonly, replicated, cheat
blink_duration
cam_collision archive, cheat
cam_idealdelta archive, cheat
cam_ideallag archive, cheat
# useful sigs: 558bec, 56578bf9
def auto_discover_functions(funcsig="\x55\x8b\xec"): # push ebp; mov ebp, esp
last_match = bv.start
while True:
match = bv.find_next_data(last_match, funcsig)
if match is None: break
if bv.is_offset_executable(match):
if bv.get_function_at(bv.platform, match) is None:
bv.add_function(bv.platform, match)
last_match = match + 1