Closed Thread Icon

Topic awaiting preservation: Password Decoder (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12813" title="Pages that link to Topic awaiting preservation: Password Decoder (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Password Decoder <span class="small">(Page 1 of 1)</span>\

 
Trigger
Paranoid (IV) Inmate

From:
Insane since: Jun 2002

posted posted 07-10-2003 10:43

hi Im currently codeing a password decoder for a project me and some friends are working on,
Some ones makeing a windows version in Visual Basic,
Some ones makeing a Linux version in C'

and im makeing the 'on the web' version in php..

now I've got it to work - its a password recovery uttilty that you input the encrypted passwords for Trillian for your accounts

in Trillians program folder, there is a folder called /users/ inside each users folder there are .ini's aim.ini msn.ini yahoo.ini and in these are the passwords in a decrypted state

for example - 8347F2B74EE9A9F6
atm Im haveing to enter them in like this
83-47-F2-B7-4E-E9-A9-F6

Becuase i have to have them in segmnets of two and im using explode() to explode them every -, is there anyway I can do it automaticaly that it splits them up every 2 charcters without the hyphons? and if so how?

Thanks
Trigger

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 07-10-2003 12:16

hm...

$encrypted = 8234...
$decryptedArray = array();
for ($i = 0; $i < count($encrypted); $i = $i + 2)
{
$decryptedArray[] = $encrypted{$i}. $encrypted{$i + 1};
}

/this might or might not work. drop it, if all your strings are multiples of two of length.
//and check wether it works correctly, if otherwise.
if (count($encrypted) % 2 != 0)
$decryptedArray[] = $encrypted(count($encrypted))

Trigger
Paranoid (IV) Inmate

From:
Insane since: Jun 2002

posted posted 07-10-2003 15:03

Hate to sound stupid, but how would I now string them all togther,
because thats all well and good and I appreciate it very much. but it only does the first letter will I have to contain that itself in a for lopp ?

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 07-10-2003 17:38

No for loop needed for stringing them together just use implode

$dstring = implode("-",$decryptedArray);



.:[ Never resist a perfect moment ]:.

Trigger
Paranoid (IV) Inmate

From:
Insane since: Jun 2002

posted posted 07-10-2003 18:40

but the decrypted array doent contain any hyphons.

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 07-10-2003 19:13

Right but implode is the same as explode in the reverse so you get to specify a "glue" string, see the first argument I used?



.:[ Never resist a perfect moment ]:.

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 07-10-2003 20:38

meaning
implode('',$decryptedArray)
will return them without the hypens ;-)

Synthetic
Paranoid (IV) Inmate

From: under your rug,
Insane since: Jul 2001

posted posted 07-22-2003 21:55

I've already seen scripts do that in delphi, C, assembly, and javascript, and even a new C++ trojan made to steal and decrpt them from others.

So it's clear they need a new password encryption method I don't think there is a dispute there.

Anyway, a PHP version sounds nice, but i've heard they plan to upgrade the whole password system soon, so you may have a short lived project

[This message has been edited by Synthetic (edited 07-22-2003).]

« BackwardsOnwards »

Show Forum Drop Down Menu