Closed gamalkhaled-breadfast closed 3 days ago
Hi @gamalkhaled-breadfast,
thanks for opening the issue. We reproduced the bug and will work on fix.
Best, Tomas, Talsec developer
Hi @gamalkhaled-breadfast , the bugfix is ready, patch should be available in the next release. Best, Tomas & Talsec team
Describe the bug A third-party library we use uses
Runtime.getRuntime().exec("ping -c 1 www.google.com")
in Android(Java) to check the internet connection status, but when we initialize freeRASP throwuseFreeRasp
with onlyconsole.log
for every action, the line throws an errorjava.io.IOException: Cannot run program "ping": error=2, No such file or directory
.To Reproduce Add this function to an android module and expose it to the JS, initialize freeRASP then call the function
Expected behavior
isOnline
should returntrue
, as it does if we only commenteduseFreeRasp
Please complete the following information:
Aditional Context The command works if we changed
ping
to/system/bin/ping