Line Application Source
Project of Reverse Engineering LINE Messaging App (for education purpose)
This project was carried out in order to obtain and make the thrift file of LINE Thrift Protocol (client-side).
And also, feel free to contribute :smile:
Before doing this, you need to have this on you:
This is how i obtain the thrift file and make it human-readable form:
new TStruct("thisIsStruct")
code in a *.java file
new TStruct("thisIsStruct")
is definitely obfuscated by the developer and it can be something like this new A340v("thisIsStruct")
. You have to figure it out by yourselfblabla_args
is a request struct, and the blabla_result
is a response struct_args
in it, and you'll be redirected to the package source
verifyEapLogin
is the struct namenew C6282b(arg1,arg2,arg3)
is a struct field builder, but you see that it have 3 arguments. So here is the explanation :
OAuthWebLoginServiceActivity.f1422071
is a field name (should be string), but we got something like that. Because of the name is not a string, you have to explore the OAuthWebLoginServiceActivity.f1422071
to get the name.(byte) 12
is a type of a field. (12 = struct)1
is the id of a field.struct
,enum
,map<byte,byte>
,set<byte>
,list<byte>
type. You should gather information on static {.....}
scope (like image above).RESPONSETYPE_STRUCT verifyEapLogin(1: OAUTHACTIVITY_STRUCT field_name) throws(1: EXCEPTION_STRUCT e)