Open BenMcLean opened 1 year ago
Hi, Ben! At first, I'm really sorry, but I can't check this script right now - I haven't got a Windows-based PC (I moved to Mac several months ago). But, by the way, have you read my article, which describes how to use this script? - https://al-e-shevelev.medium.com/how-to-improve-android-logging-via-windows-powershell-21c4018c4732 - I hope it'll help you.
Sincerely yours, Alexander Shevelev
@BenMcLean Install an app with android studio emulator with root enabled (choose an android api image). Then install a software. example
https://github.com/OWASP/MASTG-Hacking-Playground/releases/download/1.1/MSTG-Android-Java.apk
then do:
adb root
adb shell
ls /data/data -l | grep owasp
according to the previous result, run:
.\power_shell_logcat\log.ps1 --id=sg.vp.owasp_mobile.omtg_android
if you see sg.vp.owasp_mobile.omtg_android
.
Normally, when I want to run a PowerShell script, I make a batch file that's named identically to run it with like this.
But that doesn't work with this script. I've tried everything and I always get
Argument 'id' is mandatory and can't be skipped
no matter what parameters I include.How to run this script?