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 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 |
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
#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) { |
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
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 |
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
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 |
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 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() |
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
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 ); | |
} |
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 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) |
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
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
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
_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 |
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
# 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 |