Skip to content

Commit 2365e55

Browse files
committed
Frida detection added
1 parent 4dee0ab commit 2365e55

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

app/src/main/res/mipmap-hdpi/ic_launcher.png

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/src/main/res/mipmap-hdpi/ic_launcher_round.png

Lines changed: 0 additions & 1 deletion
This file was deleted.

protect/src/main/java/com/webileapps/safeguard/NetworkChangeReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ else if (!NetworkUtils.isWifiSecure(context)) {
3636
// Handle unsecured Wi-Fi detection
3737
SecurityConfigManager.getSecurityChecker().showSecurityDialog(
3838
context,
39-
context.getString(R.string.usecured_network_warning),
39+
context.getString(R.string.unsecured_network_warning),
4040
false,
4141
(ok) -> {}
4242
);

protect/src/main/java/com/webileapps/safeguard/SecurityChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ public SecurityCheck checkNetworkSecurity() {
503503
} else if (NetworkUtils.isProxySet(context)) {
504504
return createNetworkSecurityResponse(context.getString(R.string.proxy_warning));
505505
} else if (!NetworkUtils.isWifiSecure(context)) {
506-
return createNetworkSecurityResponse(context.getString(R.string.usecured_network_warning));
506+
return createNetworkSecurityResponse(context.getString(R.string.unsecured_network_warning));
507507
}
508508

509509
return new SecurityCheck.Success();

protect/src/main/res/values/strings.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<string name="rooted_warning">Rooted devices or emulators can pose significant security risks.</string>
77
<string name="vpn_warning">Active VPN connection detected, which may pose potential security risks.</string>
88
<string name="proxy_warning">Active Proxy connection detected, which may pose potential security risks.</string>
9-
<string name="usecured_network_warning">An unsecured network connection has been detected.</string>
10-
<string name="auto_time_warning">Please enable automatic date and time settings for security.</string>
11-
<string name="developer_options_warning">Developer options are enabled on this device, which may pose security risks</string>
9+
<string name="unsecured_network_warning">An unsecured network connection has been detected.</string>
10+
<string name="auto_time_warning">As per regulation, date &amp; time cannot be set manually. Please change date-time setting to automatic mode &amp; try again.</string>
11+
<string name="developer_options_warning">As per regulation, &quot;Developer Options&quot; must not be enabled. Please disable &quot;Developer Options&quot; &amp; try again.</string>
1212
<string name="mock_location_warning">Mock location is enabled, which may affect the accuracy of location data.</string>
1313
<string name="usb_debugging_warning">USB debugging is enabled, which may pose security risks.</string>
1414
<string name="app_spoofing_warning">Application spoofing has been detected, which may compromise security.</string>
@@ -19,9 +19,9 @@
1919
<string name="screen_recording_warning">Screen recording is active, which may pose a security risk.</string>
2020
<string name="app_signature_warning">App verification failed! The app signature does not match the expected credentials. This may indicate unauthorized changes or tampering.</string>
2121
<string name="app_signature_critical">App signature invalid! Potential tampering or unauthorized modification detected. The app cannot proceed and will now terminate.</string>
22-
<string name="in_call_warning">Voice call is active on your device. This may pose a security risk.</string>
23-
<string name="in_call_critical">Voice call is active on your device. This poses a significant security risk and must be disabled to proceed.</string>
24-
<string name="ongoing_call_warning">An ongoing call is detected. This may pose security risks.</string>
25-
<string name="ongoing_call_critical">An ongoing call is detected. Please end the call to continue using the application.</string>
22+
<string name="in_call_warning">Please note an active call is detected. This might be a security risk.</string>
23+
<string name="in_call_critical">Please note an active call is detected. This might be a security risk.</string>
24+
<string name="ongoing_call_warning">Please note an active call is detected. This might be a security risk.</string>
25+
<string name="ongoing_call_critical">Please note an active call is detected. This might be a security risk.</string>
2626

2727
</resources>

0 commit comments

Comments
 (0)