Jump to content

Featured Replies

Posted

Well, I got really bored a few days ago so I rewrote the KeyGen m0t++ wrote in VBScript in Javascript. The only reason I did it was because I had a couple people who wanted to use the script but didn't have IE.

 

On the plus side, I had a little extra time to make it even more user friendly. Tell me what you guys think, and remember, it will only create keys that look like real keys, it's all luck whether or not it's valid.

 

<html>
<title>Wheat Toast's Ghetto Ass KeyGen. ©2006 etc.</title>
<script language="JavaScript">

function GenerateKey() {

   var length = 20
   var Key = ""
   var noPunc = true
var Prefix = document.aForm.prefix.options[document.aForm.prefix.selectedIndex].value
var HowMany = document.aForm.howmany.value
var Final = ""

if (Prefix == "etc") {
	alert("If there is any you can help this project grow in any way, PM Me on the myg0t forums." + '\n' + "This would include suggestions, providing the first 5 digits of a legit key, or just anything else you can think of." + '\n' + "- Wheat Toast")
	return false
}
	
for (p = 0; p < HowMany; p++) {

   for (i = 0; i < length; i++) {
       numX = getRandomNum();  
       if (noPunc) { 
        while (checkEtc(numX)) { 
	        numX = getRandomNum(); 
	         }
	}
	if (i == 5) {
	Key = Key + "-"
		}
	else if (i == 10) {
	Key = Key + "-"
		}
	else if (i == 15) {
	Key = Key + "-"
		}
	Key = Key + String.fromCharCode(numX)
   }

   Final = Prefix + "-" + Key
   document.write(Final + "<br>")
Key = ""
   
   }
   
}

function getRandomNum() {

   var rndNum = Math.random()
   rndNum = parseInt(rndNum * 1000)
   rndNum = (rndNum % 43) + 48
   return rndNum
   
}

function checkEtc(num) {

   if ((num >=58) && (num <=64)) { return true }

   return false
}

</script>

<form name="aForm">
<center>

   Select Your Prefix And How Many Times To Loop, Please.<br><br>
   <select name="prefix">
   <option value="ZZP2E">ZZP2E
   <option value="YRP2G">YRP2G
   <option value="4ZB2R">4ZB2R
   <option value="etc">Need More.
   </select>

<input type="text" name="howmany" value= "10" size="5">
       
<input type="button" value="Generate Key" onClick="GenerateKey()">
</center>
</form>
</html>

 

It probably won't work any better or any worse, it's all just random numbers/letters for filler with a prefix. Also, this script isn't too clean or efficient, but it gets the job done I guess.

 

Also,

If anyone get's any legit keys from this could they supply me with the first 5 digits of the key. I'm already adding a random fuction for the prefixes but I probably won't get around to that for a while. Other than that suggestions are welcome, helping me clean up my script (I'm not too good at any language so this isn't an exception), other functions, new methods, etc.

 

 

 

 

On a side note, I'll also be taking requests for whatever.

 

This includes scripts, custom sounds, whatever I can help with (Pretty much the only thing I can't do for CS is make models or code hacks).

i have multiple CD keys, i added them all to mine, and None, out of 100 tries have worked.. something is wrong with the math.
  • Author
Um, no "real" math involved sir, it's all random. All it does is it takes a random character A-Z, 0-9 and adds them to a key until it has 20 characters and slaps a user defined prefix at the beginning. I said that it probably wouldn't work any better than the older VBScript one but I never tested either so I can't really judge. I just rewrote the thing cause I was bored. Whatever though, if you want to tell me the prefixes for your keys that would be cool, other than that I can help you with most of you CS needs, etc.

Nice Keygen :)

 

Allthough i havn't tried it :P

 

Maybe you could make one that works like a Macro, for example, It Does all the clicking and copy + pasting for you. So you could leave it over night. I know there are ones out there, But maybe this could just be an extra task for you..

  • Author
I was actually going to do that, problem is I don't know any methods of doing this in, well, pretty much any language. Got a suggestion of what language would be best for such a thing? Right now I have C++, VB6, and Perl (I forgot if I have Python or not, not like it's a problem getting it or most other scripting languages though).
  • Author

I really wish someone would show me a better algorithm other than just "Insert random characters here"... That add/subtract method is almost the same as this.

 

Anyways, if I take this to C++ it will be the ugliest code ever. Inefficient, bufferoverflows, etc. Plus I don't know how to do much except working with files, math, input/output... The basics. Soooooo, if anyone wants to help me with C++ that'd be awesome cause I still suck at making it look pretty. Oh, also I don't know how to do any windows programing yet so I can't make the external part of the program to be look pretty either.

 

But anyways, if anyone needs anything for CS just ask, i've been pretty bored this week. (Hence the update)

  Wheat Toast said:
I really wish someone would show me a better algorithm other than just "Insert random characters here"... That add/subtract method is almost the same as this.

 

Anyways, if I take this to C++ it will be the ugliest code ever. Inefficient, bufferoverflows, etc. Plus I don't know how to do much except working with files, math, input/output... The basics. Soooooo, if anyone wants to help me with C++ that'd be awesome cause I still suck at making it look pretty. Oh, also I don't know how to do any windows programing yet so I can't make the external part of the program to be look pretty either.

 

But anyways, if anyone needs anything for CS just ask, i've been pretty bored this week. (Hence the update)

 

 

It would be ten times better than anything I coded. And on the cs note, how about a key lol. Horay for vac bans without hacking.

  • Author
  skvermillion13 said:
It would be ten times better than anything I coded. And on the cs note, how about a key lol. Horay for vac bans without hacking.

 

Keys and making models (And writting AMXX plugins to an extent as well. Sometimes I have trouble with Small...) are pretty much the only thing I can't do. Custom sounds, sprites, maps, scripts, you name it, I might be able to do it... lol.

 

But yeah, I'll look deeping into C++ tomorrow.

  • Author

Alright, I guess my script is pretty useless until furthur notice (Not that it ever was useful).

 

Anyways... I'm thinking we have 2 ways to do this, well, 2 straight-forward ways anyway.

 

1) This involves my script creating keys and saving them to files (Probably txt). Then a program goes through line by line checking the keys. I got to think of a method to check whether or not the "This key is valid!" window opens up (Or whatever happens) though.

 

2) This method involves the first script m0t++ wrote (The one that saved one key to the clipboard at a time). Pretty much the same thing except there is no reading from file, just running the script.

 

Eventually the program will also generate the key but i'm not sure which is better, reading from a file or printing to the clipboard.

 

*Sorry if all this is obvious and stuff, i'm just trying to go to sleep...*

 

So I guess i'll get to making that macro / writting that VB6 program / writting that C++ program / whatever else.

 

(This should entertain me for a while this summer though, too bad i'm going to be gone all this weekend :happysad: )

Hey people

 

Using a variety of source code people got here for their vbs scripts, i worked on a little vb.net version of the program. Easy to use and at the moment has alot of stuff that can make it easier to generate and store the keys. Enjoy. Of course it wont get u a legit key on the first try, but if ur lucky it will come up. At the moment i made functions which allow it to be able to generate a random key, a key with custom pre fix, a loop of keys etc.

 

Please if you find any legit key, register it and post it here so we can look for patterns in the way they keys are generated.

 

Post any feedback on it too. i like to see what u all fink of it.

 

this is the link.. it requires the latest version of .net coz it was coded in visual studio vb.net 2005. http://www.ihud.com/file.php?file=files/150806/1155641865/steamKeyGen.rar

 

Any issues please post or pm me

 

Edit: looking at my legit hl2 bronze cdkey :O:O:O:O IT STARTS WITH 4ZB2T!!! WHEAT TOAST HAS 4ZB2R!!!! I SEE A TREND! MY FRENDS KEY STARTS WITH THIS 4RB2H!!!

  • Author
  UgLy-NeRd said:
Do it in .NET. You can use the free version of Visual Basic 2005 Express Edition.

 

To be honest I never really enjoyed .NET, don't know why. I think that i'm over thinking this whole thing though. If I ever get to sleep, when I wake up i'll just start messing around with some VB6 and i'll probably end up with something really funny.

 

Anyways, I didn't test your .NET version Mr. MX5, but it seems almost like my Javascript one except with different prefixes (I looked at with Textscan, but I didn't open it... lol). As for that key update, i'm thinking I should change the Javascript to only have a 4 letter prefix and generate a letter at the end of it, then the rest of the 20 characters.

 

I'm not too sure how much sense this post is making though, I havn't slept very well for the past few days...

  Wheat Toast said:
Alright, I guess my script is pretty useless until furthur notice (Not that it ever was useful).

 

Anyways... I'm thinking we have 2 ways to do this, well, 2 straight-forward ways anyway.

 

1) This involves my script creating keys and saving them to files (Probably txt). Then a program goes through line by line checking the keys. I got to think of a method to check whether or not the "This key is valid!" window opens up (Or whatever happens) though.

 

2) This method involves the first script m0t++ wrote (The one that saved one key to the clipboard at a time). Pretty much the same thing except there is no reading from file, just running the script.

 

Eventually the program will also generate the key but i'm not sure which is better, reading from a file or printing to the clipboard.

 

*Sorry if all this is obvious and stuff, i'm just trying to go to sleep...*

 

So I guess i'll get to making that macro / writting that VB6 program / writting that C++ program / whatever else.

 

