進入dos的一個密碼破解方法
更新時間:2008年05月30日 19:46:05 作者:
小玩意,不成敬意,不要笑話
若用dos的8號功能,可用ctrl+c來破解;
若設置成能輸入很長的密碼,可能會發(fā)生溢出,導致程序自動終止。
stack segment
cache db 10 dup ('?')
stack ends
code segment
assume cs:code,ds:code,es:code,ss:stack
message db 'Made by correy',24h
email db 0dh,0ah,'Email:leguanyuan@126.com',24h
notice db 0dh,0ah,'input password:',24h
password db 'correy999'
main proc
mov ax, code
mov ds, ax
mov es, ax
mov ax,stack
mov ss,ax
mov dx, offset message
mov ah, 09
int 21h
mov dx, offset email
mov ah, 09
int 21h
start:mov dx, offset notice
mov ah, 09
int 21h
mov cx, 9
mov bx,offset cache
show:mov ah, 00
int 16h
cmp al, 0Dh
je comp
mov [bx],al
inc bx
mov dl, 2Ah
mov ah, 02
int 21h
loop show
comp:mov cx, 9
mov si, offset password
mov di, offset cache
repz cmpsb
jne start
mov ah, 4Ch
int 21h
main endp
code ends
end main
cache db 10 dup ('?')
stack ends
code segment
assume cs:code,ds:code,es:code,ss:stack
message db 'Made by correy',24h
email db 0dh,0ah,'Email:leguanyuan@126.com',24h
notice db 0dh,0ah,'input password:',24h
password db 'correy999'
main proc
mov ax, code
mov ds, ax
mov es, ax
mov ax,stack
mov ss,ax
mov dx, offset message
mov ah, 09
int 21h
mov dx, offset email
mov ah, 09
int 21h
start:mov dx, offset notice
mov ah, 09
int 21h
mov cx, 9
mov bx,offset cache
show:mov ah, 00
int 16h
cmp al, 0Dh
je comp
mov [bx],al
inc bx
mov dl, 2Ah
mov ah, 02
int 21h
loop show
comp:mov cx, 9
mov si, offset password
mov di, offset cache
repz cmpsb
jne start
mov ah, 4Ch
int 21h
main endp
code ends
end main
相關文章
DOS比較運算符(LSS,LEQ,GTR,GEQ,EQU,NEQ)
這篇文章主要介紹了DOS比較運算符(大于、小于、等于)等,主要是用于判斷文件日期大小等,方便后續(xù)操作2021-09-09