search
HomeComputer TutorialsComputer KnowledgeHow to implement verification code function in easy language program

How to add verification code in Easy Language program

First of all, I want to emphasize that I do not recommend using registration codes for verification, but recommend using network verification. Using network verification can ensure that your game account is safer, more convenient and faster.

Registration code verification can be easily broken.

Let’s talk about the registration process of registration code first:

In order to help players who have not passed the level yet, let us understand the specific steps to solve the puzzle: "User enters the verification code → click the submit registration button → the program generates the registration code → compare the registration codes."

If the comparison is the same, then the registration is successful

Comparison fails, then registration fails

It is an if judgment.

If (registration code = correct registration code)

Registration successful () Otherwise registration failed ()

In the OD debugger, we can perform conditional judgment and execution through a combined jump of a cmp and a jnz instruction. The purpose of this statement is to compare two values, and if they are not equal, perform a jump operation.

cmp compare jnz jump when ZF is not 1

The key is here. The cracker fills out the jnz nop, and there is no such jump. That is, no matter whether the cmp comparison is the same or different, it does not jump to another subroutine. In this way the program is cracked. Or change jnz to jmp with unconditional jump, that is, whether cmp is the same or different, it will jump to the next subroutine. Regarding network verification, you can find it in some large Yi Language forums, such as Jingyi Forum, etc.

Easy Language Verifies MD5 of all files in the folder

.Version 2

.Support library dp1

.Subroutine __start window_created

.Local variable text, text type

.Local variable file name, text type

.Local variable path, text type

.Local variable MD5, text type, , "0"

.Local variable count, integer type

In order to help everyone understand better, let us take a look at the specific steps. First, we need to read the text content from the file. This can be achieved using the following code: ```python with open("D:\modlist.txt", "r") as file: content = file.read() ``` In this code, we use the `open()` function to open the file and pass in the file path and read mode ("r" means read-only). Then, use the `read()` method to read the file contents and save it in

MD5 = split text (text, #newline, )

Path = “D:\bin\MOD\”

To help players find files, we can use the following code: file name = find file (path "*.*"). In this way, all files under the specified path can be found.

.Judge the beginning of the loop (file name ≠ “”)

In order to get the data summary of the file, we can use the following code: `text = get data summary (read in file (path file name))`. This line of code will read the file at the specified path and calculate its data digest.

In order to help players who have not passed the level yet, let us learn about the specific puzzle solving methods. First, we need to perform a counting loop, use the number of array members (MD5) to determine the number of loops, and then perform corresponding operations based on the counting. Hope this tip can help everyone.

.if true (MD5 [count] = text)

Break out of the loop ()

.If it really ends

.Counting loop end ()

.If true (count > get the number of array members (MD5))

The information box displays: "The MD5 code of the file name was not found" #Error icon

Finish ()

.If it really ends

File name = Find file (, )

.Judge the end of the loop ()

The above is the detailed content of How to implement verification code function in easy language program. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:Excel办公网. If there is any infringement, please contact admin@php.cn delete
How to Fix Attachment Not Showing in Outlook 365?How to Fix Attachment Not Showing in Outlook 365?Apr 19, 2025 am 12:50 AM

Do you have trouble downloading or sending attachments in Outlook 365? Sometimes, Outlook doesn’t show them for some unknown reason, so you are unable to see them. In this post on php.cn Website, we collect some use tips for attachments not showing.

How to Fix V Rising Connection Timed out? Here Are 5 Solutions! - MiniToolHow to Fix V Rising Connection Timed out? Here Are 5 Solutions! - MiniToolApr 19, 2025 am 12:49 AM

When V Rising players try to join a server that is close to or already full, they may encounter the “V Rising connection timed out” issue. If you are one of them, you can refer to this post from php.cn to get solutions. Now, keep on your reading.

How to Turn on/off Real-Time Protection in Windows Security? - MiniToolHow to Turn on/off Real-Time Protection in Windows Security? - MiniToolApr 19, 2025 am 12:48 AM

Windows supplies real-time protection via Windows Security. But this feature may prevent you from doing something it thinks are dangerous. In this situation, you may want to temporarily turn on real-time protection. This php.cn post will show you how

Windows 11 24H2 or Windows 12? Does This Matter?Windows 11 24H2 or Windows 12? Does This Matter?Apr 19, 2025 am 12:47 AM

Microsoft has started working on next year’s Windows updates very early. Recent rumors state that the next update in 2024 might be Windows 11 24H2 rather than Windows 12. Everything is uncertain now. php.cn will now take you to see some related infor

Fix: Unable to Perform Requested Operation – Error 0x80030001 - MiniToolFix: Unable to Perform Requested Operation – Error 0x80030001 - MiniToolApr 19, 2025 am 12:46 AM

The error 0x80030001 often happens when you are attempting to copy files. The error code will be accompanied by a message that tells “unable to perform requested operation”. If you are struggling with this error, you can read this article on php.cn W

How to Download and Install Windows 11 KB5034765How to Download and Install Windows 11 KB5034765Apr 19, 2025 am 12:45 AM

On February 13, 2024, Microsoft released KB5034765 (OS builds 22621.3155 and 22631.3155) for Windows 11 22H2 and Windows 11 23H2. This security update brings you many new improvements and bug fixes. You can learn how to download and install Windows 1

Power Management Tab Missing from Device Manager - Top GuidePower Management Tab Missing from Device Manager - Top GuideApr 19, 2025 am 12:44 AM

Device Manager is widely used when you need to fix some computer issues. You can check the problematic devices and decide to uninstall or update device drivers. Besides, you can also set Power Management settings in Device Manager. However, you may f

2 Ways to Reset Windows Backup to Default in Windows 11/102 Ways to Reset Windows Backup to Default in Windows 11/10Apr 19, 2025 am 12:43 AM

When Backup and Restore (Windows Backup) fails to work, you can choose to reset it to default. How to restore Windows Backup to default in Windows 11/10? php.cn will guide you to easily do this thing in 2 ways and let’s go to see them.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft