Advertisement
DevianOS

Password Retriever

Jun 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class apples{
  4. public static void main(String[] args) {
  5. Scanner daniel = new Scanner (System.in);
  6. tuna tunaObject = new tuna ();
  7. bear bearObject = new bear ();
  8.  
  9. System.out.println("Please enter in your mac password to retireve your keylogger");
  10. String password = daniel.nextLine();
  11. if("lolnicetry".equals(password)) {
  12. tunaObject.simpleMessage(password) ;
  13. }else{
  14. bearObject.simpleMessage(password) ;
  15. }
  16. }
  17. }
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. public class tuna {
  25. public void simpleMessage (String password){
  26. System.out.println("Your keylogger is " + password);
  27. System.out.println("Your password is @g&kh96j6)FsUvYP. Have fun!");
  28. }
  29. }
  30.  
  31.  
  32.  
  33.  
  34. public class bear {
  35. public void simpleMessage (String password){
  36. System.out.println("Your keylogger is " + password);
  37. System.out.println("This keylogger is incorrect, please try again.");
  38. }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement