Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.40 KB | None | 0 0
  1. package org.zoovy.dos;
  2.  
  3. /**
  4. * @Author Zoovy
  5. **/
  6.  
  7. import java.util.Scanner;
  8. import java.util.Random;
  9. public class Main {
  10. @SuppressWarnings("resource")
  11. public static void main(String args[]) {
  12. Scanner Scanner;
  13. Random Random;
  14. Random rand = new Random();
  15. Scanner = new Scanner(System.in);
  16. int i = 1;
  17. int c = 0;
  18. String[] $table = {"1", "2", "3"};
  19. int $x = rand.nextInt(3);
  20. boolean one = true;
  21. boolean two = false;
  22. if ((one != false) && (two != true)) {
  23. if (i == 1) {
  24. try {
  25. Thread.sleep(1000);
  26. System.out.println("[✓] Loading Assets...");
  27. Thread.sleep(4000);
  28. System.out.println("[✓] Please Enter your Product Key.");
  29. String $PK = Scanner.next();
  30. if ($PK.equals("78772777")) {
  31. if ((one != false) && (two != true)) {
  32. System.out.println("[?] Checking your Product Key...");
  33. Thread.sleep(4000);
  34. Start();
  35. }
  36. } else {
  37. System.out.println("[?] Checking your Product Key...");
  38. Thread.sleep(4000);
  39. System.out.println("[✗] The Product Key you Entered is Invalid");
  40. Quit();
  41. }
  42. } catch (InterruptedException ex) {
  43. System.out.println(" ");
  44. }
  45. }
  46. }
  47. }
  48. public static void Start() {
  49. Scanner Scanner;
  50. Scanner = new Scanner(System.in);
  51. boolean one = true;
  52. boolean two = false;
  53. int i = 1;
  54. if (i == 1) {
  55. try {
  56. System.out.println("[✓] The Product Key you Entered is Valid");
  57. Thread.sleep(1000);
  58. System.out.println("[?] Was this not your Product key? if Not, Please type return, if this is your Product key, Please Type continue");
  59. String $return = Scanner.next();
  60. if ($return.equals("return")) {
  61. if ((one != false) && (two != true)) {
  62. Return();
  63. }
  64. } else {
  65. Thread.sleep(1000);
  66. System.out.println("[✓] Loading Assets...");
  67. Thread.sleep(4000);
  68. System.out.println("[?] Credentials Detected...");
  69. Thread.sleep(1000);
  70. System.out.println("[✓] Please Enter Your Username");
  71. }
  72. String $user = Scanner.next();
  73. if ($user.equals("admin")) {
  74. if ((one != false) && (two != true)) {
  75. System.out.println("[?] Checking Credentials...");
  76. Thread.sleep(4000);
  77. System.out.println("[✓] Please Enter Your Password");
  78. String $pass = Scanner.next();
  79. if ($pass.equals("admin")) {
  80. if ((one != false) && (two != true)) {
  81. System.out.println("[?] Checking Credentials...");
  82. Thread.sleep(4000);
  83. System.out.println("[✓] Welcome back " + $user); // MAIN PAGE
  84. Thread.sleep(1000);
  85. System.out.println("[✓] Loading Assets...");
  86. Thread.sleep(4000);
  87. System.out.print("Z");
  88. Thread.sleep(300);
  89. System.out.print("o");
  90. Thread.sleep(300);
  91. System.out.print("o");
  92. Thread.sleep(300);
  93. System.out.print("v");
  94. Thread.sleep(300);
  95. System.out.print("y");
  96. Thread.sleep(300);
  97. System.out.print(" ");
  98. Thread.sleep(300);
  99. System.out.print("D");
  100. Thread.sleep(300);
  101. System.out.print("O");
  102. Thread.sleep(300);
  103. System.out.print("S");
  104. Thread.sleep(300);
  105. System.out.print(" ");
  106. Thread.sleep(300);
  107. System.out.print("W");
  108. Thread.sleep(300);
  109. System.out.print("e");
  110. Thread.sleep(300);
  111. System.out.print("l");
  112. Thread.sleep(300);
  113. System.out.print("c");
  114. Thread.sleep(300);
  115. System.out.print("o");
  116. Thread.sleep(300);
  117. System.out.print("m");
  118. Thread.sleep(300);
  119. System.out.print("e");
  120. Thread.sleep(300);
  121. System.out.println("!");
  122. Thread.sleep(1000);
  123. System.out.println("[✓] Loading Assets...");
  124. Thread.sleep(4000);
  125. System.out.println("[?] Need Some Help? type help");
  126. String $command = Scanner.next();
  127. if ($command.equals("calculator")) {
  128. if ((one != false) && (two != true)) {
  129. Calculator();
  130. }
  131. }
  132. if ($command.equals("about")) {
  133. if ((one != false) && (two != true)) {
  134. Thread.sleep(1000);
  135. System.out.println("[✓] Loading Assets...");
  136. Thread.sleep(4000);
  137. System.out.println("About Memphis DoS:");
  138. Thread.sleep(1000);
  139. System.out.println("Memphis DoS was Created by Zoovy in an attempt to make it easier for users to Understand DoS, with a User Friendly Interface.");
  140. Thread.sleep(1000);
  141. Start2();
  142. }
  143. }
  144. if ($command.equals("version")) {
  145. if ((one != false) && (two != true)) {
  146. Thread.sleep(1000);
  147. System.out.println("[✓] Loading Version...");
  148. Thread.sleep(4000);
  149. System.out.println("Memphis DoS 1");
  150. Thread.sleep(4000);
  151. Start2();
  152. }
  153. }
  154. if ($command.equals("help")) {
  155. if ((one != false) && (two != true)) {
  156. Help();
  157. }
  158. }
  159. if ($command.equals("clear")) {
  160. if ((one != false) && (two != true)) {
  161. Thread.sleep(1000);
  162. System.out.println("[!] Warning! You are about to clear Console, would you still like to proceed? [yes] [no]");
  163. String $yn = Scanner.next();
  164. if ($yn.equals("yes")) {
  165. if ((one != false) && (two != true)) {
  166. Thread.sleep(4000);
  167. System.out.println("[BETA] Console has been Cleared");
  168. Thread.sleep(1000);
  169. Start2();
  170. }
  171. }
  172. if ($yn.equals("no")) {
  173. if ((one != false) && (two != true)) {
  174. Start2();
  175. }
  176. }
  177. } // end of this if statement
  178. }
  179. }
  180. } else {
  181. System.out.println("[?] Checking Credentials...");
  182. Thread.sleep(4000);
  183. System.out.println("[✗] Invalid Password!");
  184. Quit();
  185. }
  186. }
  187. } else {
  188. System.out.println("[✓] Checking Credentials...");
  189. Thread.sleep(4000);
  190. System.out.println("[✗] Invalid Username!");
  191. Quit();
  192. }
  193. } catch (InterruptedException ex) {
  194. System.out.println(" ");
  195. }
  196. }
  197. } // end of Start Void
  198. public static void Return() {
  199. Scanner Scanner;
  200. Random Random;
  201. Random rand = new Random();
  202. Scanner = new Scanner(System.in);
  203. int i = 1;
  204. int c = 0;
  205. String[] $table = {"1", "2", "3"};
  206. int $x = rand.nextInt(3);
  207. boolean one = true;
  208. boolean two = false;
  209. if ((one != false) && (two != true)) {
  210. if (i == 1) {
  211. try {
  212. Thread.sleep(1000);
  213. System.out.println("[✓] Loading Assets...");
  214. Thread.sleep(4000);
  215. System.out.println("[✓] Please Enter your Product Key.");
  216. String $PK = Scanner.next();
  217. if ($PK.equals("78772777")) {
  218. if ((one != false) && (two != true)) {
  219. System.out.println("[?] Checking your Product Key...");
  220. Thread.sleep(4000);
  221. Start();
  222. }
  223. } else {
  224. System.out.println("[?] Checking your Product Key...");
  225. Thread.sleep(4000);
  226. System.out.println("[✗] The Product Key you Entered is Invalid");
  227. }
  228. } catch (InterruptedException ex) {
  229. System.out.println(" ");
  230. }
  231. }
  232. }
  233. } // end of Return Void
  234. public static void Help() {
  235. boolean one = true;
  236. boolean two = false;
  237. Scanner Scanner;
  238. Scanner = new Scanner(System.in);
  239. int i = 1;
  240. if (i == 1) {
  241. if ((one != false) && (two != true)) {
  242. try {
  243. Thread.sleep(1000);
  244. System.out.println("[✓] Loading Assets...");
  245. Thread.sleep(4000);
  246. System.out.println("[✓] Welcome to the Help Menu.");
  247. Thread.sleep(2000);
  248. System.out.println("[✓] Showing Commands...");
  249. Thread.sleep(1000);
  250. System.out.println("- clear >> Clears the Console leaving the console blank");
  251. Thread.sleep(200);
  252. System.out.println("- version >> Shows the Current Version of This DoS Operating System");
  253. Thread.sleep(200);
  254. System.out.println("- about >> About Memphis DoS");
  255. Thread.sleep(200);
  256. System.out.println("- calculator >> Basic Calculator with a Friendly Interface");
  257. Thread.sleep(4000);
  258. Start2();
  259. String $return = Scanner.next();
  260. if ($return.equals("return")) {
  261. if ((one != false) && (two != true)) {
  262. Start2();
  263. }
  264. } else {
  265. Start2();
  266. }
  267. } catch (InterruptedException ex) {
  268. System.out.println(" ");
  269. }
  270. }
  271. }
  272. } // end of Help Void
  273. public static void Start2() {
  274. Scanner Scanner;
  275. Scanner = new Scanner(System.in);
  276. int i = 1;
  277. boolean one = true;
  278. boolean two = false;
  279. if (i == 1) {
  280. if ((one != false) && (two != true)) {
  281. try {
  282. System.out.println("[✓] Loading Assets...");
  283. Thread.sleep(4000);
  284. System.out.print("Z");
  285. Thread.sleep(300);
  286. System.out.print("o");
  287. Thread.sleep(300);
  288. System.out.print("o");
  289. Thread.sleep(300);
  290. System.out.print("v");
  291. Thread.sleep(300);
  292. System.out.print("y");
  293. Thread.sleep(300);
  294. System.out.print(" ");
  295. Thread.sleep(300);
  296. System.out.print("D");
  297. Thread.sleep(300);
  298. System.out.print("O");
  299. Thread.sleep(300);
  300. System.out.print("S");
  301. Thread.sleep(300);
  302. System.out.print(" ");
  303. Thread.sleep(300);
  304. System.out.print("W");
  305. Thread.sleep(300);
  306. System.out.print("e");
  307. Thread.sleep(300);
  308. System.out.print("l");
  309. Thread.sleep(300);
  310. System.out.print("c");
  311. Thread.sleep(300);
  312. System.out.print("o");
  313. Thread.sleep(300);
  314. System.out.print("m");
  315. Thread.sleep(300);
  316. System.out.print("e");
  317. Thread.sleep(300);
  318. System.out.println("!");
  319. Thread.sleep(1000);
  320. System.out.println("[✓] Loading Assets...");
  321. Thread.sleep(4000);
  322. System.out.println("[?] Need Some Help? type help");
  323. String $command = Scanner.next();
  324. if ($command.equals("calculator")) {
  325. if ((one != false) && (two != true)) {
  326. Calculator();
  327. }
  328. }
  329. if ($command.equals("about")) {
  330. if ((one != false) && (two != true)) {
  331. Thread.sleep(1000);
  332. System.out.println("[✓] Loading Assets...");
  333. Thread.sleep(4000);
  334. System.out.println("About Memphis DoS:");
  335. Thread.sleep(1000);
  336. System.out.println("Memphis DoS was Created by Zoovy in an attempt to make it easier for users to Understand DoS, with a User Friendly Interface.");
  337. Thread.sleep(1000);
  338. Start2();
  339. }
  340. }
  341. if ($command.equals("help")) {
  342. if ((one != false) && (two != true)) {
  343. Help();
  344. }
  345. }
  346. if ($command.equals("clear")) {
  347. if ((one != false) && (two != true)) {
  348. Thread.sleep(1000);
  349. System.out.println("[!] Warning! You are about to clear console, would you still like to proceed? [yes] [no]");
  350. String $yn = Scanner.next();
  351. if ($yn.equals("yes")) {
  352. if ((one != false) && (two != true)) {
  353. Thread.sleep(4000);
  354. System.out.println("[BETA] Console has been Cleared");
  355. Thread.sleep(1000);
  356. Start2();
  357. }
  358. }
  359. if ($yn.equals("no")) {
  360. if ((one != false) && (two != true)) {
  361. Start2();
  362. }
  363. }
  364. }
  365. } // end of this if statement
  366. if ($command.equals("version")) {
  367. if ((one != false) && (two != true)) {
  368. Thread.sleep(1000);
  369. System.out.println("[✓] Loading Version...");
  370. Thread.sleep(4000);
  371. System.out.println("Memphis DoS 1");
  372. Thread.sleep(4000);
  373. Start2();
  374. }
  375. }
  376. } catch (InterruptedException ex) {
  377. System.out.println(" ");
  378. }
  379. }
  380. }
  381. } // end of Start2 Void
  382. public static void Quit() {
  383. int i = 1;
  384. boolean one = true;
  385. boolean two = false;
  386. if (i == 1) {
  387. if ((one != false) && (two != true)) {
  388. try {
  389. Thread.sleep(4000);
  390. System.out.println("[✓] Shutting down...");
  391. Thread.sleep(4000);
  392. } catch (InterruptedException ex) {
  393. System.out.println(" ");
  394. }
  395. }
  396. }
  397. } // end of Quit Void
  398. public static void Calculator() {
  399. Scanner Scanner;
  400. Scanner = new Scanner(System.in);
  401. boolean one = true;
  402. boolean two = false;
  403. int i = 1;
  404. if (i == 1) {
  405. if ((one != false) && (two != true)) {
  406. try {
  407. Thread.sleep(1000);
  408. System.out.println("[✓] Loading Assets...");
  409. Thread.sleep(4000);
  410. System.out.println("[CALC] Please Enter your First Number");
  411. int $1n = Scanner.nextInt();
  412. Thread.sleep(1000);
  413. System.out.println("[CALC] Please Enter your Second Number");
  414. int $2n = Scanner.nextInt();
  415. Thread.sleep(1000);
  416. System.out.println("[CALC] Please Choose the Form of Operation Excluding the Brackets. [+] [-] [*] [/]");
  417. String $op = Scanner.next();
  418. if ($op.equals("+")) {
  419. if ((one != false) && (two != true)) {
  420. Thread.sleep(1000);
  421. System.out.println("[CALC] Calculating...");
  422. Thread.sleep(2500);
  423. System.out.print("[CALC] ");
  424. System.out.println($1n + $2n);
  425. Thread.sleep(4000);
  426. System.out.println("[CALC] Would you like to make another Calculation? [yes] [no]");
  427. String $yn = Scanner.next();
  428. if ($yn.equals("yes")) {
  429. if ((one != false) && (two != true)) {
  430. Calculator();
  431. }
  432. }
  433. if ($yn.equals("no")) {
  434. if ((one != false) && (two != true)) {
  435. Start2();
  436. }
  437. }
  438. }
  439. }
  440. if ($op.equals("-")) {
  441. if ((one != false) && (two != true)) {
  442. Thread.sleep(1000);
  443. System.out.println("[CALC] Calculating...");
  444. Thread.sleep(2500);
  445. System.out.print("[CALC] ");
  446. System.out.println($1n - $2n);
  447. Thread.sleep(4000);
  448. System.out.println("[CALC] Would you like to make another Calculation? [yes] [no]");
  449. String $yn2 = Scanner.next();
  450. if ($yn2.equals("yes")) {
  451. if ((one != false) && (two != true)) {
  452. Calculator();
  453. }
  454. }
  455. if ($yn2.equals("no")) {
  456. if ((one != false) && (two != true)) {
  457. Start2();
  458. }
  459. }
  460. }
  461. }
  462. if ($op.equals("*")) {
  463. if ((one != false) && (two != true)) {
  464. Thread.sleep(1000);
  465. System.out.println("[CALC] Calculating...");
  466. Thread.sleep(2500);
  467. System.out.print("[CALC] ");
  468. System.out.println($1n * $2n);
  469. Thread.sleep(4000);
  470. System.out.println("[CALC] Would you like to make another Calculation? [yes] [no]");
  471. String $yn3 = Scanner.next();
  472. if ($yn3.equals("yes")) {
  473. if ((one != false) && (two != true)) {
  474. Calculator();
  475. }
  476. }
  477. if ($yn3.equals("no")) {
  478. if ((one != false) && (two != true)) {
  479. Start2();
  480. }
  481. }
  482. }
  483. }
  484. if ($op.equals("/")) {
  485. if ((one != false) && (two != true)) {
  486. Thread.sleep(1000);
  487. System.out.println("[CALC] Calculating...");
  488. Thread.sleep(2500);
  489. System.out.print("[CALC] ");
  490. System.out.println($1n / $2n);
  491. Thread.sleep(4000);
  492. System.out.println("[CALC] Would you like to make another Calculation? [yes] [no]");
  493. String $yn4 = Scanner.next();
  494. if ($yn4.equals("yes")) {
  495. if ((one != false) && (two != true)) {
  496. Calculator();
  497. }
  498. }
  499. if ($yn4.equals("no")) {
  500. if ((one != false) && (two != true)) {
  501. Start2();
  502. }
  503. }
  504. }
  505. }
  506. } catch (InterruptedException ex) {
  507. System.out.println(" ");
  508. }
  509. }
  510. }
  511. } // end of Calculator Void
  512. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement