We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 595f8c0 commit 3ae35f4Copy full SHA for 3ae35f4
app/src/main/java/fuzion24/device/vulnerability/vulnerabilities/system/WeakSauce.java
@@ -12,8 +12,6 @@
12
import java.util.List;
13
14
public class WeakSauce implements VulnerabilityTest {
15
-
16
17
@Override
18
public List<CPUArch> getSupportedArchitectures() {
19
ArrayList<CPUArch> archs = new ArrayList<CPUArch>();
@@ -41,6 +39,6 @@ public boolean isVulnerable(Context context) throws Exception {
41
39
throw new Exception("No internet permission assigned to app to perform WeakSauce Test");
42
40
43
File dmAgentSocket = new File("/dev/socket/dmagent");
44
- return dmAgentSocket.canWrite() && dmAgentSocket.canRead();
+ return dmAgentSocket.exists();
45
}
46
0 commit comments