-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade freeRASP SDK to latest versions [17.0.0 on Android & 6.14.0 on iOS] #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -126,5 +126,25 @@ public void onADBEnabledDetected() { | |
| @Override | ||
| public void onSystemVPNDetected() { | ||
| UnityPlayer.UnitySendMessage(this.gameObjectName, "scanResult", "onSystemVPN"); | ||
| } | ||
| } | ||
|
|
||
| @Override | ||
| public void onMultiInstanceDetected() { | ||
| UnityPlayer.UnitySendMessage(this.gameObjectName, "scanResult", "onMultiInstance"); | ||
| } | ||
|
|
||
| @Override | ||
| public void onUnsecureWifiDetected() { | ||
| UnityPlayer.UnitySendMessage(this.gameObjectName, "scanResult", "onUnsecureWiFi"); | ||
| } | ||
|
|
||
| @Override | ||
| public void onTimeSpoofingDetected() { | ||
| UnityPlayer.UnitySendMessage(this.gameObjectName, "scanResult", "onTimeSpoofing"); | ||
| } | ||
|
|
||
| @Override | ||
| public void onLocationSpoofingDetected() { | ||
| UnityPlayer.UnitySendMessage(this.gameObjectName, "scanResult", "onLocationSpoofing"); | ||
| } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The upgrade to SDK 17 should also include the new onAllChecksFinished callback (from RaspExecutionState). This is currently missing from the implementation. For refference:
|
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -178,6 +178,18 @@ private void scanResult(string talsecScanResultCallback) | |
| case "onADBEnabled": | ||
| this.threatDetectedCallback.onADBEnabled(); | ||
| break; | ||
| case "onMultiInstance": | ||
| this.threatDetectedCallback.onMultiInstance(); | ||
| break; | ||
| case "onUnsecureWiFi": | ||
| this.threatDetectedCallback.onUnsecureWiFi(); | ||
| break; | ||
| case "onTimeSpoofing": | ||
| this.threatDetectedCallback.onTimeSpoofing(); | ||
| break; | ||
| case "onLocationSpoofing": | ||
| this.threatDetectedCallback.onLocationSpoofing(); | ||
| break; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| } | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,8 @@ extension SecurityThreatCenter: SecurityThreatHandler { | |
| message = "onScreenshot" | ||
| case .screenRecording: | ||
| message = "screenRecording" | ||
| case .timeSpoofing: | ||
| message = "onTimeSpoofing" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| } | ||
|
|
||
| message.withCString { messagePtr in | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The plugin import is using the incorrect flavor. Could you please change it to com.aheaditec.talsec.security:TalsecSecurity-Community-Unity:17.0.0?