@@ -0,0 +1,2690 @@
+package fuzion24.device.vulnerability.util;%0A%0Aimport android.os.Build;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0A%0A/**%0A * Created by fuzion24 on 9/21/15.%0A */%0Apublic class DeviceInfo %7B%0A%0A    private final String kernelVersion;%0A    private final String buildManufacturer;%0A    private final String buildBrand;%0A    private final String buildModel;%0A    private final String buildRelease;%0A    private final String buildSDK;%0A    private final String buildFingerPrint;%0A%0A%0A    private DeviceInfo(String kVer,%0A                       String bManufacturer,%0A                       String bBrand,%0A                       String bModel,%0A                       String bRelease,%0A                       String bSDK,%0A                       String bFingerPrint)%7B%0A        this.kernelVersion = kVer;%0A        this.buildManufacturer = bManufacturer;%0A        this.buildBrand = bBrand;%0A        this.buildModel = bModel;%0A        this.buildRelease = bRelease;%0A        this.buildSDK = bSDK;%0A        this.buildFingerPrint = bFingerPrint;%0A    %7D%0A%0A    public static DeviceInfo getDeviceInfo() throws Exception %7B%0A%0A        String kVer = readKernelVersion();%0A        String bManufac = Build.MANUFACTURER;%0A        String bBrand = Build.BRAND;%0A        String bModel = Build.MODEL;%0A        String bRelease = Build.VERSION.RELEASE;%0A        String bSdk = Build.VERSION.SDK;%0A        String bFingerPrint = Build.FINGERPRINT;%0A%0A        return new DeviceInfo(kVer,%0A                bManufac,%0A                bBrand,%0A                bModel,%0A                bRelease,%0A                bSdk,%0A                bFingerPrint%0A                );%0A    %7D%0A%0A%0A    public static String readKernelVersion() throws Exception %7B%0A        final int BUFFER_SIZE = 4098;%0A%0A        Process p = Runtime.getRuntime().exec(%22uname -a%22);%0A        InputStream is = null;%0A        if (p.waitFor() == 0) %7B%0A            is = p.getInputStream();%0A        %7D else %7B%0A            is = p.getErrorStream();%0A        %7D%0A        BufferedReader br = new BufferedReader(new InputStreamReader(is),%0A                BUFFER_SIZE);%0A        String line = br.readLine();%0A        br.close();%0A        return line;%0A    %7D%0A%0A%0A    public String getKernelVersion() %7B%0A        return kernelVersion;%0A    %7D%0A%0A    public String getBuildManufacturer() %7B%0A        return buildManufacturer;%0A    %7D%0A%0A    public String getBuildBrand() %7B%0A        return buildBrand;%0A    %7D%0A%0A    public String getBuildModel() %7B%0A        return buildModel;%0A    %7D%0A%0A    public String getBuildRelease() %7B%0A        return buildRelease;%0A    %7D%0A%0A    public String getBuildSDK() %7B%0A        return buildSDK;%0A    %7D%0A%0A    public String getBuildFingerPrint() %7B%0A        return buildFingerPrint;%0A    %7D%0A%0A    %0A%0A%7D%0A

Add helper class for getting device info