Results 1 to 24 of 24

Thread: How to know the Algorithm of this??!!!!!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2003
    Posts
    509

    Question How to know the Algorithm of this??!!!!!

    Inva
    Last edited by raladin; Mar 29th, 2014 at 09:02 PM.

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263
    You have given no details as to what the numbers are part of, so with that said...

    To investigate the numbers more try looking at the HEX and BINARY representation of them. Then look at the HEX values next to each other and the BINARY values next to each other.

    This might show some pattern that was elusive in the decimal form.

    If you have quite a few of them to compare, write a little program to convert them to HEX in a listbox and to BINARY in another listbox and look for patterns.

  3. #3
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    There is absolutely no way to tell with only two examples. What I mean is that you can get the second number from the first by adding 199997383438 to the first number or by multiplying the first number by 1.002285.... However the add method would give
    87919750880535 as the 3rd number while the multiply method would give 87920207908241.17986.... I'm sure there are other less obvious ways besides the add and multiply methods so you need at least 3 examples.


    .

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2003
    Posts
    509
    Inva
    Last edited by raladin; Mar 29th, 2014 at 09:02 PM.

  5. #5
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    Then why don't you use your friend's program and tell us how the algorithm works?
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263
    It would appear to me that you really want to know how to crack codes.

    Why? People work hard to make products to sell.

    Isn't cracking codes just like stealing?

    I have fired programmers that work for me that utilize cracked software - this goes against every piece of my being.

  7. #7
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    Originally posted by raladin
    I mean they can know the algorithm from three or four numbers.. and in minutes.. I saw that.. my friend had a program that can do this..
    I'm not a mathematician but I doubt that that can be done. Let's say that the algorithm was the number2 = number1 *3^1/5-54. That's fairly simple but the program would have an infinite number of possibilities to investigate.

  8. #8
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    From what I know, the people who crack software use disassemblers to step through the assembly code of the algorithm and manually convert it into nicer, higher-level code.
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2003
    Posts
    509
    Inva
    Last edited by raladin; Mar 29th, 2014 at 09:02 PM.

  10. #10
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Take a look at the program that is doing the generating in a HEX/ASSEMBLY editor.

  11. #11
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963
    For both of your numbers, or let's say you've given us the third
    one or may be 100,000 numbers, there's still tons of algoritms for
    computing them. Which means, out of these algorithms, only one
    or two can predict the next number after all these numbers.

    Scientist acquire the algorithms through lengthy research and
    experiment. Had there been a method to acquire an algorithm,
    then...juz imagine ur self.
    However, there's a method to find algorithms for formulae in the
    form of ax^n + bx + c = 0
    juz look out for it.
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  12. #12
    Fanatic Member wildcat_2000's Avatar
    Join Date
    Nov 2000
    Location
    Italy
    Posts
    727
    i really do not see the purpose of this post.

    1. algorithms are just too hard to extrapolate from their results. you can do visual representations to find patterns. i'm talking about 100 or so results at the VERY VERY least.

    2. this IS a request to understand how keygen works. well, forget it. keygen are extrapolated by the ASM code of the program that checks for entered serials. they are NOT produced by looking at different keycodes. searching the web for serials of one proggie will NOT allow you to go back to the original algorithm.

    Also as I know.. that cracks for programs are always made by this way.. I mean they can know the algorithm from three or four numbers.. and in minutes..
    this just can't be a generic issue. you may have seen one extrapolating from some serials, but this is matematically unfeasible for any average algorithm.

    you have to use brains, no proggie to do that. and again, if this is a way to extrapolate serials, forget it.
    Last edited by wildcat_2000; Jun 28th, 2004 at 04:44 AM.
    When your car breaks down,
    close all windows and retry

    => please rate all users posts! <=

  13. #13
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    As a mathematician I can say that this is impossible.

    For example lets say we have the numbers 1, 4 and 9

    This could have 2 algorithms

    Y = x^2

    This could also be:

    Y = x^2 + IIF(x > 4, 10, 0)

    or it could even be:

    y = x and the other values have not been given to you.

    What you are asking is IMPOSSIBLE. Period.

    How about this number:

    1619177523

    This is something that can be used for a simple app.
    This security code is in the format:

    xxxx[check sum number]xxxx

    in my case this is

    1 + 6 + 1 + 9 = 17
    and
    7 + 5 + 2 + 3 = 17

    so the number is 1619 17 7523
    make sense.

    Wopoof
    Woof

  14. #14
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263
    Originally posted by Wokawidget
    As a mathematician I can say that this is impossible.
    God and a MATHEMATICIAN...

    Omnipotent and polynomial - all in one being

  15. #15

  16. #16
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    Originally posted by jian2587
    For both of your numbers, or let's say you've given us the third
    one or may be 100,000 numbers, there's still tons of algoritms for
    computing them. Which means, out of these algorithms, only one
    or two can predict the next number after all these numbers.

    Scientist acquire the algorithms through lengthy research and
    experiment. Had there been a method to acquire an algorithm,
    then...juz imagine ur self.
    However, there's a method to find algorithms for formulae in the
    form of ax^n + bx + c = 0
    juz look out for it.
    That looks like that formula to make a... I don't know what it's called in english... it's the shape of a satellite dish... it's called a 'parabel' in danish;

    ax + bx + c
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  17. #17

  18. #18
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    Originally posted by Wokawidget
    That's almost quadratic equation...

    ax^2 +bx + c

    and the formual is:

    x = (-b +/- sqrt(b^2-4ac))/2a

    This however is 1 algorithm....1 of billions.

    Woof
    Yeah, that's it =)
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  19. #19
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959
    Take a 1000 sets of numbers and plot them in a graph and set if theres any pattern.

    I dont know how this would help but you never know.

  20. #20
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963
    Instead of plotting, how about a neural network to learn the
    pattern?

    It's not quadratic. Quadratic is ax^2 + bx + c.
    What i mean is if there's a formula in the form of ax^n + bx + c,
    u'll get this formula if u know the trick, provided u are given
    sufficient sets of data, which i guess even 5 datum is enough.

    First, u'll get the n's value, which is ax's power, then subsequently
    u'll calculate out a,b and c from the sets of data.
    U just need to know how. I know there's such method because
    i've seen it, but i dont know how to do it.
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  21. #21
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    It's IMPOSSIBLE...


    Here's a simple one:

    CD Key:

    143
    561
    286
    330

    This does not come under ANY formula yet you can produce many more...

    451
    198

    etc

    2nd number - 1st number = 3rd number

    this is NOT a maths formula, but a comp algorithm.

    You can plot these numbers on a graph, or a pigs arse for all I care, but you won't solve it that way.

    Woof

  22. #22
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263
    Originally posted by szlamany
    God and a MATHEMATICIAN...

    Omnipotent and polynomial - all in one being
    Woka - it's only impossible for us mere mortals - we implore you to give us all the power

    Actually - I am so done with this thread

  23. #23

  24. #24
    Hyperactive Member segrobiur's Avatar
    Join Date
    May 2004
    Location
    Portugal
    Posts
    371
    Thats right Woka ... Kick there buts ..
    ...
    Myself as a Industrial Engenier say... forget the code... make a new program ...
    ...
    And I totally agree with Wooka... is seems to me that it is impossible...

Posting Permissions

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



Click Here to Expand Forum to Full Width