PDA

View Full Version : DCT3 Algo snippet



MobyProject
28-11-2003, 06:09 PM
Here is a snippet of the DCT3 Algo

Unit NslUnit;

interface

function Calc_SP_Code(SECR_Str,MCCMNC_Str,GID1_Str,GID2_Str
,MSIN_Str,ImeiStr:string;CodeNR:Byte):String;


implementation

Uses General;

function Calc_SP_Code(SECR_Str,MCCMNC_Str,GID1_Str,GID2_Str
,MSIN_Str,ImeiStr:string;CodeNR:Byte):String;

Const
Sl_F0 : Array[0..7] Of Byte = ($00,$00,$00,$00,$00,$00,$00,$00);
S_Sub : Array[0..14] Of Byte = ($17,$2D,$25,$29,$17,$15,$23,$13,
$2B,$19,$20,$16,$29,$1F,$1C);
S_Xor : Array[0..9] Of Byte = ($02,$0B,$07,$04,$01,$19,$11,$09,
$10,$1E);
S_Add : Array[0..9] Of Byte = ($01,$05,$07,$06,$03,$02,$03,$05,
$09,$01);

fuzion
28-11-2003, 07:02 PM
awwwww.... what a tease
only giving us the variables and constants
lol

NokDoc
28-11-2003, 07:15 PM
lol,

Last time I saw this, it was called dct2 algo.....

=================================================
Unit NslUnit;

interface

function Calc_SP_Code(SECR_Str,MCCMNC_Str,GID1_Str,GID2_Str
,MSIN_Str,ImeiStr:string;CodeNR:Byte):String;


implementation

Uses General;

function Calc_SP_Code(SECR_Str,MCCMNC_Str,GID1_Str,GID2_Str
,MSIN_Str,ImeiStr:string;CodeNR:Byte):String;

Const
Sl_F0 : Array[0..7] Of Byte = ($00,$00,$00,$00,$00,$00,$00,$00);
S_Sub : Array[0..14] Of Byte = ($17,$2D,$25,$29,$17,$15,$23,$13,
$2B,$19,$20,$16,$29,$1F,$1C);
S_Xor : Array[0..9] Of Byte = ($02,$0B,$07,$04,$01,$19,$11,$09,
$10,$1E);
S_Add : Array[0..9] Of Byte = ($01,$05,$07,$06,$03,$02,$03,$05,
$09,$01);

Var
Summ : Byte;
Imei : Array[0..14] Of Byte;
SL : Array[0..9] Of Byte;
T28 : Array[0..27] Of Byte;
Sl_Temp : Array[0..2] Of Byte;
SP : Array[0..4] Of Byte;
Buff : Array[0..$1A] Of Byte;
Long : Array[0..$10D] Of Byte;
I : Integer;
A : Integer;
O : Integer;
L : Integer;
NSL_Result : Byte;
OutputString : String;
TempString : String[1];
Gid1_1 : Byte;
Gid1_2 : Byte;
Gid2_1 : Byte;
Gid2_2 : Byte;
>>>>>

But he, who knows.....

NokDoc

Yotamz
28-11-2003, 07:18 PM
i knew this code looks familiar to me :)

fuzion
28-11-2003, 08:08 PM
hmmm... thought i'd seen it before

GeeZuZz
29-11-2003, 07:05 PM
:lol:

MobyProject: Who gave that to you? HONGXING?

MobyProject
29-11-2003, 07:16 PM
:lol:

MobyProject: Who gave that to you? HONGXING?

I wasn't HONGXING who gave it to me..

You have to keep quiet about sources if you want them to trust you in the future..

Paul

GeeZuZz
30-11-2003, 05:15 AM
I wasn't HONGXING who gave it to me..

You have to keep quiet about sources if you want them to trust you in the future..

Paul

Do i misunderstand now, or do you still think that the source (snippet) you posted is worth something? It's not DCT-3...

I just wondered who fooled you... :)

NokDoc
30-11-2003, 06:22 PM
Ehhh,

>> I just wondered who fooled you...

Mr. GeeZuZz, please not misunderstand me.

It was not my intention to say it is fake!

It was only my observation it looked the same as the dct2 stuff I saw earlier.

It could be even working for dct3, but there's not enough to decide.

NokDoc

simpa
05-12-2003, 12:03 PM
Sorry to say that, but it's not even the full DCT2 (if it is) :(
..
<<uses MBUS_Constants>>

MBUS_Constants are missing :(

ianb1985
08-12-2003, 06:12 PM
Sorry to say that, but it's not even the full DCT2 (if it is) :(
..
<<uses MBUS_Constants>>

MBUS_Constants are missing :(

It never claimed to be the full code.

Its just a snippet - a part of the code.

But this portion does look remarkably like the DCT2 algo to me!

wumpus
09-12-2003, 02:26 PM
And exactly what use is this?

I could do this joke too, post the full DSP6 disassembly and claim 'here it is, the DCT3 algo'!
:rolleyes:

polarbear
16-12-2003, 10:26 PM
What would be easier to crack?

The algo from the dongle, or the formula from the codes the dongle generates? (considering they may differ by network code, which I assume would make it hard?)

Also, where is the algo stored? on a chip?