Skip to content

OSUSecLab/AutoVR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoVR

An automated UI and event tester for Unity VR games.

Installation

  1. Install the dependencies:
python >= 3.11
node >= v20.2.0
frida == 16.0.19
adb >= 33.0.3
  1. Install frida 16.0.19 Android ARM64 binaries [here].
  2. Clone this repository.
git clone https://github.com/OSUSecLab/AutoVR.git
  1. Enter repository directory and run the following commands:
cd ts/
npm install
./compile.sh
  1. Exit the compile script ^C.

Usage

For non-rooted devices.

Ensure you inject Frida Gadget with the same version of the frida ARM64 binary. You can use common Frida Gadget injectors like objection [here] to inject Frida Gadget into your apk.

For rooted devices.

Ensure Frida server binary is running on the device.

Flag Table

flag description Required?
device Device ID connected using adb devices Y
package Name of the target package. Y
script-file The script.json file from Il2CppDumper [here]. N
ssl-offset For network: If SSL bypass is needed, this is the hexadecimal offset value of the Unity SSL pinning function. N
use-mbed-tls For network: If mbedtls_x509_crt_verify_with_profile SSL pinning function is used. N
delay_scenes Milliseconds between scene loads to wait before event loading starts. N
rooted If the device is rooted and frida-server-arm64 is running on the device. N

Usage

usage: autovr.py [-h] --device device --package package_name [--script-file script_file] [--ssl-offset ssl_offset] [--use-mbed-tls use_mbed_tls]
                 [--delay_scenes delay_scenes] [--rooted is_rooted]

Example:

python3.11 autovr.py --device 1WMHHA69J92123 --package com.my.package \
                      --script-file /path/to/script.json \
                      --ssl-offset 0xdeadbeef \
                      --use-mbed-tls True \
                      --delay_scenes 5000 \
                      --rooted False

License

AutoVR is licensed under the Apache 2.0 License.

About

An automated UI and event tester for Unity VR games.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors