进入dos的一个密码破解方法
所属分类:
脚本专栏 / DOS/BAT
阅读数:
1455
收藏 0赞 0分享
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
for 语句从入门到精通
在批处理中,for是最为强大的命令语句,它的出现,使得解析文本内容、遍历文件路径、数值递增/递减等操作成为可能
收藏 0赞 0分享
dos 目录跳转 cd
当我们需要处理不同路径下的文件的时候,很可能需要切换目录,这个时候,可以考虑使用目录跳转命令cd。
收藏 0赞 0分享
tree 以树形格式罗列文件
tree ,在英语中的基本含义是“树”,在cmd中,tree命令的功能是以树形格式罗列文件。
收藏 0赞 0分享
dos 内容重定向
当我们在cmd窗口中查询某条命令的帮助信息的时候,帮助信息是显示在命令行窗口中的,命令行窗口关闭后,这些帮助信息就看不到了,如果下次还想看,又得在命令行窗口中输入查询命令,比较繁琐。
收藏 0赞 0分享
批处理的"循环"效果脚本
曾经在回答一个问题时 无意中想到的方法 今天又看到类似的问题
个人认为是非常实用的 于是 想把这种方法推荐给大家
收藏 0赞 0分享
查看更多