(This should entertain me for a while this summer though, too bad i'm going to be gone all this weekend :happysad: )

 

Do the first method.

  • Author
  NikArial said:
Do the first method.

 

Yeah, it's seems more like a better idea to me now that i've had some sleep. I'll start learning some more VB and i'll get to it after this weekend.

 

I wonder how much trouble I could ger into for this... lol. I mean... this is for test purposes and everything.

Wheat, basically what ur trying to do is write a program to generate say 1000 keys. From there it will save the keys to a file. Then you write another program or function which will automatically copy the key to the Please Enter Your Serial part fo the steam activation and determine if the key works?

 

 

This is what i think your trying to do. Im not great at this kind of stuff but il help any way i can. Ive got a few more intros to legit cdkeys of my mates so il post um up when i gather more info

 

Im Excited!

  • Author

Yeah, that's pretty close to what i'm (maybe) going to do, just not sure how i'm going to do it, I never really learned any advanced (?) VB. Like for instance, how will I check if the Key is actually legit? How will I find when to enter a new key? That kind of stuff i'm a little fuzzy on... But yeah, those keys will help I guess.

 

I'm not thinking too well lately, I think I need a better diet or more sleep or something.

Awesome shit dude. But it really doesn't work, nice attempt though :)

 

http://forums.myg0t.com/showthread.php?t=26511

 

Theres a big pattern of serials on that page, so I'm going to try to edit out the

"<option value="ZZP2E">ZZP2E

<option value="YRP2G">YRP2G

<option value="4ZB2R">4ZB2R"

"

 

and replace them with some other patterns from the beginning.

<html>
<title>Wheat Toast's Ghetto Ass KeyGen. ©2006 etc.</title>
<script language="JavaScript">

function GenerateKey() {

   var length = 20
   var Key = ""
   var noPunc = true
var Prefix = document.aForm.prefix.options[document.aForm.prefix.selectedIndex].value
var HowMany = document.aForm.howmany.value
var Final = ""

if (Prefix == "etc") {
	alert("If there is any you can help this project grow in any way, PM Me on the myg0t forums." + '\n' + "This would include suggestions, providing the first 5 digits of a legit key, or just anything else you can think of." + '\n' + "- Wheat Toast")
	return false
}
	
for (p = 0; p < HowMany; p++) {

   for (i = 0; i < length; i++) {
       numX = getRandomNum();  
       if (noPunc) { 
        while (checkEtc(numX)) { 
	        numX = getRandomNum(); 
	         }
	}
	if (i == 5) {
	Key = Key + "-"
		}
	else if (i == 10) {
	Key = Key + "-"
		}
	else if (i == 15) {
	Key = Key + "-"
		}
	Key = Key + String.fromCharCode(numX)
   }

   Final = Prefix + "-" + Key
   document.write(Final + "<br>")
Key = ""
   
   }
   
}

function getRandomNum() {

   var rndNum = Math.random()
   rndNum = parseInt(rndNum * 1000)
   rndNum = (rndNum % 43) + 48
   return rndNum
   
}

function checkEtc(num) {

   if ((num >=58) && (num <=64)) { return true }

   return false
}

</script>

<form name="aForm">
<center>

   Select Your Prefix And How Many Times To Loop, Please.<br><br>
   <select name="prefix">
   <option value="ZZP2E">ZZP2E
   <option value="YRP2G">YRP2G
   <option value="4ZB2R">4ZB2R
   <option value="etc">Need More.
   </select>

<input type="text" name="howmany" value= "10" size="5">
       
<input type="button" value="Generate Key" onClick="GenerateKey()">
</center>
</form>
</html>

 

I did one of these in Javascript, but it was at least three times as ghetto and much shorter.

  • Author
  KillerXII## said:
Awesome shit dude. But it really doesn't work, nice attempt though :)

 

http://forums.myg0t.com/showthread.php?t=26511

 

Theres a big pattern of serials on that page, so I'm going to try to edit out the

"<option value="ZZP2E">ZZP2E

<option value="YRP2G">YRP2G

<option value="4ZB2R">4ZB2R"

"

 

and replace them with some other patterns from the beginning.

 

Yeah, was never really intended to work actually, I don't really see why it would. It's just random characters, nothing more.

 

But yeah, adding more shouldn't be a problem.

 

  Spooned said:
I did one of these in Javascript, but it was at least three times as ghetto and much shorter.

 

Well, I never said mine was the first. The only reason I said mine was ghetto was because it wasn't based off of any algorithm, I don't know any shortcuts to make my code look pretty, and I'm bad at writting efficient code... If you feel like showing me how to make it shorter / more efficient that'd be cool, i'm still kind of learning, well, everything.

Ive coded in VB6, VB.NET, JAVA and touched on other languages. I am happy to dedicate some of my time to help you guys work on this project. I do know a person who is one of the smartest person when it comes to maths. I will show them our findings and our keys. See what they believe might be a pattern in the way the keys are generated.

 

I am 99% sure no one will ever get the formula that valve uses, unless valve comes and posts it for us (fingers crossed) but, we can, as wheat stated, attempt to make a program which will connect with steam and veryify the CDKeys at a much faster rate then anyone else can...Some programs i am aware they hide the algorithm in the registry but sadly i dont think steam works like that

http://cs.rin.ru/forum/viewtopic.php?t=32571

 

Scroll down to the part where it says 'Macro Installer'

 

Maybe you could look at the macro he made, and get some ideas from it.

I used it, but it doesn't support my screen resollutions :(

 

I remember a while ago using a key generator that someone made like the one you're on about, and i got a HL 1 key from it. I left it over night.

 

 

Good luck

Guest
This topic is now closed to further replies.