Thread: get rid of password encryption :)

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 get rid of password encryption :) 
    Registered Member
    wowfreakjoking's Avatar
    Join Date
    Sep 2007
    Posts
    319
    Thanks given
    0
    Thanks received
    0
    Rep Power
    226
    Just saw a guy needed help. Then realized he didn't anyway just going to post this for anyone who is lost this is most commonly used on anything that's based off pimpscape or whatever pimpscape was based off of
    if you can't find this in your source then you either don't have encryption or it's encrypted a different way

    note: this will corrupt all current account passwords and you will need to change manually or just reset all of them
    find
    Code:
    *PASSWORD ENCRYPTION - IF I EVER NEED A HOST I DON'T NEED TO WORRY ABOUT PW ****!*/
    and replace until you get to
    Code:
    //////END OF ENCRYPTION/////
    with this
    Code:
      /*PASSWORD ENCRYPTION - IF I EVER NEED A HOST I DON'T NEED TO WORRY ABOUT PW ****!*/
      //private static String getString( byte[] bytes )
     // {
       // StringBuffer sb = new StringBuffer();
        //for( int i=0; i<bytes.length; i++ )
       // {
        //  byte b = bytes[ i ];
         // sb.append( ( int )( 0x00FF & b ) );
          //if( i+1 <bytes.length )
         // {
           // sb.append( "-" );
          //}
       // }
        //return sb.toString();
      //}
    
     // private static byte[] getBytes( String str )
     // {
     //   ByteArrayOutputStream bos = new ByteArrayOutputStream();
       // StringTokenizer st = new StringTokenizer( str, "-", false );
      //  while( st.hasMoreTokens() )
       // {
        //  int i = Integer.parseInt( st.nextToken() );
         // bos.write( ( byte )i );
       //}
       // return bos.toByteArray();
     //}
    
     //public static String md5( String source )
      //{
      // try
       // {
        // MessageDigest md = MessageDigest.getInstance( "MD5" );
         //byte[] bytes = md.digest( source.getBytes() );
       // return getString( bytes );
        //}
        //catch( Exception e )
        //{
        // e.printStackTrace();
         //return null;
      //}
      //}
    /////////////////////////////END OF ENCRYPTION/////////////////////////////////////////
    Did you know?
    - I hate trivia.
     

  2. #2  
    my rep is h4x0r3d


    Join Date
    Dec 2006
    Posts
    1,760
    Thanks given
    10
    Thanks received
    8
    Rep Power
    207
    Or this for easier refereance :
    /* /*PASSWORD ENCRYPTION - IF I EVER NEED A HOST I DON'T NEED TO WORRY ABOUT PW ****!*/
    //private static String getString( byte[] bytes )
    // {
    // StringBuffer sb = new StringBuffer();
    //for( int i=0; i<bytes.length; i++ )
    // {
    // byte b = bytes[ i ];
    // sb.append( ( int )( 0x00FF & b ) );
    //if( i+1 <bytes.length )
    // {
    // sb.append( "-" );
    //}
    // }
    //return sb.toString();
    //}

    // private static byte[] getBytes( String str )
    // {
    // ByteArrayOutputStream bos = new ByteArrayOutputStream();
    // StringTokenizer st = new StringTokenizer( str, "-", false );
    // while( st.hasMoreTokens() )
    // {
    // int i = Integer.parseInt( st.nextToken() );
    // bos.write( ( byte )i );
    //}
    // return bos.toByteArray();
    //}

    //public static String md5( String source )
    //{
    // try
    // {
    // MessageDigest md = MessageDigest.getInstance( "MD5" );
    //byte[] bytes = md.digest( source.getBytes() );
    // return getString( bytes );
    //}
    //catch( Exception e )
    //{
    // e.printStackTrace();
    //return null;
    //}
    //}
    /////////////////////////////END OF ENCRYPTION///////////////////////////////////////// */
    Quote Originally Posted by super_ View Post
    this is shit. you are shit. gtfo retard.
     

  3. #3  
    Registered Member
    Oblakastouf's Avatar
    Join Date
    Mar 2007
    Age
    29
    Posts
    1,194
    Thanks given
    0
    Thanks received
    1
    Rep Power
    274
    You missed some other things, and this is strictly known.
    Um... Bored.
     

  4. #4  
    Registered Member
    Join Date
    Oct 2007
    Posts
    41
    Thanks given
    0
    Thanks received
    0
    Rep Power
    14
    now do it on devolution source
     

  5. #5  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    27
    Posts
    16,200
    Thanks given
    7,190
    Thanks received
    12,174
    Discord
    View profile
    Rep Power
    5000
    lol at the amount of //'s, just open it wiht a /* and close at the end with a */

    [Only registered and activated users can see links. ]



     

  6. #6  
    killerdj213
    Guest
    thanks you, it worked. but get 2 errors .. u have to delete 2 "md5" wrighten in the client.java
     

  7. #7  
    nightwarrior
    Guest
    well... Just remove all that and the md5 stuff ye.. will be easier..
     

  8. #8  
    Registered Member pHametic's Avatar
    Join Date
    Nov 2006
    Posts
    637
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    if you want one for dodian's source/devoultion heres the link [Only registered and activated users can see links. ]
     

  9. #9  
    Registered Member
    wowfreakjoking's Avatar
    Join Date
    Sep 2007
    Posts
    319
    Thanks given
    0
    Thanks received
    0
    Rep Power
    226
    i did this a while.. back and yes you can just document it /**/ lol.. I'm
    a noob though
    Did you know?
    - I hate trivia.
     

  10. #10  
    Registered Member Bonesdog's Avatar
    Join Date
    Nov 2006
    Age
    26
    Posts
    201
    Thanks given
    1
    Thanks received
    0
    Rep Power
    21
    Quote Originally Posted by Link View Post
    Or this for easier refereance :
    /* /*PASSWORD ENCRYPTION - IF I EVER NEED A HOST I DON'T NEED TO WORRY ABOUT PW ****!*/
    //private static String getString( byte[] bytes )
    // {
    // StringBuffer sb = new StringBuffer();
    //for( int i=0; i<bytes.length; i++ )
    // {
    // byte b = bytes[ i ];
    // sb.append( ( int )( 0x00FF & b ) );
    //if( i+1 <bytes.length )
    // {
    // sb.append( "-" );
    //}
    // }
    //return sb.toString();
    //}

    // private static byte[] getBytes( String str )
    // {
    // ByteArrayOutputStream bos = new ByteArrayOutputStream();
    // StringTokenizer st = new StringTokenizer( str, "-", false );
    // while( st.hasMoreTokens() )
    // {
    // int i = Integer.parseInt( st.nextToken() );
    // bos.write( ( byte )i );
    //}
    // return bos.toByteArray();
    //}

    //public static String md5( String source )
    //{
    // try
    // {
    // MessageDigest md = MessageDigest.getInstance( "MD5" );
    //byte[] bytes = md.digest( source.getBytes() );
    // return getString( bytes );
    //}
    //catch( Exception e )
    //{
    // e.printStackTrace();
    //return null;
    //}
    //}
    /////////////////////////////END OF ENCRYPTION///////////////////////////////////////// */
    lmao whats with all the // ? lol just /* */ around the code and it wont read it
     

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
  •