Advertisement
yonidrori

Untitled

Nov 3rd, 2015
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.21 KB | None | 0 0
  1. /*
  2. * Decompiled with CFR 0_102.
  3. */
  4. package xyz.ghost.fuckskype;
  5.  
  6. import c;
  7. import h;
  8. import i;
  9. import j;
  10. import java.io.BufferedReader;
  11. import java.io.InputStream;
  12. import java.io.InputStreamReader;
  13. import java.io.PrintStream;
  14. import java.io.Reader;
  15. import java.util.Iterator;
  16. import m;
  17. import n;
  18. import o;
  19.  
  20. public final class a {
  21. public a() {
  22. Object object = new BufferedReader(new InputStreamReader(System.in));
  23. System.out.println("======================================================");
  24. System.out.println("= Fuck Skype by Yonidrori =");
  25. System.out.println("======================================================");
  26. System.out.println("===Thanks For Using!===");
  27. System.out.println("======================SHIT CODE=======================");
  28. System.out.println("======================================================");
  29. System.out.println("Please login with your skype login details. \nUsername:");
  30. String string = object.readLine();
  31. System.out.println("Password:");
  32. object = object.readLine();
  33. try {
  34. System.out.println("Trying to login.");
  35. object = new h().a(string, (String)object);
  36. System.out.println("Logged in with " + (String)object);
  37. do {
  38. this.a((String)object);
  39. } while (true);
  40. }
  41. catch (i v0) {
  42. object = v0;
  43. v0.printStackTrace();
  44. return;
  45. }
  46. catch (j v1) {
  47. System.out.println("Bad username and password... Closing.");
  48. System.exit(-1);
  49. return;
  50. }
  51. catch (Exception v2) {
  52. object = v2;
  53. v2.printStackTrace();
  54. return;
  55. }
  56. }
  57.  
  58. private void a(String string) {
  59. Object object;
  60. Object object2;
  61. BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
  62. Object object32 = new m();
  63. object32.a(new n("RegistrationToken", string));
  64. object32.a(o.c);
  65. object32.setData("");
  66. object32.setUrl("https://client-s.gateway.messenger.live.com/v1/users/ME/conversations?startTime=143335&pageSize=100&view=msnp24Equivalent&targetType=Passport|Skype|Lync|Thread");
  67. object32 = object32.b();
  68. if (object32 == null) {
  69. System.out.println("Failed to get convos");
  70. System.exit(-1);
  71. }
  72. object32 = new c((String)object32);
  73. int n = 0;
  74. Object object42 = object32.a("conversations").iterator();
  75. while (object42.hasNext()) {
  76. 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")));
  77. ++n;
  78. }
  79. System.out.println("Choose your victim. (type the number)");
  80. object = (c)object32.a("conversations").get(Integer.valueOf(bufferedReader.readLine()));
  81. System.out.println("Chosen: " + object.getString("id"));
  82. System.out.println("\n\n\n");
  83. System.out.println("1: Clear a few messages");
  84. System.out.println("2: Edit a message");
  85. object42 = bufferedReader.readLine();
  86. object2 = new m();
  87. object2.a(new n("RegistrationToken", string));
  88. object2.a(o.c);
  89. object2.setUrl(String.valueOf(object.getString("messages")) + "?startTime=0&view=msnp24Equivalent&pageSize=200");
  90. object32 = object2.b();
  91. if (object32 == null) {
  92. System.out.println("Failed getting messages");
  93. return;
  94. }
  95. if (object42.equals("1")) {
  96. System.out.println("Do you want to remove " + new c((String)object32).a("messages").length() + " messages from this chat?");
  97. System.out.println("y or n");
  98. String string2 = bufferedReader.readLine();
  99. if (string2.equals("y")) {
  100. for (Object object42 : new c((String)object32).a("messages")) {
  101. object2 = (c)object42;
  102. try {
  103. a.a(object.getString("messages"), object2.a("clientmessageid") ? object2.getString("skypeeditedid") : object2.getString("clientmessageid"), "", string);
  104. continue;
  105. }
  106. catch (Exception v0) {}
  107. }
  108. return;
  109. }
  110. if (!string2.equals("n")) {
  111. System.out.println("Unknown response");
  112. return;
  113. }
  114. } else {
  115. if (object42.equals("2")) {
  116. System.out.println("Type your search here");
  117. String string3 = bufferedReader.readLine();
  118. System.out.println("Type your edit here");
  119. object42 = bufferedReader.readLine();
  120. for (Object object32 : new c((String)object32).a("messages")) {
  121. if ((object32 = (c)object32).a("content") || !object32.getString("content").contains((CharSequence)string3)) continue;
  122. System.out.println("Type \"y\" if you'd like to change the following message: " + object32.getString("content"));
  123. if (!bufferedReader.readLine().equals("y")) continue;
  124. a.a(object.getString("messages"), object32.a("clientmessageid") ? object32.getString("skypeeditedid") : object32.getString("clientmessageid"), (String)object42, string);
  125. }
  126. return;
  127. }
  128. System.out.println("Unknown selection!");
  129. }
  130. }
  131.  
  132. private static void a(String object, String string, String string2, String string3) {
  133. m m = new m();
  134. m.a(o.b);
  135. m.a(new n("RegistrationToken", string3));
  136. try {
  137. m.setData("{\"content\":\"" + string2 + "\",\"messagetype\":\"RichText\",\"contenttype\":\"text\",\"skypeeditedid\":\"" + string + "\"}");
  138. m.setUrl((String)object);
  139. m.b();
  140. return;
  141. }
  142. catch (Exception v0) {
  143. object = v0;
  144. v0.printStackTrace();
  145. return;
  146. }
  147. }
  148. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement