Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


My First Crackme
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Crackmes
View previous topic :: View next topic  
Author Message
DoomsDay
Grandmaster Cheater
Reputation: 0

Joined: 06 Jan 2007
Posts: 768
Location: %HomePath%

PostPosted: Tue Jan 27, 2009 6:27 am    Post subject: Reply with quote

Jvlaple wrote:
what?
My response to the password.
Back to top
View user's profile Send private message
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Tue Jan 27, 2009 7:05 am    Post subject: Reply with quote

no the pass is not "You suck at keygen"
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
S3NSA
:3
Reputation: 1

Joined: 06 Dec 2006
Posts: 1908
Location: England.

PostPosted: Tue Jan 27, 2009 11:37 am    Post subject: Reply with quote

Jvlaple wrote:
no the pass is not "You suck at keygen"

You know what he means.

Code:
package crackme;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.util.logging.Level;
import java.util.logging.Logger;

public class s
{
  String __;
  static byte[] o = { 70, 29, 112, 114, 96, 104, 29, 94, 113, 29, 104, 98, 118, 100, 98, 107 };

  public s()
  {
    this.__ = "";
  }

  public static void main(String[] args) {
    boolean a_ = false;
    while (!(a_)) {
      System.out.println("Give password: ");
      String k = null;
      try {
        k = new BufferedReader(new InputStreamReader(System.in)).readLine();
      } catch (IOException ex) {
        Logger.getLogger(s.class.getName()).log(Level.SEVERE, null, ex);
      }
      if (a(k, a(o)))
        a_ = true;
      else
        a(o, 1);
    }

    System.out.println("Well done, you solved it!");
    try {
      new BufferedReader(new InputStreamReader(System.in)).readLine();
    } catch (IOException ex) {
      Logger.getLogger(s.class.getName()).log(Level.SEVERE, null, ex);
    }
  }

  static String a(byte[] d) {
    for (int _0 = 0; _0 < d.length; ++_0) {
      int tmp10_9 = _0;
      byte[] tmp10_8 = d; tmp10_8[tmp10_9] = (byte)(tmp10_8[tmp10_9] + 3);
    }
    return new String(d);
  }

  static void a(byte[] d, int a) {
    for (int _32 = 0; _32 < d.length; ++_32) {
      int tmp10_9 = _32;
      byte[] tmp10_8 = d; tmp10_8[tmp10_9] = (byte)(tmp10_8[tmp10_9] - 3);
    }
  }

  static boolean a(String a, String b) {
    return (a(a.getBytes()).equals(a(b.getBytes())));
  }
}


ASCII + 3 = "I suck at keygen"

_________________
~ You can find me on irc.ccplz.net x
Back to top
View user's profile Send private message Visit poster's website
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Tue Jan 27, 2009 5:45 pm    Post subject: Reply with quote

yes that's the pass. how did you get it?
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
S3NSA
:3
Reputation: 1

Joined: 06 Dec 2006
Posts: 1908
Location: England.

PostPosted: Tue Jan 27, 2009 6:25 pm    Post subject: Reply with quote

Doesn't the fact I posted your source tell you?
Have to accredit DoomsDay for the WinRAR tip though.

Viewed the files in WinRAR, extracted your class and decompiled it.

_________________
~ You can find me on irc.ccplz.net x
Back to top
View user's profile Send private message Visit poster's website
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Tue Jan 27, 2009 6:31 pm    Post subject: Reply with quote

how did you get it out of the EXE?
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Tue Jan 27, 2009 6:33 pm    Post subject: Reply with quote

*Cough**Cough* Decompiler *Cough* *Cough*...
Back to top
View user's profile Send private message
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Tue Jan 27, 2009 6:34 pm    Post subject: Reply with quote

woo theres a way to decompile launch4j Very Happy
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
S3NSA
:3
Reputation: 1

Joined: 06 Dec 2006
Posts: 1908
Location: England.

PostPosted: Tue Jan 27, 2009 6:44 pm    Post subject: Reply with quote

Jvlaple wrote:
how did you get it out of the EXE?



Also in the future code your own protection, this forum is for crackme's that you made and protected by your own code.

_________________
~ You can find me on irc.ccplz.net x
Back to top
View user's profile Send private message Visit poster's website
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Tue Jan 27, 2009 7:01 pm    Post subject: Reply with quote

yeah sure. guess it's time to make a xor encrypted file..
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Crackmes All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites