Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Decompiled with CFR 0_102.
- */
- package xyz.ghost.fuckskype;
- import c;
- import h;
- import i;
- import j;
- import java.io.BufferedReader;
- import java.io.InputStream;
- import java.io.InputStreamReader;
- import java.io.PrintStream;
- import java.io.Reader;
- import java.util.Iterator;
- import m;
- import n;
- import o;
- public final class a {
- public a() {
- Object object = new BufferedReader(new InputStreamReader(System.in));
- System.out.println("======================================================");
- System.out.println("= Fuck Skype by Yonidrori =");
- System.out.println("======================================================");
- System.out.println("===Thanks For Using!===");
- System.out.println("======================SHIT CODE=======================");
- System.out.println("======================================================");
- System.out.println("Please login with your skype login details. \nUsername:");
- String string = object.readLine();
- System.out.println("Password:");
- object = object.readLine();
- try {
- System.out.println("Trying to login.");
- object = new h().a(string, (String)object);
- System.out.println("Logged in with " + (String)object);
- do {
- this.a((String)object);
- } while (true);
- }
- catch (i v0) {
- object = v0;
- v0.printStackTrace();
- return;
- }
- catch (j v1) {
- System.out.println("Bad username and password... Closing.");
- System.exit(-1);
- return;
- }
- catch (Exception v2) {
- object = v2;
- v2.printStackTrace();
- return;
- }
- }
- private void a(String string) {
- Object object;
- Object object2;
- BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
- Object object32 = new m();
- object32.a(new n("RegistrationToken", string));
- object32.a(o.c);
- object32.setData("");
- object32.setUrl("https://client-s.gateway.messenger.live.com/v1/users/ME/conversations?startTime=143335&pageSize=100&view=msnp24Equivalent&targetType=Passport|Skype|Lync|Thread");
- object32 = object32.b();
- if (object32 == null) {
- System.out.println("Failed to get convos");
- System.exit(-1);
- }
- object32 = new c((String)object32);
- int n = 0;
- Object object42 = object32.a("conversations").iterator();
- while (object42.hasNext()) {
- System.out.println(String.valueOf(n) + ": " + ((object2 = (c)(object = object42.next())).a("threadProperties") || object2.a("threadProperties").a("topic") ? object2.getString("id").split(":")[1] : object2.a("threadProperties").getString("topic")));
- ++n;
- }
- System.out.println("Choose your victim. (type the number)");
- object = (c)object32.a("conversations").get(Integer.valueOf(bufferedReader.readLine()));
- System.out.println("Chosen: " + object.getString("id"));
- System.out.println("\n\n\n");
- System.out.println("1: Clear a few messages");
- System.out.println("2: Edit a message");
- object42 = bufferedReader.readLine();
- object2 = new m();
- object2.a(new n("RegistrationToken", string));
- object2.a(o.c);
- object2.setUrl(String.valueOf(object.getString("messages")) + "?startTime=0&view=msnp24Equivalent&pageSize=200");
- object32 = object2.b();
- if (object32 == null) {
- System.out.println("Failed getting messages");
- return;
- }
- if (object42.equals("1")) {
- System.out.println("Do you want to remove " + new c((String)object32).a("messages").length() + " messages from this chat?");
- System.out.println("y or n");
- String string2 = bufferedReader.readLine();
- if (string2.equals("y")) {
- for (Object object42 : new c((String)object32).a("messages")) {
- object2 = (c)object42;
- try {
- a.a(object.getString("messages"), object2.a("clientmessageid") ? object2.getString("skypeeditedid") : object2.getString("clientmessageid"), "", string);
- continue;
- }
- catch (Exception v0) {}
- }
- return;
- }
- if (!string2.equals("n")) {
- System.out.println("Unknown response");
- return;
- }
- } else {
- if (object42.equals("2")) {
- System.out.println("Type your search here");
- String string3 = bufferedReader.readLine();
- System.out.println("Type your edit here");
- object42 = bufferedReader.readLine();
- for (Object object32 : new c((String)object32).a("messages")) {
- if ((object32 = (c)object32).a("content") || !object32.getString("content").contains((CharSequence)string3)) continue;
- System.out.println("Type \"y\" if you'd like to change the following message: " + object32.getString("content"));
- if (!bufferedReader.readLine().equals("y")) continue;
- a.a(object.getString("messages"), object32.a("clientmessageid") ? object32.getString("skypeeditedid") : object32.getString("clientmessageid"), (String)object42, string);
- }
- return;
- }
- System.out.println("Unknown selection!");
- }
- }
- private static void a(String object, String string, String string2, String string3) {
- m m = new m();
- m.a(o.b);
- m.a(new n("RegistrationToken", string3));
- try {
- m.setData("{\"content\":\"" + string2 + "\",\"messagetype\":\"RichText\",\"contenttype\":\"text\",\"skypeeditedid\":\"" + string + "\"}");
- m.setUrl((String)object);
- m.b();
- return;
- }
- catch (Exception v0) {
- object = v0;
- v0.printStackTrace();
- return;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement