Skip to content

Instantly share code, notes, and snippets.

@MostAwesomeDude
Created March 31, 2011 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MostAwesomeDude/897073 to your computer and use it in GitHub Desktop.
Save MostAwesomeDude/897073 to your computer and use it in GitHub Desktop.
[simpson@athena ~/Nu] ( >&) $ ./packets.py minecraft_server-1.4.jar
Grepping the JAR...
Guessing packet class fy.class
Found packet 0: gx
Found packet 1: hy
Found packet 2: hd
Found packet 3: ik
Found packet 4: eg
Found packet 5: j
Found packet 6: jj
Found packet 7: a
Found packet 8: cp
Found packet 9: ii
Found packet 10: ev
Found packet 11: t
Found packet 12: ma
Found packet 13: cq
Found packet 14: fr
Found packet 15: dz
Found packet 16: em
Found packet 17: fv
Found packet 18: hq
Found packet 19: ld
Found packet 20: gz
Found packet 21: hj
Found packet 22: bs
Found packet 23: kl
Found packet 24: fl
Found packet 25: mh
Found packet 27: iy
Found packet 28: dr
Found packet 29: jv
Found packet 30: lk
Found packet 31: kp
Found packet 32: kb
Found packet 33: it
Found packet 34: jl
Found packet 38: fi
Found packet 39: hs
Found packet 40: ls
Found packet 50: kc
Found packet 51: cg
Found packet 52: nb
Found packet 53: lg
Found packet 54: mj
Found packet 60: jq
Found packet 70: ax
Found packet 100: fe
Found packet 101: hb
Found packet 102: jc
Found packet 103: en
Found packet 104: fw
Found packet 105: hh
Found packet 106: id
Found packet 130: ll
Found packet 255: og
Found all packets; analyzing...
Packet 0: gx.class
Packet 1: hy.class
To read the packet:
readInt
readUTF
readUTF
readLong
readByte
To write the packet:
writeInt
writeUTF
writeUTF
writeLong
writeByte
Packet 2: hd.class
To read the packet:
readUTF
To write the packet:
writeUTF
Packet 3: ik.class
To read the packet:
readUTF
To write the packet:
writeUTF
Packet 4: eg.class
To read the packet:
readLong
To write the packet:
writeLong
Packet 5: j.class
To read the packet:
readInt
readShort
readShort
readShort
To write the packet:
writeInt
writeShort
writeShort
writeShort
Packet 6: jj.class
To read the packet:
readInt
readInt
readInt
To write the packet:
writeInt
writeInt
writeInt
Packet 7: a.class
To read the packet:
readInt
readInt
readByte
To write the packet:
writeInt
writeInt
writeByte
Packet 8: cp.class
To read the packet:
readShort
To write the packet:
writeShort
Packet 9: ii.class
To read the packet:
To write the packet:
Packet 10: ev.class
To read the packet:
read
To write the packet:
write
Packet 11: t.class
To read the packet:
readDouble
readDouble
readDouble
readDouble
To write the packet:
writeDouble
writeDouble
writeDouble
writeDouble
Packet 12: ma.class
To read the packet:
readFloat
readFloat
To write the packet:
writeFloat
writeFloat
Packet 13: cq.class
To read the packet:
readDouble
readDouble
readDouble
readDouble
readFloat
readFloat
To write the packet:
writeDouble
writeDouble
writeDouble
writeDouble
writeFloat
writeFloat
Packet 14: fr.class
To read the packet:
read
readInt
read
readInt
read
To write the packet:
write
writeInt
write
writeInt
write
Packet 15: dz.class
To read the packet:
readInt
read
readInt
read
readShort
readByte
readShort
To write the packet:
writeInt
write
writeInt
write
writeShort
writeShort
writeByte
h
writeShort
Packet 16: em.class
To read the packet:
readShort
To write the packet:
writeShort
Packet 17: fv.class
To read the packet:
readInt
readByte
readInt
readByte
readInt
To write the packet:
writeInt
writeByte
writeInt
writeByte
writeInt
Packet 18: hq.class
To read the packet:
readInt
readByte
To write the packet:
writeInt
writeByte
Packet 19: ld.class
To read the packet:
readInt
readByte
To write the packet:
writeInt
writeByte
Packet 20: gz.class
To read the packet:
readInt
readUTF
readInt
readInt
readInt
readByte
readByte
readShort
To write the packet:
writeInt
writeUTF
writeInt
writeInt
writeInt
writeByte
writeByte
writeShort
Packet 21: hj.class
To read the packet:
readInt
readShort
readByte
readShort
readInt
readInt
readInt
readByte
readByte
readByte
To write the packet:
writeInt
writeShort
writeByte
writeShort
writeInt
writeInt
writeInt
writeByte
writeByte
writeByte
Packet 22: bs.class
To read the packet:
readInt
readInt
To write the packet:
writeInt
writeInt
Packet 23: kl.class
To read the packet:
readInt
readByte
readInt
readInt
readInt
To write the packet:
writeInt
writeByte
writeInt
writeInt
writeInt
Packet 24: fl.class
To read the packet:
readInt
readByte
readInt
readInt
readInt
readByte
readByte
To write the packet:
writeInt
writeByte
writeInt
writeInt
writeInt
writeByte
writeByte
a
Packet 25: mh.class
To read the packet:
readInt
readUTF
readInt
readInt
readInt
readInt
To write the packet:
writeInt
writeUTF
writeInt
writeInt
writeInt
writeInt
Packet 27: iy.class
To read the packet:
readFloat
readFloat
readFloat
readFloat
readBoolean
readBoolean
To write the packet:
writeFloat
writeFloat
writeFloat
writeFloat
writeBoolean
writeBoolean
Packet 28: dr.class
To read the packet:
readInt
readShort
readShort
readShort
To write the packet:
writeInt
writeShort
writeShort
writeShort
Packet 29: jv.class
To read the packet:
readInt
To write the packet:
writeInt
Packet 30: lk.class
To read the packet:
readInt
To write the packet:
writeInt
Packet 31: kp.class
To read the packet:
readByte
readByte
readByte
To write the packet:
writeByte
writeByte
writeByte
Packet 32: kb.class
To read the packet:
readByte
readByte
To write the packet:
writeByte
writeByte
Packet 33: it.class
To read the packet:
readByte
readByte
readByte
readByte
readByte
To write the packet:
writeByte
writeByte
writeByte
writeByte
writeByte
Packet 34: jl.class
To read the packet:
readInt
readInt
readInt
readInt
read
read
To write the packet:
writeInt
writeInt
writeInt
writeInt
write
write
Packet 38: fi.class
To read the packet:
readInt
readByte
To write the packet:
writeInt
writeByte
Packet 39: hs.class
To read the packet:
readInt
readInt
To write the packet:
writeInt
writeInt
Packet 40: ls.class
To read the packet:
readInt
To write the packet:
writeInt
Packet 50: kc.class
To read the packet:
readInt
readInt
read
To write the packet:
writeInt
writeInt
write
Packet 51: cg.class
To read the packet:
readInt
readShort
readInt
read
read
read
readInt
readFully
setInput
inflate
end
end
To write the packet:
writeInt
writeShort
writeInt
write
write
write
writeInt
write
Packet 52: nb.class
To read the packet:
readInt
readInt
readShort
readShort
readFully
readFully
To write the packet:
writeInt
writeInt
writeShort
writeShort
write
write
Packet 53: lg.class
To read the packet:
readInt
read
readInt
read
read
To write the packet:
writeInt
write
writeInt
write
write
Packet 54: mj.class
To read the packet:
readInt
readShort
readInt
read
read
To write the packet:
writeInt
writeShort
writeInt
write
write
Packet 60: jq.class
To read the packet:
readDouble
readDouble
readDouble
readFloat
readInt
readByte
readByte
readByte
To write the packet:
writeDouble
writeDouble
writeDouble
writeFloat
writeInt
writeByte
writeByte
writeByte
Packet 70: ax.class
To read the packet:
readByte
To write the packet:
writeByte
Packet 130: ll.class
To read the packet:
readInt
readShort
readInt
readUTF
To write the packet:
writeInt
writeShort
writeInt
writeUTF
Packet 100: fe.class
To read the packet:
readByte
readByte
readUTF
readByte
To write the packet:
writeByte
writeByte
writeUTF
writeByte
Packet 101: hb.class
To read the packet:
readByte
To write the packet:
writeByte
Packet 102: jc.class
To read the packet:
readByte
readShort
readByte
readShort
readShort
readByte
readShort
To write the packet:
writeByte
writeShort
writeByte
writeShort
writeShort
writeShort
writeByte
h
writeShort
Packet 103: en.class
To read the packet:
readByte
readShort
readShort
readByte
readShort
To write the packet:
writeByte
writeShort
writeShort
writeShort
writeByte
h
writeShort
Packet 104: fw.class
To read the packet:
readByte
readShort
readShort
readByte
readShort
To write the packet:
writeByte
writeShort
writeShort
writeShort
writeByte
h
writeShort
Packet 105: hh.class
To read the packet:
readByte
readShort
readShort
To write the packet:
writeByte
writeShort
writeShort
Packet 106: id.class
To read the packet:
readByte
readShort
readByte
To write the packet:
writeByte
writeShort
writeByte
Packet 255: og.class
To read the packet:
readUTF
To write the packet:
writeUTF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment