Changeset 29 for trunk/BOOTCODE/REGULAR/PASSWORD.ASM
- Timestamp:
- May 5, 2011, 2:00:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/PASSWORD.ASM
r23 r29 1 2 ; Disclaimer:3 ; =============4 ; The sourcecode is released via www.netlabs.org CVS *ONLY*.5 ; You MUST NOT upload it to other servers nor republish it in any way.6 ; The sourcecode is still COPYRIGHTED and NOT RELEASED UNDER GPL.7 ; It's (c) Copyright 1998-2003 by Martin Kiewitz.8 ; You may recompile the source and do *PRIVATE* modifications, but please keep9 ; in mind that modifying this code needs at least *some* assembly skill. If10 ; you mess up your system, because you needed to hack your way through, don't11 ; blame me. Releasing a customized version of AiR-BOOT, selling it in any form12 ; or reusing parts of this source is *PROHIBITED*. Ask me, if you have some13 ; idea about new functionality *before* developing the code, otherwise I will14 ; definitely reject it. Also please accept, that I have some basic design15 ; rules on AiR-BOOT and I will maintain them at all costs, so this won't get16 ; another GRUB.17 1 ; AiR-BOOT (c) Copyright 1998-2008 M. Kiewitz 2 ; 3 ; This file is part of AiR-BOOT 4 ; 5 ; AiR-BOOT is free software: you can redistribute it and/or modify it under 6 ; the terms of the GNU General Public License as published by the Free 7 ; Software Foundation, either version 3 of the License, or (at your option) 8 ; any later version. 9 ; 10 ; AiR-BOOT is distributed in the hope that it will be useful, but WITHOUT ANY 11 ; WARRANTY: without even the implied warranty of MERCHANTABILITY or FITNESS 12 ; FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 13 ; details. 14 ; 15 ; You should have received a copy of the GNU General Public License along with 16 ; AiR-BOOT. If not, see <http://www.gnu.org/licenses/>. 17 ; 18 18 ;--------------------------------------------------------------------------- 19 19 ; AiR-BOOT / PASSWORD … … 22 22 ; Don't ask me, what I'm doing in here to encode the passwords. I don't even 23 23 ; know by myself anymore. It's some kind of hash and I hope that it isn't weak 24 ; and some mad uber-hacker-god will laugh about it .24 ; and some mad uber-hacker-god will laugh about it - but i bet so ;-) 25 25 26 26 PASSWORD_AskSystemPwd Proc Near Uses ax bx si di … … 49 49 ret 50 50 PASSWORD_AskChangeBootPwd EndP 51 52 ;CFG_MasterPassword dw 0101Fh ; Encoded Password (this is just CR) 53 ; dw 07A53h 54 ; dw 0E797h 55 ; dw 0A896h 56 ; BUGBUG - If unspecified password to ask, check if one of our two are CR 57 ; And if that's the case, we need to skip over checking that one. 58 ; If both are CR, return to caller 59 51 60 52 61 ; In: ax - Magic for AskPassword Subroutine
Note:
See TracChangeset
for help on using the changeset viewer.