I hereby claim:
- I am xmppwocky on github.
- I am xmppwocky (https://keybase.io/xmppwocky) on keybase.
- I have a public key ASAJmqEolo4SEPD0LngKRKMxU0lZSn6MnnrPwUqqXHCvEgo
To claim this, I am signing this object:
| extern crate threadpool; | |
| struct Rng { | |
| state: (u32, u32) | |
| } | |
| impl Rng { | |
| fn random(&mut self) -> f64 { | |
| let r0 = (18273 * (self.state.0 & 0xFFFF)) + (self.state.0 >> 16); | |
| self.state.0 = r0; | |
| let r1 = (36969 * (self.state.1 & 0xFFFF)) + (self.state.1 >> 16); | |
| self.state.1 = r1; |
| extern crate threadpool; | |
| struct Rng { | |
| state: (u32, u32) | |
| } | |
| fn conv_to_double_old(a: u32) -> f64 { | |
| let prefab = 0x4130_0000_0000_0000u64; | |
| let ugly = (a as u64) | prefab; | |
| let (val, subtract) = unsafe { | |
| (std::mem::transmute::<u64, f64>(ugly), | |
| std::mem::transmute::<u64, f64>(prefab)) |
| fn main() { | |
| println!("hello world"); | |
| } |
| fn main() { | |
| println!("hello world"); | |
| } |
I hereby claim:
To claim this, I am signing this object:
| import dpkt, socket, struct, binascii, sys, time, random | |
| if len(sys.argv) < 2: | |
| print "Usage: poc.py pcapfile" | |
| print "PCAP file must contain only the UDP packets of a Steam connection." | |
| sys.exit(1) | |
| capture = dpkt.pcap.Reader(open(sys.argv[1])) | |
| cap_messages_out = [] | |
| cap_messages_in = [] |
| # coding: utf-8 | |
| import angr, claripy, simuvex | |
| s=b.factory.blank_state(addr=0x401300) | |
| b=angr.project.Project("binari") | |
| p=b.factory.path(s);pg=b.factory.path_group(p, immutable=Tru | |
| e) | |
| p=b.factory.path(s);pg=b.factory.path_group(p, immutable=True) | |
| p=b.factory.path(s);pg=b.factory.path_group(p, immutable=True) | |
| s=b.factory.blank_state(addr=0x401300) |
| import java.io.*; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| abstract class OSFile implements Serializable { | |
| String file = ""; | |
| abstract String getFileName(); | |
| } | |
| class WindowsFile extends OSFile { |
| # coding: utf-8 | |
| import angr,claripy,simuvex; | |
| b = angr.project.Project("binaro") | |
| s = b.factory.blank_state(addr=0x400dfd) | |
| length = claripy.BVS("strlen", 64) # how long the string is; doesn't matter really | |
| stri = claripy.BVS("str", 8*40) # the actual string | |
| s.regs.rdi = 0x1000 # argument |
| 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 |