Da ich gerade Langeweile hatte, habe ich angefangen in Java einen Minecraft Launcher zu machen. Dafür braucht man natürlich auch die PlayerUUID und den AccessToken, um zu verifizieren das man Premium hat. Ich habe für euch mal ein kleines Tool dafür gemacht. (Source Code vorhanden!) Es ist Kompatibel mit allen jetzigen Versionen!
Es ist euch erlaubt dieses Tool zu decompilen, weil es ja euer Passwort abfragt...
Und niemand gibt ja einfach so, irgend wo sein Passwort ein...
Changelog:
Build 018:
•GUI!
•Text wird in einer TextArea angezeigt
•Text ist somit Kopierbar!
Build 012:
•Auf das neue System umgestiegen (Yggdrasil)
•6 dazu benötigte Libraries hinzugefügt
•GUI!
•Text wird in einer TextArea angezeigt
•Text ist somit Kopierbar!
Build 012:
•Auf das neue System umgestiegen (Yggdrasil)
•6 dazu benötigte Libraries hinzugefügt
Code:
package de.dakeksy.launcher;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.Proxy;
import java.util.UUID;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPasswordField;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import com.mojang.authlib.Agent;
import com.mojang.authlib.UserAuthentication;
import com.mojang.authlib.exceptions.AuthenticationException;
import com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService;
import com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication;
import javax.swing.GroupLayout.Alignment;
import javax.swing.GroupLayout;
import javax.swing.LayoutStyle.ComponentPlacement;
public class Launcher extends JFrame implements ActionListener {
private static final long serialVersionUID = 1L;
public static UserAuthentication auth = new YggdrasilUserAuthentication(
new YggdrasilAuthenticationService(Proxy.NO_PROXY, UUID
.randomUUID().toString()), Agent.MINECRAFT);
public static JButton btnLogin = new javax.swing.JButton();
public static JTextField tfUsername = new javax.swing.JTextField();
public static JPasswordField jpwPasswordField = new javax.swing.JPasswordField();
public static JLabel lbUsername = new javax.swing.JLabel();
public static JLabel lbPassword = new javax.swing.JLabel();
public static JTextArea taTextArea = new javax.swing.JTextArea();
/**
* Creates new form Window
*/
public Launcher() {
initComponents();
}
public static void main(String args[]) {
startIt();
}
public void doLogin() {
String uname = tfUsername.getText();
String pfield = jpwPasswordField.getText();
// System.out.println(uname);
// System.out.println(pfield);
auth.setUsername(uname);
auth.setPassword(pfield);
try{
auth.logIn();
} catch (AuthenticationException e){
e.printStackTrace();
}
String playerUUID = auth.getSelectedProfile().getId();
String accessToken = auth.getAuthenticatedToken();
String userName = auth.getSelectedProfile().getName();
printInTextArea(playerUUID, accessToken, userName);
}
public void printInTextArea(String pid, String at, String un){
taTextArea.setText("playerUUID: " + pid + "\naccessToken: " + at + "\nUsername: " + un);
}
public void actionPerformed(ActionEvent e) {
if (e.getSource() == btnLogin) {
doLogin();
}
}
private void initComponents() {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setLocationRelativeTo(null);
btnLogin.setText("Login");
btnLogin.addActionListener(this);
tfUsername.setText("Username");
jpwPasswordField.setText("Passwort");
lbUsername.setText("Username:");
lbPassword.setText("Passwort:");
taTextArea.setColumns(20);
taTextArea.setRows(5);
taTextArea.setEditable(false);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(
getContentPane());
layout.setHorizontalGroup(
layout.createParallelGroup(Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(Alignment.TRAILING)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(Alignment.LEADING)
.addComponent(lbUsername)
.addComponent(tfUsername, GroupLayout.PREFERRED_SIZE, 124, GroupLayout.PREFERRED_SIZE))
.addGap(18)
.addGroup(layout.createParallelGroup(Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jpwPasswordField, GroupLayout.PREFERRED_SIZE, 130, GroupLayout.PREFERRED_SIZE)
.addPreferredGap(ComponentPlacement.RELATED)
.addComponent(btnLogin))
.addComponent(lbPassword)))
.addComponent(taTextArea, Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 324, GroupLayout.PREFERRED_SIZE))
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(taTextArea, GroupLayout.PREFERRED_SIZE, 238, GroupLayout.PREFERRED_SIZE)
.addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(Alignment.BASELINE)
.addComponent(lbUsername)
.addComponent(lbPassword))
.addPreferredGap(ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(Alignment.BASELINE)
.addComponent(jpwPasswordField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
.addComponent(btnLogin)
.addComponent(tfUsername, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
.addContainerGap())
);
getContentPane().setLayout(layout);
pack();
}
public static void startIt() {
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager
.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(Launcher.class.getName()).log(
java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(Launcher.class.getName()).log(
java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Launcher.class.getName()).log(
java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Launcher.class.getName()).log(
java.util.logging.Level.SEVERE, null, ex);
}
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Launcher().setVisible(true);
}
});
}
}
Virustotal:
Session Generator -Unrar Me-.rar :

SessionGeneratorBuild018.jar :

Download:

Falls ihr noch Fragen, Wünsche oder Sonstiges habt: Immer her damit!






