mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 05:07:46 +02:00
fix(core): device spoofer
- add lspatch install package name hook
This commit is contained in:
@ -567,35 +567,29 @@
|
||||
"name": "Spoof",
|
||||
"description": "Spoof various information about you",
|
||||
"properties": {
|
||||
"device": {
|
||||
"name": "Device",
|
||||
"description": "Spoof your device information",
|
||||
"properties": {
|
||||
"fingerprint": {
|
||||
"name": "Device Fingerprint",
|
||||
"description": "Spoofs your device Fingerprint"
|
||||
},
|
||||
"android_id": {
|
||||
"name": "Android ID",
|
||||
"description": "Spoofs your Android ID to the specified value"
|
||||
},
|
||||
"installer_package_name": {
|
||||
"name": "Installer Package name",
|
||||
"description": "Spoofs the installers Package name"
|
||||
},
|
||||
"debug_flag": {
|
||||
"name": "Debug Flag",
|
||||
"description": "Makes Snapchat debuggable"
|
||||
},
|
||||
"mock_location": {
|
||||
"name": "Mock location",
|
||||
"description": "Spoofs the Mock Location device state"
|
||||
},
|
||||
"split_classloader": {
|
||||
"name": "Split Classloader",
|
||||
"description": "Spoofs splitClassloader\nRequested by org.chromium.base.JNIUtils"
|
||||
}
|
||||
}
|
||||
"play_store_installer_package_name": {
|
||||
"name": "Play Store Installer Package Name",
|
||||
"description": "Overrides the installer package name to com.android.vending"
|
||||
},
|
||||
"fingerprint": {
|
||||
"name": "Device Fingerprint",
|
||||
"description": "Spoofs your device Fingerprint"
|
||||
},
|
||||
"android_id": {
|
||||
"name": "Android ID",
|
||||
"description": "Spoofs your Android ID to the specified value"
|
||||
},
|
||||
"remove_vpn_transport_flag": {
|
||||
"name": "Remove VPN Transport Flag",
|
||||
"description": "Prevents Snapchat from detecting VPNs"
|
||||
},
|
||||
"remove_mock_location_flag": {
|
||||
"name": "Remove Mock Location Flag",
|
||||
"description": "Prevents Snapchat from detecting Mock location"
|
||||
},
|
||||
"randomize_persistent_device_token": {
|
||||
"name": "Randomize Persistent Device Token",
|
||||
"description": "Generates a random device token after each login"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -9,7 +9,7 @@ class Experimental : ConfigContainer() {
|
||||
}
|
||||
|
||||
val nativeHooks = container("native_hooks", NativeHooks()) { icon = "Memory"; requireRestart() }
|
||||
val spoof = container("spoof", Spoof()) { icon = "Fingerprint" }
|
||||
val spoof = container("spoof", Spoof()) { icon = "Fingerprint" ; addNotices(FeatureNotice.BAN_RISK); requireRestart() }
|
||||
val convertMessageLocally = boolean("convert_message_locally") { requireRestart() }
|
||||
val appPasscode = string("app_passcode")
|
||||
val appLockOnResume = boolean("app_lock_on_resume")
|
||||
|
@ -1,18 +1,12 @@
|
||||
package me.rhunk.snapenhance.common.config.impl
|
||||
|
||||
import me.rhunk.snapenhance.common.config.ConfigContainer
|
||||
import me.rhunk.snapenhance.common.config.FeatureNotice
|
||||
|
||||
class Spoof : ConfigContainer() {
|
||||
inner class Device : ConfigContainer(hasGlobalState = true) {
|
||||
val fingerprint = string("fingerprint")
|
||||
val androidId = string("android_id")
|
||||
val getInstallerPackageName = string("installer_package_name")
|
||||
val debugFlag = boolean("debug_flag")
|
||||
val mockLocationState = boolean("mock_location")
|
||||
val splitClassLoader = string("split_classloader")
|
||||
val isLowEndDevice = string("low_end_device")
|
||||
val getDataDirectory = string("get_data_directory")
|
||||
}
|
||||
val device = container("device", Device()) { addNotices(FeatureNotice.BAN_RISK) }
|
||||
class Spoof : ConfigContainer(hasGlobalState = true) {
|
||||
val overridePlayStoreInstallerPackageName = boolean("play_store_installer_package_name")
|
||||
val fingerprint = string("fingerprint")
|
||||
val androidId = string("android_id")
|
||||
val removeVpnTransportFlag = boolean("remove_vpn_transport_flag")
|
||||
val removeMockLocationFlag = boolean("remove_mock_location_flag")
|
||||
val randomizePersistentDeviceToken = boolean("randomize_persistent_device_token")
|
||||
}
|
Reference in New Issue
Block a user