View previous topic :: View next topic |
Author |
Message |
DoomsDay Grandmaster Cheater Reputation: 0
Joined: 06 Jan 2007 Posts: 768 Location: %HomePath%
|
Posted: Tue Jan 27, 2009 6:27 am Post subject: |
|
|
My response to the password.
|
|
Back to top |
|
|
Jvlaple Grandmaster Cheater Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Tue Jan 27, 2009 7:05 am Post subject: |
|
|
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 |
|
|
S3NSA :3 Reputation: 1
Joined: 06 Dec 2006 Posts: 1908 Location: England.
|
Posted: Tue Jan 27, 2009 11:37 am Post subject: |
|
|
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 |
|
|
Jvlaple Grandmaster Cheater Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Tue Jan 27, 2009 5:45 pm Post subject: |
|
|
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 |
|
|
S3NSA :3 Reputation: 1
Joined: 06 Dec 2006 Posts: 1908 Location: England.
|
Posted: Tue Jan 27, 2009 6:25 pm Post subject: |
|
|
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 |
|
|
Jvlaple Grandmaster Cheater Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Tue Jan 27, 2009 6:31 pm Post subject: |
|
|
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 |
|
|
dnsi0 I post too much Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Tue Jan 27, 2009 6:33 pm Post subject: |
|
|
*Cough**Cough* Decompiler *Cough* *Cough*...
|
|
Back to top |
|
|
Jvlaple Grandmaster Cheater Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Tue Jan 27, 2009 6:34 pm Post subject: |
|
|
woo theres a way to decompile launch4j
_________________
jadeling wrote: | how do i save my npc? |
samerj13 wrote: | What the fuck is visual basic? |
|
|
Back to top |
|
|
S3NSA :3 Reputation: 1
Joined: 06 Dec 2006 Posts: 1908 Location: England.
|
|
Back to top |
|
|
Jvlaple Grandmaster Cheater Reputation: 0
Joined: 15 Dec 2008 Posts: 768
|
Posted: Tue Jan 27, 2009 7:01 pm Post subject: |
|
|
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 |
|
|
|