English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 23 August 2005, 04:00   #21
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 34
Posts: 1,184
the library is in the AmiTCP: distrubution on aminet.

AmiTCP 4, .

the autodocs are available in the AmiTCP-4-sdk which is also available on aminet.

i'll up the source to the zone in zipped -adf format.

it's 'login.s' which has been modified to try to get the 'salt'.

Last edited by redblade; 23 August 2005 at 04:13.
redblade is offline  
Old 23 August 2005, 13:59   #22
girv
Reticulator of Splines
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 920
Send a message via ICQ to girv Send a message via AIM to girv Send a message via MSN to girv Send a message via Yahoo to girv
I haven't tried it but I can't see anything obviously wrong with the hacked login.s.

Does the exe assembled from your login.s actually work?

Does _LVOOpen maybe corrupt the a3 register?

Can you try stepping through the original login program using a debugger and get the salt that way?

How you could be saving the encrypted password before it is actually created by _LVOcrypt is a mystery!

Why are you trying to get the salt value? Its most likely going to change per password anyway!

Last edited by girv; 23 August 2005 at 14:20.
girv is offline  
Old 23 August 2005, 23:28   #23
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 34
Posts: 1,184
I can't use a debugger, because Monam seems to crash, and well it doesn't have support for usergroup.library, so _LVO crypt would look like jsr -$hexvalueofcrypt(a6).

Which would be harder to track down.

I just like playing around with source, poking some code here and there, to see how stuff works.

I wanted to make my login routine to a tool, that used DES crypt(), so the program would continue running, which is why I wanted the salt value
redblade is offline  
Old 24 August 2005, 12:17   #24
girv
Reticulator of Splines
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 920
Send a message via ICQ to girv Send a message via AIM to girv Send a message via MSN to girv Send a message via Yahoo to girv
You've already tracked the call down in the disassembly so how hard could it be to find it again in the binary? login.s line 568: "JSR -174(A6) ;_LVOcrypt" (-174 = -$ae) Also ISTR IRA can be configured to include binary offsets in the disassembly to make it even easier to find. Ah well

Quote:
I wanted to make my login routine to a tool, that used DES crypt(), so the program would continue running, which is why I wanted the salt value
Sorry, I know I'm a bit slow but I don't understand what you mean here
girv is offline  
Old 24 August 2005, 14:16   #25
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 34
Posts: 1,184
I was just replying to your question of you asking me, why I wanted to know the salt value.
redblade is offline  
Old 24 August 2005, 14:44   #26
girv
Reticulator of Splines
girv's Avatar
 
Join Date: Aug 2004
Location: Northern Ireland
Posts: 920
Send a message via ICQ to girv Send a message via AIM to girv Send a message via MSN to girv Send a message via Yahoo to girv
Quote:
Originally Posted by redblade
I was just replying to your question of you asking me, why I wanted to know the salt value.
...and I didn't understand the explanation!
girv is offline  
Old 25 August 2005, 02:54   #27
redblade
Zone Friend

redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 34
Posts: 1,184
girv: Why are you trying to get the salt value? Its most likely going to change per password anyway!

Red^blade: I just like playing around with source, poking some code here and there, to see how stuff works.

I wanted to make my login routine to a tool, that used DES crypt(), so the program would continue running, which is why I wanted the salt value.

Because you need the initial salt value to encrypt the password typed in, to make sure it is the encrypted password?
redblade is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Total Amiga Assembler - Paul Overaa Anding Coders. General 17 06 November 2015 15:53
Amiga Format issue 13 request Rob 1 Nostalgia & memories 35 08 April 2014 04:01
Total Amiga Assembler, by Paul Overaa Dan Locke MarketPlace 2 15 February 2010 18:45
Amiga Format Issue Kyon request.Old Rare Games 16 25 December 2009 20:52
Amiga Format Issue 39 Anubis AMR data problems 8 26 March 2007 14:53

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 13:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.08272 seconds with 15 queries