flat assembler
Message board for the users of flat assembler.

Index > DOS > Bios Password Cleaning - Help

Author
Thread Post new topic Reply to topic
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32 15 Jul 2006, 18:14
I removed the password from a Bios with the following
command in the Command line:

Quote:

debug
o 70 2E
o 71 FF
Q



Can somebody make a program in fasm wich prompts for deleting the password and then makes the same function ?
Post 15 Jul 2006, 18:14
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
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
Post 15 Jul 2006, 22:51
View user's profile Send private message Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
sylwek32 04 Aug 2006, 08:42
Thank you very much.. ill test it
Post 04 Aug 2006, 08:42
View user's profile Send private message Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
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 !

?
Post 04 Aug 2006, 08:55
View user's profile Send private message Reply with quote
sylwek32



Joined: 27 Apr 2006
Posts: 339
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
Post 04 Aug 2006, 09:05
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 04 Aug 2006, 18:10
I edited my code with a more secure prompting
Post 04 Aug 2006, 18:10
View user's profile Send private message Reply with quote
saigon



Joined: 29 May 2006
Posts: 62
saigon 05 Aug 2006, 10:11
sylwek32 wrote:
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


That is a good idea!
I have not been much around on these forums, as I have been working on my miniOS Razz
It is a graphical commandline application which has (should have Smile ) 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 Sad

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) Very Happy .
Post 05 Aug 2006, 10:11
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 05 Aug 2006, 19:39
I think he is thinking about using MiniDos
http://board.flatassembler.net/topic.php?t=5275&start=0
Post 05 Aug 2006, 19:39
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.