@@ -0,0 +1,983 @@
+package com.device.vulnerability.vulnerabilities.system;%0A%0A%0Aimport android.content.Context;%0Aimport android.content.pm.PackageManager;%0A%0Aimport com.device.vulnerability.vulnerabilities.VulnerabilityTest;%0A%0Aimport java.io.File;%0A%0Apublic class WeakSauce implements VulnerabilityTest %7B%0A%0A    @Override%0A    public String getName() %7B%0A        return %22WeakSauce%22;%0A    %7D%0A%0A    private boolean thisHasInternetPermission(Context ctx)%0A    %7B%0A        String permission = %22android.permission.INTERNET%22;%0A        int res = ctx.checkCallingOrSelfPermission(permission);%0A        return (res == PackageManager.PERMISSION_GRANTED);%0A    %7D%0A%0A    @Override%0A    public boolean isVulnerable(Context context) throws Exception %7B%0A%0A        if(!thisHasInternetPermission(context))%0A            throw new Exception(%22No internet permission assigned to app to perform WeakSauce Test%22);%0A%0A        File dmAgentSocket = new File(%22/dev/socket/dmagent%22);%0A        return dmAgentSocket.canWrite() && dmAgentSocket.canRead();%0A    %7D%0A%7D%0A

Add check for weaksauce