| View previous topic :: View next topic |
| Author |
Message |
potaters Grandmaster Cheater
Reputation: 72
Joined: 13 Apr 2009 Posts: 969
|
Posted: Thu Dec 06, 2012 12:12 am Post subject: [PHP] MBAM pro serial generator |
|
|
I didn't make this, someone posted this on a trojan programming forum. It's a little old but works perfectly on even the newest versions.
Shit is magic.
| Code: | <?php
// EXAMPLE USAGE
$array = generate();
echo $array[0];
echo "<br />";
echo $array[1];
// FUNCTION
function generate()
{
$digilist = "0123456789ABCDEFGHJKLMNPQRTUVWXY";
//now we generate a new random ID number using the substrings of the digitList string above
$id = NULL;
$id .= substr($digilist, rand(1, 9), 1); //random number
$id .= substr($digilist, rand(10, 31), 1); //then a letter
$id .= substr($digilist, rand(10, 31), 1); //another letter
$id .= substr($digilist, rand(1, 9), 1); //a number
$id .= substr($digilist, rand(1, 9), 1); //and finally another number - simple :D
//ok so now we need to generate an MD5 hash of our ID
$hash = md5($id);
//cycle through the hash 16 (length of key) times (in steps of 2 because each hex bytes is 2 digits long)
$i = 0;
$key = NULL;
for ($i; $i < 32; $i+=2)
{
//here we convert the next hex value to an integer and perform a bitwise AND operation against '31'
//31 is the highest substring value in our digit list.
//more info on bitwise ops here: Bitwise operation - Wikipedia, the free encyclopedia
$nextdigit = hexdec(substr($hash, $i, 2)) & 31;
//if 'i' is divisable by 8 (every 4 cycles) then we want to add "-"
if ((($i % 8) == 0) && ($i > 0))
{
$key .= "-".substr($digilist, $nextdigit, 1);
}
else
{
$key .= substr($digilist, $nextdigit, 1);
}
}
$array = array($id, $key);
//return
return $array;
}
?> |
|
|
| Back to top |
|
 |
the the the Master Cheater
Reputation: 46
Joined: 15 Jun 2008 Posts: 429
|
Posted: Thu Dec 06, 2012 12:31 am Post subject: no use for me, just switched to linux |
|
|
| thanks
|
|
| Back to top |
|
 |
Maes Advanced Cheater
Reputation: 10
Joined: 09 Apr 2009 Posts: 50
|
Posted: Thu Dec 20, 2012 7:45 pm Post subject: |
|
|
Thank ya'.
_________________
Account reclaimed by former owner? |
|
| Back to top |
|
 |
Selrahc Master Cheater
Reputation: 27
Joined: 28 Oct 2007 Posts: 279 Location: New York
|
Posted: Thu Dec 20, 2012 8:04 pm Post subject: |
|
|
Haven't a clue how to do this. Anyone got a youtube video or something? Not a specific one or anything, just what to do with the script.
_________________
|
|
| Back to top |
|
 |
Maes Advanced Cheater
Reputation: 10
Joined: 09 Apr 2009 Posts: 50
|
|
| Back to top |
|
 |
Selrahc Master Cheater
Reputation: 27
Joined: 28 Oct 2007 Posts: 279 Location: New York
|
Posted: Thu Dec 20, 2012 8:15 pm Post subject: |
|
|
Thanks a bunch.
_________________
|
|
| Back to top |
|
 |
the the the Master Cheater
Reputation: 46
Joined: 15 Jun 2008 Posts: 429
|
|
| Back to top |
|
 |
potaters Grandmaster Cheater
Reputation: 72
Joined: 13 Apr 2009 Posts: 969
|
Posted: Thu Dec 20, 2012 8:39 pm Post subject: |
|
|
8EL72
3A32-VKRW-4W3R-9EBQ
9BR14
UYRT-FVCR-A23A-HHCP
9KL57
AFWK-0GJ9-58EV-J0AQ
6NQ54
R5GH-H9TY-6M5P-TE8Y
3WW51
CXGU-FVKT-6Y3E-N3TD
6YF58
PJKF-V6KC-H87V-G6QT
4FD12
F8P2-GW90-VCPF-KLGP
8UF85
29VE-REV5-C2G5-8DYE
7UQ79
YMH5-V9FM-LWUQ-C30P
7CD65
RCE3-01EW-C4WD-0UEE
|
|
| Back to top |
|
 |
Selrahc Master Cheater
Reputation: 27
Joined: 28 Oct 2007 Posts: 279 Location: New York
|
Posted: Thu Dec 20, 2012 8:47 pm Post subject: |
|
|
I started a Xamp web server, created a file in htdocs to put the php script in and loaded the localhost page firefox but it's not working for me?
_________________
|
|
| Back to top |
|
 |
potaters Grandmaster Cheater
Reputation: 72
Joined: 13 Apr 2009 Posts: 969
|
Posted: Thu Dec 20, 2012 8:55 pm Post subject: |
|
|
| lol just use on of the codes above or asciicats page...
|
|
| Back to top |
|
 |
Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Thu Dec 20, 2012 9:17 pm Post subject: |
|
|
| Ohgodyes wrote: | | I started a Xamp web server, created a file in htdocs to put the php script in and loaded the localhost page firefox but it's not working for me? |
>2013
>not having webhosting coming out your ears
|
|
| Back to top |
|
 |
Maes Advanced Cheater
Reputation: 10
Joined: 09 Apr 2009 Posts: 50
|
Posted: Thu Dec 20, 2012 9:34 pm Post subject: |
|
|
| Ohgodyes wrote: | | I started a Xamp web server, created a file in htdocs to put the php script in and loaded the localhost page firefox but it's not working for me? |
Did you turn on Apache in the XAMPP control panel?
_________________
Account reclaimed by former owner? |
|
| Back to top |
|
 |
the the the Master Cheater
Reputation: 46
Joined: 15 Jun 2008 Posts: 429
|
Posted: Fri Dec 21, 2012 1:10 am Post subject: |
|
|
| Ohgodyes wrote: | | I started a Xamp web server, created a file in htdocs to put the php script in and loaded the localhost page firefox but it's not working for me? | >not using wamp
|
|
| Back to top |
|
 |
Selrahc Master Cheater
Reputation: 27
Joined: 28 Oct 2007 Posts: 279 Location: New York
|
Posted: Fri Dec 21, 2012 5:25 am Post subject: |
|
|
| Moxidate wrote: | | Ohgodyes wrote: | | I started a Xamp web server, created a file in htdocs to put the php script in and loaded the localhost page firefox but it's not working for me? |
Did you turn on Apache in the XAMPP control panel? | Yessir
_________________
|
|
| Back to top |
|
 |
teeigeryuh Master Cheater
Reputation: 25
Joined: 13 Oct 2008 Posts: 260 Location: The netherlands
|
Posted: Fri Dec 21, 2012 6:29 am Post subject: |
|
|
| asciicat wrote: | | Ohgodyes wrote: | | I started a Xamp web server, created a file in htdocs to put the php script in and loaded the localhost page firefox but it's not working for me? | >not using wamp |
>being a retard and using apache
>lnmp
>lanmp
>llmp
>lalmp
|
|
| Back to top |
|
 |
|