Re:Reverse Engineered Nintendo Switch App REST API
by xkcd-sucks on Thursday May 21, 2020 @12:33AM
(#23254829)
For me, the fastest way involves using apktool to decompile it, then simply reading the API code. Or insert a log statement, recompile, run on phone w adb log - requires minimal Android code fluency
[ Parent
| on HN ]
Re:Reverse Engineered Nintendo Switch App REST API
by Polylactic_acid on Thursday May 21, 2020 @12:43AM
(#23254866)
Does this usually work? I just unzipped an apk once and saw it was all javascript but I assumed other apps would be minified.
Re:Reverse Engineered Nintendo Switch App REST API
by xkcd-sucks on Wednesday May 27, 2020 @07:01PM
(#23331212)
Java/Android is basically gibberish to me as is - Maybe it is obfuscated sometimes. But strings themselves (API endpoints) have to be present some way or another.
There is also something called "smali" which is an intermediate representation - You can edit it following something like https://stackoverflow.com/questions/31101740/method-to-add-a....
Finally, there are occasionally native ARM libs included in the jar - You can get these with tool "retdec" or just run strings on it to find interesting stuff