Skip to content

Instantly share code, notes, and snippets.

@conikeec
Created June 14, 2018 14:06
Show Gist options
  • Save conikeec/cbb8cdd5c7ef66ce42e44426a68d766d to your computer and use it in GitHub Desktop.
Save conikeec/cbb8cdd5c7ef66ce42e44426a68d766d to your computer and use it in GitHub Desktop.
b6.bin
AC ED -> We already discussed about the magic number
00 05 -> And protocol version
73 -> We have a new object (TC_OBJECT)
72 -> Refers to a class description (TC_CLASSDESC)
00 07 -> The length of the class name – 7 characters
4C 6F 67 46 69 6C 65 -> Class name – LogFile
D7 60 3D D7 33 3E BC D1 -> Serial version UID – An identifier of the class. This value can be specified in the class, if not, it is generated automatically
02 -> Flag mentioning that the class is serializable (SC_SERIALIZABLE) – a class can also be externalizable
00 02 -> Number of variables in the class
4C -> Type code/signature – class
00 0B -> Length of the class variable – 11
66 69 6C 65 63 6F 6E 74 65 6E 74 -> Variable name – filecontent
74 -> A string (TC_STRING)
00 12 -> Length of the class name
4C 6A 61 76 61 2F 6C 61 6E 67 2F 53 74 72 69 6E 67 3B -> Class name – Ljava/lang/String;
4C -> Type code/signature – class
00 08 -> Length of the class variable – 8
66 69 6C 65 6E 61 6D 65 -> Variable name – filename
71 -> It is a reference to a previous object (TC_REFERENCE)
00 7E 00 01 -> Object reference ID. Referenced objects start from 0x7E0000
78 -> End of block data for this object (TC_ENDBLOCKDATA)
70 -> NULL reference, we finished the “class description”, the data will follow
74 -> A string (TC_STRING)
00 11 -> Length of the string – 17 characters
4E 6F 20 61 63 74 69 6F 6E 73 20 6C 6F 67 67 65 64 -> The string – No actions logged
74 -> A string (TC_STRING)
00 0E -> Length of the string – 14 characters
55 73 65 72 5F 4E 79 74 72 6F 2E 6C 6F 67 -> The string – User_Ser.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment