flat assembler
Message board for the users of flat assembler.
Index
> DOS > Bios Password Cleaning - Help |
Author |
|
LocoDelAssembly 15 Jul 2006, 22:51
UNTESTED
Code: org $100 mov ah, $09 mov dx, msg int $21 ; Clears keyboard buffer mov ah, $04 int $16 mov bx, yes .loop: xor ax, ax int $16 mov ah, al sub al, 'a' cmp al, 'z'-'a' ja .checkChar sub ah, 'a'-'A' .checkChar: cmp [bx], ah jne exit inc bx cmp byte [bx], 0 jne .loop remove: mov al, $2E out $70, al mov al, $FF out $71, al mov ah, $09 mov dx, msg2 int $21 exit: int $20 msg db "Are you sure do you want to remove BIOS password?(type YES)", 13, 10, '$' yes db 'YES',0 msg2 db "Password cleared!!", 13, 10, '$' Last edited by LocoDelAssembly on 04 Aug 2006, 18:07; edited 1 time in total |
|||
15 Jul 2006, 22:51 |
|
sylwek32 04 Aug 2006, 08:42
Thank you very much.. ill test it
|
|||
04 Aug 2006, 08:42 |
|
sylwek32 04 Aug 2006, 08:55
It works..
Can samebody make a security mechanism for it? So that it ask double for deleting the pass. Do you want to remove supervisor password from BIOS?[Y/N] Really[I/O] Type I for Y ! ? |
|||
04 Aug 2006, 08:55 |
|
sylwek32 04 Aug 2006, 09:05
Maybe i have a good idea..
Let´s create a MiniBootFloppy with some Tools included.. e.g. this bios password remover.. and maybe: - a HardDisk 0 filler (lowlevel formatting/zero filling) - a Floppy 0 filler (0) - a Bios Password remover - The COM Monitor |
|||
04 Aug 2006, 09:05 |
|
LocoDelAssembly 04 Aug 2006, 18:10
I edited my code with a more secure prompting
|
|||
04 Aug 2006, 18:10 |
|
saigon 05 Aug 2006, 10:11
sylwek32 wrote: Maybe i have a good idea.. That is a good idea! I have not been much around on these forums, as I have been working on my miniOS It is a graphical commandline application which has (should have ) several tools such as a harddisk formatter, a mini internet text-browser, BIOS tweaks (password remover, etc.)... The only problem is, I can't bundle all those tools together into a 512-byte application... (floppy boot-sector). So I guess I have to start with a OS kernel loader However, I am not yet in the coding phase, I am still designing the miniOS (working title). I am doing stuff like how should it look like, how should it function, some optimization tricks, etc.. Anyone who wants to contribute please feel free to do it. I am sure we will together make a nice miniOS, through the power of FASM! (and our brains) . |
|||
05 Aug 2006, 10:11 |
|
Dex4u 05 Aug 2006, 19:39
I think he is thinking about using MiniDos
http://board.flatassembler.net/topic.php?t=5275&start=0 |
|||
05 Aug 2006, 19:39 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.