idk stuff

This commit is contained in:
DavidVentura
2024-01-18 00:27:55 +01:00
parent 4b8f5c12e0
commit da766d3962
4 changed files with 248 additions and 0 deletions
+19
View File
@@ -5,3 +5,22 @@ Reversing a camera
Per [pictures](https://github.com/DavidVentura/cam-reverse/blob/master/pics/pcb.jpg?raw=true) the main chip is TXW817 ([chinese](https://www.taixin-semi.com/Product/ProductDetail?productId=306), [eng, google translate](https://www-taixin--semi-com.translate.goog/Product/ProductDetail?productId=306&_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp))
The interesting implementation is in `libvdp.so`, part of the apk bundle. This repo uses Frida for live analysis of the .so file.
### Take APK from emulator/sacrificial device
```
adb shell pm list packages | grep ysx
adb shell pm path com.ysxlite.cam
adb shell pm path com.ysxlite.cam | while read -r line ; do adb pull $(echo $line | cut -d: -f2-) ; done
```
### Push to sacrificial device
```
adb install-multiple *apk
```
### Frida install Android
[docs](https://frida.re/docs/android/)