This project is in no way associated with LernSax, WebWeaver, DigiOnline GmbH or Freistaat Sachsen
This is a modification for the lernsax android app (and probarly other webweaver apps too) that integrates IGLogger into the app. This allows the user to watch the requests between the android device and the json_rpc api of the LernSax/WebWeaver servers. This can be helpful for the reverse engineering and documentation of the json_rpc lernsax api. If you want to look at the already existing documentation, want to share dumps or want to share you knowledge you can take look at my own research repository.
Using logcat you will see every request that the lernsax app makes marked as LernLog.REQ and every response it gets as LernLog.RESP.
lernsax
This probarly works with other WebWeaver based apps too but I couldn't try it out yet.
apkextractor
apktool
iglogger.smali
JsonApiTask.diff
java jdk
- Install LernSax on your phone.
- Use APKExtractor to create the lernsax.apk
- Transfer the apk to your PC.
- Decode the apk using apktool
apktool d -o "lernsaxdecoded" lernsax.apk
- Rename the iglogger file to iglogger.smali if you haven't already
- Copy the iglogger.smali to
lernsaxdecoded/smali/de/digionline/webweaver/api/tasks
- Patch the JsonApiTask.smali
patch lernsaxdecoded/smali/de/digionline/webweaver/api/tasks/JsonApiTask.smali JsonApiTask.diff
- Build the patched apk
apktool b -o lernsaxpatched.apk lernsaxdecoded
- Create a key for signing
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
- Sign the apk with the key
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore lernsaxpatched.apk alias_name
- Transfer the apk to your device.
- Uninstall the lernsax app.
- Install the patched apk.
- Activate USB Debugging
- Use logcat to watch the log
- profit!