A DoS password cracking method

Source: Internet
Author: User

Stack segment
Cache dB 10 DUP ('? ')
Stack ends

Code segment
Assume Cs: code, DS: code, ES: code, SS: Stack
Message dB 'made by correy ', 24 h
Email dB 0dh, 0ah, 'email: leguanyuan@126.com ', 24 h
Notice dB 0dh, 0ah, 'input password: ', 24 h
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 21 h
MoV dx, offset email
MoV ah, 09
Int 21 h
Start: mov dx, offset notice
MoV ah, 09
Int 21 h
MoV CX, 9
MoV BX, offset Cache
Show: mov ah, 00
Int 16 h
CMP Al, 0dh
Je comp
MoV [BX], Al
INC BX
MoV DL, 2ah
MoV ah, 02
Int 21 h
Loop show
Comp: mov CX, 9
MoV Si, offset Password
MoV Di, offset Cache
Repz cmpsb
JNE start
MoV ah, 4ch
Int 21 h
Main endp
Code ends
End main

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.