Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.
/ sniffas Public archive

logs love live all stars (SIFAS) http traffic through a stub library

License

Notifications You must be signed in to change notification settings

Francesco149/sniffas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logs love live all stars (SIFAS) HTTP traffic through a stub library.

snifas logging requests

architecture is arm32 only

also logs

  • files being hashed by libjackpot

this is updated as of 2019-10-19. any update that changes the native binary will require me to update it, so be patient if it breaks, or read my notes to learn how I reversed it and how to update it yourself. eventually I will make it dynamically find the functions, I wrote this in a rush and it gets the job done for now

building (linux)

download the latest android ndk standalone and extract it somewhere

set CC to your ndk location like so and run build.sh

export CC=~/android-ndk-r20/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang
./build.sh

usage

have a rooted device with magisk hide enabled for lovelive connected over adb, or just ssh into it

replace the original library

adb root
adb push libKLab.NativeInput.Native.so /data/app/
adb shell

cd /data/app/com.klab.lovelive.allstars-*/lib/arm/
mv libKLab.NativeInput.Native.so{,.bak}
mv /data/app/libKLab.NativeInput.Native.so .
chmod 755 libKLab.NativeInput.Native.so
chown system:system libKLab.NativeInput.Native.so
exit

clear logcat and start logging

adb shell logcat -c
adb shell logcat | grep sniffas

now start the game and watch the log. I usually pipe the above command into a file, like adb shell logcat -d | grep sniffas > log.txt so you can read it in your favorite editor

my personal setup is a bit different, I host the binary on a local http server and then adb shell over lan into my android machine, and wget it as root:

adb shell
su
logcat -c
cd /data/app/com.klab.lovelive.allstars-*/lib/arm
wget -O libKLab.NativeInput.Native.so 192.168.1.2:8080
chmod 755 libKLab.NativeInput.Native.so
chown system:system libKLab.NativeInput.Native.so
am force-stop com.klab.lovelive.allstars
am start com.klab.lovelive.allstars/.MainActivity
logcat | grep sniffas

About

logs love live all stars (SIFAS) http traffic through a stub library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages