Skip to content

Instantly share code, notes, and snippets.

View Andoryuuta's full-sized avatar
🛶
Canoeing across the atlantic

Andrew Gutekanst Andoryuuta

🛶
Canoeing across the atlantic
View GitHub Profile
<note default-x="268.32" default-y="-20.00">
<pitch>
<step>B</step>
<octave>4</octave>
</pitch>
<duration>3</duration>
<tie type="start"/>
<voice>1</voice>
<type>16th</type>
<stem>down</stem>
@Andoryuuta
Andoryuuta / gist:593d935cc9f5809f90a34d7c742db94e
Last active July 8, 2016 01:02
Ren compress repeated data
int __cdecl PacketManagerClass::DecodeRawPacket_Extention(cPacketManagePacketListEntry *PacketBuf1, cPacketManagePacketListEntry *PacketBuf2, char *RawPacketSrc, int PacketLength, int *PacketThingy)
{
int BitIndex; // edx@1
int result; // eax@2
cPacketManagePacketListEntry *PacketBuf2_1; // esi@3
char *NextExtraDataPtr; // ebp@9
signed int dist; // edi@11
unsigned int Uint64Count; // ebx@11
char BitSet_0; // al@12
char BitSet_1; // al@18
\\gamename\\ccrenegade\\enctype\\0\\validate\\TVJFLK6J\\final\\\\queryid\\1.1\\list\\cmp\\gamename\\ccrenegade\\where\\\\final\
@Andoryuuta
Andoryuuta / ListRen.java
Created April 15, 2017 09:03
ListRen.java
import java.net.*;
import java.io.*;
import java.util.*;
import java.nio.charset.StandardCharsets;
class HostAddr {
public HostAddr(String ip, int port){
Ip = ip;
Port = port;
}
@Andoryuuta
Andoryuuta / main.go
Created October 18, 2017 21:03
An extractor for Catan's (https://archive.org/details/DeKolonistenVanCatanZeevaarders) .lib archive file format. (Doesn't work with any *speak.lib other than xspeak.lib, because they do not contain file names for some reason.)
package main
import (
"encoding/binary"
"fmt"
"log"
"os"
)
func readHeaderInfo(f *os.File) (bool, uint32, error) {
@Andoryuuta
Andoryuuta / scrapeStars.go
Last active January 6, 2018 19:02
Scrape GitHub repo stars
package main
import (
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"log"
"net/http"
"os"
@Andoryuuta
Andoryuuta / users.json
Created January 7, 2018 07:51
33962 users who starred x64dbg/x64dbg (With starred time stamp where obtainable)
This file has been truncated, but you can view the full file.
[
{
"ID": "MDQ6VXNlcjIxMjg1NjQ1",
"Login": "jonwinters",
"AvatarURL": "https://avatars2.githubusercontent.com/u/21285645?v=4",
"AccountCreatedAt": "2016-08-28T01:48:02Z",
"TotalStarredRepos": 236,
"X64dbgStarredAt": "2018-01-07T07:11:43Z",
"PriorStarredAt": "2018-01-07T03:17:23Z"
},
@Andoryuuta
Andoryuuta / exclusion.csv
Created January 7, 2018 07:58
Users which I didn't get x64dbg starred timestamps for.
theodesp jj1985 h1nk zhuozuozhang deltaclock markemer jonhermansen chinsyo cmllr Maddosaurus BlackLuny ssspeedgit00 NurdTurd cspg Wasdns soredake pandazheng elsieholmes LinusKou ik5 magicansk seeden h34dw1nd StarpTech dunstontc gapry B0u3z1z1 hy00un CHEF-KOCH kost nekomeowww nghib catree liurenjin fz420 ItzSomebody Tu-tu-tu heiye007 ia pwmoore stlcours beltex PyroLagus kevien hotdoginferno themattchan zmughal nazaretvaz ShawnAlexander nelix neep3r camilohe edanko TemaSM nanangarsyad qs9816 str0my wyrover Sevenn83 greenhand2learn houjingyi233 pezy mudbee111 kirbyfan64 ccollins77 MaxBareiss maelstrompli KeithPetro WangYihang dodying cs8425 sn0w RetiredQQ tekacs makiftasova e12e arturocastro dingpengyu CodeBlueDev DeeLMind thelongestusernameofall iwiwsb dirtycold garry1ng davweiss zdsccc testsecer halfx chensenmo old101 Brynyard Chan9390 zbhuang y11en hyrious henrychoi7 firmianay WanderMax mponton pbu fjh658 swtar yws wtjcn dminta DukeFox jslhs HuangBR cdituri RoestVrijStaal svranesevic xmpf azimut TopKeingt Kon
@Andoryuuta
Andoryuuta / main.rs
Last active January 13, 2018 21:44
Renegade GSA list viewer in rust
use std::net::UdpSocket;
use std::collections::HashMap;
use std::net::{IpAddr, Ipv4Addr, SocketAddr, TcpStream};
use std::io::{BufRead, BufReader, BufWriter, Read, Write};
const GSA_ADDRESS: &str = "renmaster.cncnet.org:28900"; // or "master-gsa.renlist.n00b.hk:28900"
const EXPECTED_FIRST_RESP: &'static [u8] = b"\\basic\\\\secure\\IGNORE";
const GET_HOSTS_QUERY:&'static [u8] = b"\\gamename\\ccrenegade\\enctype\\0\\validate\\TVJFLK6J\\final\\\\queryid\\1.1\\list\\cmp\\gamename\\ccrenegade\\where\\\\final\\";
# Make sure you grab the latest version for your OS and arch from the releases page
# at https://github.com/google/protobuf/releases
curl -OL https://github.com/google/protobuf/releases/download/v3.6.0/protoc-3.6.0-linux-x86_64.zip
# Unzip
unzip protoc-3.6.0-linux-x86_64.zip -d protoc3
# Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/