[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113688431A - Machine code generation method and device, storage medium and computer equipment - Google Patents

Machine code generation method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN113688431A
CN113688431A CN202110832810.3A CN202110832810A CN113688431A CN 113688431 A CN113688431 A CN 113688431A CN 202110832810 A CN202110832810 A CN 202110832810A CN 113688431 A CN113688431 A CN 113688431A
Authority
CN
China
Prior art keywords
machine code
preset
game program
target
query
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110832810.3A
Other languages
Chinese (zh)
Inventor
易钟鸣
潘明
田野
何世伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Luyi Technology Co ltd
Original Assignee
Chengdu Luyi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Luyi Technology Co ltd filed Critical Chengdu Luyi Technology Co ltd
Priority to CN202110832810.3A priority Critical patent/CN113688431A/en
Publication of CN113688431A publication Critical patent/CN113688431A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/73Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by creating or determining hardware identification, e.g. serial numbers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a machine code generation method and device, a storage medium and computer equipment, wherein the method comprises the following steps: receiving a login instruction of a game program, calling a machine code query interface, and generating a machine code query request through the machine code query interface; determining a target communication mechanism corresponding to the machine code query request, sending the machine code query request to a preset machine code query address based on the target communication mechanism, and generating a target machine code corresponding to the machine code query request by using a machine code generating function under the preset machine code query address; and sending the target machine code to the machine code query interface based on the target communication mechanism, and feeding back the target machine code to the game program through the machine code query interface so that the game program performs login verification by using the target machine code.

Description

Machine code generation method and device, storage medium and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a machine code, a storage medium, and a computer device.
Background
The machine code is a unique number of the computer, usually taken from the serial number of the computer's hard disk. Generally, the serial number of the hard disk is not changeable, and only in individual cases, the serial number of the hard disk may be changed, such as formatting the hard disk, poisoning the hard disk, and so on.
Currently, most network competitive games query the machine code when a player logs in to determine whether the machine code is in a forbidden blacklist, if so, the login operation of the player is not passed, and the player with the illegal operation is prevented from entering the game again. However, in many cases, even if a player does not perform any irregular operation, but only installs some software on the game blacklist without knowing it, or inserts a mobile hard disk with a virus during the running of the game program, the player is identified as a malicious operation by the game program, and the machine code of the computer device is added to the game prohibition blacklist, which seriously affects the experience of the game player, and it is difficult to log in the game again through the computer device.
Therefore, how to avoid that the computer device cannot log in the game due to misoperation of the player, and further improve the experience of the player becomes a problem to be solved in the field.
Disclosure of Invention
In view of this, the present application provides a machine code generation method and apparatus, a storage medium, and a computer device, which are beneficial to preventing a player from being unable to log in a game due to misoperation, so as to improve the experience of the player.
According to an aspect of the present application, there is provided a machine code generation method, including:
receiving a login instruction of a game program, calling a machine code query interface, and generating a machine code query request through the machine code query interface;
determining a target communication mechanism corresponding to the machine code query request, sending the machine code query request to a preset machine code query address based on the target communication mechanism, and generating a target machine code corresponding to the machine code query request by using a machine code generating function under the preset machine code query address;
and sending the target machine code to the machine code query interface based on the target communication mechanism, and feeding back the target machine code to the game program through the machine code query interface so that the game program performs login verification by using the target machine code.
Optionally, before the receiving a login instruction of the game program, the method further includes:
starting a machine code generator, and searching the preset machine code query address corresponding to a preset machine code query function through an address query function of the machine code generator;
and calling a replacing program of the machine code generator, and replacing the preset machine code query function in the preset machine code query address with the machine code generating function.
Optionally, the generating a target machine code corresponding to the machine code query request specifically includes:
acquiring a millisecond numerical value of a preset digit corresponding to the current time, sequentially filling the millisecond numerical value into a corresponding hard disk serial number format frame until the filling of the hard disk serial number format frame is finished, and generating a corresponding target machine code.
Optionally, before obtaining the millisecond value of the preset number of bits corresponding to the current time, the method further includes:
receiving a hard disk serial number format query request, and querying the hard disk serial number format by using a command line function;
and generating a corresponding hard disk serial number format frame based on the hard disk serial number format.
Optionally, after receiving a login instruction of the game program, the method further includes:
acquiring a process name corresponding to a game program login process, and judging whether the process name corresponding to the game program login process is included in a preset process name list or not;
when the process name corresponding to the game program login process is included in a preset process name list, the game program login process is released, and the calling machine code query interface is executed;
and when the process name corresponding to the game program login process is not included in a preset process name list, terminating the game program login process.
According to another aspect of the present application, there is provided a machine code generating apparatus including:
the interface calling module is used for receiving a login instruction of a game program, calling a machine code query interface and generating a machine code query request through the machine code query interface;
the machine code generating module is used for determining a target communication mechanism corresponding to the machine code query request, sending the machine code query request to a preset machine code query address based on the target communication mechanism, and generating a target machine code corresponding to the machine code query request by using a machine code generating function under the preset machine code query address;
and the machine code transmission module is used for sending the target machine code to the machine code query interface based on the target communication mechanism, and feeding back the target machine code to the game program through the machine code query interface so that the game program utilizes the target machine code to perform login verification.
Optionally, the apparatus further comprises:
the address query module is used for starting the machine code generator before receiving a login instruction of a game program, and searching the preset machine code query address corresponding to a preset machine code query function through an address query function of the machine code generator;
and the replacing module is used for calling a replacing program of the machine code generator and replacing the preset machine code inquiring function in the preset machine code inquiring address with the machine code generating function.
Optionally, the machine code generation module is specifically configured to:
acquiring a millisecond numerical value of a preset digit corresponding to the current time, sequentially filling the millisecond numerical value into a corresponding hard disk serial number format frame until the filling of the hard disk serial number format frame is finished, and generating a corresponding target machine code.
Optionally, the apparatus further comprises:
the format query module is used for receiving a hard disk serial number format query request before acquiring the millisecond numerical value of the preset digit corresponding to the current time, and querying the hard disk serial number format by using a command line function;
and the frame generating module is used for generating a corresponding hard disk serial number format frame based on the hard disk serial number format.
Optionally, the apparatus further comprises:
the judging module is used for acquiring the process name corresponding to the login process of the game program after receiving the login instruction of the game program, and judging whether the process name corresponding to the login process of the game program is included in a preset process name list or not;
the releasing module is used for releasing the game program login process and executing the calling machine code query interface when the process name corresponding to the game program login process is included in a preset process name list;
and the termination module is used for terminating the login process of the game program when the process name corresponding to the login process of the game program is not included in a preset process name list.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described machine code generation method.
According to yet another aspect of the present application, there is provided a computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, the processor implementing the above machine code generation method when executing the program.
By means of the technical scheme, the machine code generating method and device, the storage medium and the computer equipment receive a login instruction of a game program, call a machine code query interface based on the login instruction of the game program, further generate a corresponding machine code query request by using the called machine code query interface, determine a target communication mechanism corresponding to the machine code query request, send the machine code query request to a preset machine code query address based on the target communication mechanism, correspond to a machine code generating function under the preset machine code query address, generate a target machine code corresponding to the machine code query request through the machine code generating function, send the generated target machine code to the machine code query interface through the target communication mechanism, and after receiving the target machine code, and feeding back the received target machine code to the game program, so that the game program performs verification and login by using the target machine code after receiving the target machine code. According to the method and the device for generating the target machine code, the corresponding target machine code is generated by presetting the machine code generating function under the machine code inquiry address and fed back to the game program, so that the situation that the computer equipment cannot log in the game due to misoperation of a player is avoided, and the experience of the player is improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart illustrating a machine code generation method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart illustrating another machine code generation method provided in the embodiment of the present application;
fig. 3 shows a schematic structural diagram of a machine code generation apparatus according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In the present embodiment, a machine code generation method is provided, as shown in fig. 1, the method includes:
step 101, receiving a login instruction of a game program, calling a machine code query interface, and generating a machine code query request through the machine code query interface;
the machine code generation method provided by the embodiment of the application can be applied to a client, and specifically can include computer equipment. Currently, many network competitive games query the machine code corresponding to the computer device when the player logs in the game, such as LOL, CSGO, absolutely ask for survival, and the like. When a player logs in a game, a login instruction of a game program is received, a machine code query interface provided by a Windows system is called on the basis of the login instruction of the game program, and further, a corresponding machine code query request is generated by using the called machine code query interface.
Step 102, determining a target communication mechanism corresponding to the machine code query request, sending the machine code query request to a preset machine code query address based on the target communication mechanism, and generating a target machine code corresponding to the machine code query request by using a machine code generating function under the preset machine code query address;
in this embodiment, in order to query the machine code of the corresponding computer device by using the machine code query request, the machine code query request of the system application layer needs to be transmitted to a preset machine code query address in the system driver layer, and before transmission, a target communication mechanism corresponding to the machine code query request may be determined, where the target communication mechanism may be an IOcontrol mechanism. After the target communication mechanism is determined, the machine code query request of the system application layer is sent to a preset machine code query address corresponding to the system driving layer on the basis of the target communication mechanism, a machine code generating function is corresponding to the preset machine code query address, and a target machine code corresponding to the machine code query request can be generated through the machine code generating function.
103, sending the target machine code to the machine code query interface based on the target communication mechanism, and feeding back the target machine code to the game program through the machine code query interface, so that the game program performs login verification by using the target machine code.
In this embodiment, the generated target machine code is also sent to the machine code query interface through the target communication mechanism, and the machine code query interface can feed back the received target machine code to the game program after receiving the target machine code, so that the game program can compare the target machine code with the machine code included in the black list for no-match after receiving the target machine code, and since the target machine code is randomly generated, the target machine code is hardly included in the black list for no-match, and after the comparison is passed, the player can successfully enter the game and start the game world.
By applying the technical scheme of the embodiment, a login instruction of a game program is received, a machine code query interface is called based on the login instruction of the game program, further, a corresponding machine code query request is generated by using the called machine code query interface, a target communication mechanism corresponding to the machine code query request is determined, the machine code query request is sent to a preset machine code query address corresponding to a machine code generating function under the preset machine code query address, a target machine code corresponding to the machine code query request is generated through the machine code generating function, the generated target machine code is sent to the machine code query interface through the target communication mechanism, the machine code query interface feeds back the received target machine code to the game program after receiving the target machine code, and thus after the game program receives the target machine code, and using the target machine code to verify and log in. According to the method and the device for generating the target machine code, the corresponding target machine code is generated by presetting the machine code generating function under the machine code inquiry address and fed back to the game program, so that the situation that the computer equipment cannot log in the game due to misoperation of a player is avoided, and the experience of the player is improved.
Further, as a refinement and an extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of the embodiment, another machine code generation method is provided, as shown in fig. 2, and the method includes:
step 201, starting a machine code generator, and searching a preset machine code query address corresponding to a preset machine code query function through an address query function of the machine code generator;
in this embodiment, the machine code generator may be composed of a series of programs, and after the machine code generator is installed and started in the computer device, an address query function in the machine code generator may be called, and an address corresponding to a preset machine code query function in the computer device may be queried by using the address query function, which may be referred to as a preset machine code query address. Under the condition that the machine code generator is not started, the hard disk machine code corresponding to the computer equipment can be inquired through a preset machine code inquiry function.
Step 202, calling a replacement program of the machine code generator, and replacing the preset machine code query function in the preset machine code query address with the machine code generation function;
in the foregoing embodiment, further, after the preset machine code query address is queried, a replacement program in the machine code generator may be called to replace the preset machine code query function in the original computer device, and the machine code generation function is placed in the preset machine code query address. Therefore, after the machine code query request is sent to the preset machine code query address, the preset machine code query function can be prevented from querying the hard disk machine code, and the machine code generating function generates a random target machine code.
Step 203, receiving a login instruction of a game program, acquiring a process name corresponding to a login process of the game program, and judging whether the process name corresponding to the login process of the game program is included in a preset process name list;
in this embodiment, when a user logs in a game, a login instruction of a game program is received, a process name corresponding to a login process of the game program is obtained from the login instruction of the game program, and further, the process name corresponding to the login process of the game program is compared with a preset process name list to determine whether a process name corresponding to the login process of the game program exists in the preset process name list.
The preset process name list comprises login process names corresponding to all available application programs or game programs, and specifically, the login process names can be added to the process names in the preset process name list when a user installs the game program each time, or the login process names in the preset process name list can be deleted when the user uninstalls the game program, so that malicious programs are prevented from calling a machine code query interface, and real machine codes or other privacy information corresponding to computer equipment is further obtained.
204, when the process name corresponding to the game program login process is included in a preset process name list, releasing the game program login process, and executing the calling machine code query interface;
in this embodiment, when the determination result is that the preset process name list includes the process name corresponding to the game program login process, it is indicated that the game program is the program actively installed by the user, and the login operation of the game program is also the user's name, then the login process of the game program is released at this time, and the machine code query interface is invoked, so that the game program can subsequently receive the target machine code.
Step 205, when the process name corresponding to the game program login process is not included in a preset process name list, terminating the game program login process;
in this embodiment, when the judgment result is that the preset process name list does not include the process name corresponding to the game program login process, it is indicated that the game program is not the program actively installed by the user, and the login operation of the game program is likely to be the malicious software, and then the login process of the game program is terminated, so as to prevent the malicious software from calling the machine code query interface through the game login behavior, and further obtain some other information on the computer device, or cause the start failure of the machine code generator, and thus obtain the real hard disk machine code. According to the method and the device, whether the process name corresponding to the login process of the game program is included in the preset process name list or not is judged, so that whether the login process of the game program is released or not is determined, the safety of computer equipment is guaranteed, and information of the computer equipment is prevented from being leaked out under the operation of illegal programs and malicious software.
Step 206, calling a machine code query interface, and generating a machine code query request through the machine code query interface;
step 207, determining a target communication mechanism corresponding to the machine code query request, sending the machine code query request to a preset machine code query address based on the target communication mechanism, and generating a target machine code corresponding to the machine code query request by using a machine code generating function under the preset machine code query address;
and step 208, sending the target machine code to the machine code query interface based on the target communication mechanism, and feeding back the target machine code to the game program through the machine code query interface so that the game program performs login verification by using the target machine code.
In this embodiment, after the login process of the application program is released, the machine code query interface is invoked, and further, the invoked machine code query interface is utilized to generate a corresponding machine code query request, determine a target communication mechanism corresponding to the machine code query request, and based on the target communication mechanism, sending the machine code query request to a preset machine code query address corresponding to the machine code generating function, generating a target machine code corresponding to the machine code query request through a machine code generating function, sending the generated target machine code to a machine code query interface through a target communication mechanism, feeding the received target machine code back to the game program after the machine code query interface receives the target machine code, thus, after the game program receives the target machine code, the game program performs authentication and login by using the target machine code.
In this embodiment of the present application, optionally, "generating a target machine code corresponding to the machine code query request" in step 207 specifically includes: acquiring a millisecond numerical value of a preset digit corresponding to the current time, sequentially filling the millisecond numerical value into a corresponding hard disk serial number format frame until the filling of the hard disk serial number format frame is finished, and generating a corresponding target machine code.
In this embodiment, after the machine code query request is sent to the preset machine code query address, the millisecond value of the preset digit corresponding to the current time is obtained by using the machine code generating function at the address. For example, if the current time is 15:02:33:828, then the corresponding millisecond value is 828. If the predetermined number of bits is 3 bits, then the value is obtained 828 directly; when the preset number of bits is 2 bits, the first 2-bit millisecond value can be acquired according to the preset specification, and the second 2-bit millisecond value can also be acquired according to the preset specification. And after the millisecond numerical value of the preset digit is obtained, sequentially filling the obtained millisecond numerical value into a hard disk serial number format frame corresponding to the computer equipment according to a preset sequence, and generating a corresponding target machine code after all vacant positions in the hard disk serial number format frame are filled. According to the method and the device, the target machine code is generated by obtaining the millisecond numerical value corresponding to the current time, and the repetition rate of the target machine code can be greatly reduced.
In the embodiment of the present application, optionally, the method may further include: receiving a hard disk serial number format query request, and querying the hard disk serial number format by using a command line function; and generating a corresponding hard disk serial number format frame based on the hard disk serial number format.
In this embodiment, before acquiring the millisecond value of the preset number of bits corresponding to the current time, after receiving the query request of the hard disk serial number format, the format of the hard disk serial number may be queried through a command line function, and further, based on the hard disk serial number format, a corresponding hard disk serial number format frame may be generated, so that the target machine code may be generated according to the hard disk serial number format frame in the following.
Further, as a specific implementation of the method in fig. 1, an embodiment of the present application provides a machine code generating apparatus, as shown in fig. 3, the apparatus includes:
the interface calling module is used for receiving a login instruction of a game program, calling a machine code query interface and generating a machine code query request through the machine code query interface;
the machine code generating module is used for determining a target communication mechanism corresponding to the machine code query request, sending the machine code query request to a preset machine code query address based on the target communication mechanism, and generating a target machine code corresponding to the machine code query request by using a machine code generating function under the preset machine code query address;
and the machine code transmission module is used for sending the target machine code to the machine code query interface based on the target communication mechanism, and feeding back the target machine code to the game program through the machine code query interface so that the game program utilizes the target machine code to perform login verification.
Optionally, the apparatus further comprises:
the address query module is used for starting the machine code generator before receiving a login instruction of a game program, and searching the preset machine code query address corresponding to a preset machine code query function through an address query function of the machine code generator;
and the replacing module is used for calling a replacing program of the machine code generator and replacing the preset machine code inquiring function in the preset machine code inquiring address with the machine code generating function.
Optionally, the machine code generation module is specifically configured to:
acquiring a millisecond numerical value of a preset digit corresponding to the current time, sequentially filling the millisecond numerical value into a corresponding hard disk serial number format frame until the filling of the hard disk serial number format frame is finished, and generating a corresponding target machine code.
Optionally, the apparatus further comprises:
the format query module is used for receiving a hard disk serial number format query request before acquiring the millisecond numerical value of the preset digit corresponding to the current time, and querying the hard disk serial number format by using a command line function;
and the frame generating module is used for generating a corresponding hard disk serial number format frame based on the hard disk serial number format.
Optionally, the apparatus further comprises:
the judging module is used for acquiring the process name corresponding to the login process of the game program after receiving the login instruction of the game program, and judging whether the process name corresponding to the login process of the game program is included in a preset process name list or not;
the releasing module is used for releasing the game program login process and executing the calling machine code query interface when the process name corresponding to the game program login process is included in a preset process name list;
and the termination module is used for terminating the login process of the game program when the process name corresponding to the login process of the game program is not included in a preset process name list.
It should be noted that other corresponding descriptions of the functional units related to the machine code generation apparatus provided in the embodiment of the present application may refer to the corresponding descriptions in the methods in fig. 1 to fig. 2, and are not described herein again.
Based on the methods shown in fig. 1 to 2, correspondingly, the present application further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the machine code generation method shown in fig. 1 to 2.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Based on the above methods shown in fig. 1 to fig. 2 and the virtual device embodiment shown in fig. 3, in order to achieve the above object, an embodiment of the present application further provides a computer device, which may specifically be a personal computer, a server, a network device, and the like, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the above-described machine code generation method as shown in fig. 1 to 2.
Optionally, the computer device may also include a user interface, a network interface, a camera, Radio Frequency (RF) circuitry, sensors, audio circuitry, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., a bluetooth interface, WI-FI interface), etc.
It will be appreciated by those skilled in the art that the present embodiment provides a computer device architecture that is not limiting of the computer device, and that may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. Receiving a login instruction of a game program, calling a machine code query interface based on the login instruction of the game program, further generating a corresponding machine code query request by using the called machine code query interface, determining a target communication mechanism corresponding to the machine code query request, and based on the target communication mechanism, sending the machine code query request to a preset machine code query address corresponding to the machine code generating function, generating a target machine code corresponding to the machine code query request through a machine code generating function, sending the generated target machine code to a machine code query interface through a target communication mechanism, feeding the received target machine code back to the game program after the machine code query interface receives the target machine code, thus, after the game program receives the target machine code, the game program performs authentication and login by using the target machine code. According to the method and the device for generating the target machine code, the corresponding target machine code is generated by presetting the machine code generating function under the machine code inquiry address and fed back to the game program, so that the situation that the computer equipment cannot log in the game due to misoperation of a player is avoided, and the experience of the player is improved.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. A method for generating machine code, comprising:
receiving a login instruction of a game program, calling a machine code query interface, and generating a machine code query request through the machine code query interface;
determining a target communication mechanism corresponding to the machine code query request, sending the machine code query request to a preset machine code query address based on the target communication mechanism, and generating a target machine code corresponding to the machine code query request by using a machine code generating function under the preset machine code query address;
and sending the target machine code to the machine code query interface based on the target communication mechanism, and feeding back the target machine code to the game program through the machine code query interface so that the game program performs login verification by using the target machine code.
2. The method of claim 1, wherein prior to receiving a login instruction for a game program, the method further comprises:
starting a machine code generator, and searching the preset machine code query address corresponding to a preset machine code query function through an address query function of the machine code generator;
and calling a replacing program of the machine code generator, and replacing the preset machine code query function in the preset machine code query address with the machine code generating function.
3. The method of claim 2, wherein the generating the target machine code corresponding to the machine code query request specifically comprises:
acquiring a millisecond numerical value of a preset digit corresponding to the current time, sequentially filling the millisecond numerical value into a corresponding hard disk serial number format frame until the filling of the hard disk serial number format frame is finished, and generating a corresponding target machine code.
4. The method of claim 3, wherein before the obtaining the millisecond value of the preset number of bits corresponding to the current time, the method further comprises:
receiving a hard disk serial number format query request, and querying the hard disk serial number format by using a command line function;
and generating a corresponding hard disk serial number format frame based on the hard disk serial number format.
5. The method according to any one of claims 1 to 4, wherein after receiving a login instruction of a game program, the method further comprises:
acquiring a process name corresponding to a game program login process, and judging whether the process name corresponding to the game program login process is included in a preset process name list or not;
when the process name corresponding to the game program login process is included in a preset process name list, the game program login process is released, and the calling machine code query interface is executed;
and when the process name corresponding to the game program login process is not included in a preset process name list, terminating the game program login process.
6. A machine code generation apparatus, comprising:
the interface calling module is used for receiving a login instruction of a game program, calling a machine code query interface and generating a machine code query request through the machine code query interface;
the machine code generating module is used for determining a target communication mechanism corresponding to the machine code query request, sending the machine code query request to a preset machine code query address based on the target communication mechanism, and generating a target machine code corresponding to the machine code query request by using a machine code generating function under the preset machine code query address;
and the machine code transmission module is used for sending the target machine code to the machine code query interface based on the target communication mechanism, and feeding back the target machine code to the game program through the machine code query interface so that the game program utilizes the target machine code to perform login verification.
7. The apparatus of claim 6, further comprising:
the address query module is used for starting the machine code generator before receiving a login instruction of a game program, and searching the preset machine code query address corresponding to a preset machine code query function through an address query function of the machine code generator;
and the replacing module is used for calling a replacing program of the machine code generator and replacing the preset machine code inquiring function in the preset machine code inquiring address with the machine code generating function.
8. The apparatus of claim 7, wherein the machine code generation module is specifically configured to:
acquiring a millisecond numerical value of a preset digit corresponding to the current time, sequentially filling the millisecond numerical value into a corresponding hard disk serial number format frame until the filling of the hard disk serial number format frame is finished, and generating a corresponding target machine code.
9. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 5.
10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, characterized in that the processor implements the method of any one of claims 1 to 5 when executing the computer program.
CN202110832810.3A 2021-07-22 2021-07-22 Machine code generation method and device, storage medium and computer equipment Pending CN113688431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110832810.3A CN113688431A (en) 2021-07-22 2021-07-22 Machine code generation method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110832810.3A CN113688431A (en) 2021-07-22 2021-07-22 Machine code generation method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN113688431A true CN113688431A (en) 2021-11-23

Family

ID=78577748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110832810.3A Pending CN113688431A (en) 2021-07-22 2021-07-22 Machine code generation method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN113688431A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049418A (en) * 2015-06-17 2015-11-11 福建天晴数码有限公司 Method and system for filtering network game login accounts
CN106446020A (en) * 2016-08-29 2017-02-22 携程计算机技术(上海)有限公司 Browser built-in crawler system-based fingerprint identification realization method
US20170371678A1 (en) * 2015-03-25 2017-12-28 Tencent Technology (Shenzhen) Company Limited Method and apparatus for running game client
CN108295477A (en) * 2018-01-26 2018-07-20 珠海金山网络游戏科技有限公司 A kind of game account safety detection method, system and device based on big data
CN108769041A (en) * 2018-06-06 2018-11-06 深圳壹账通智能科技有限公司 Login method, system, computer equipment and storage medium
CN109361716A (en) * 2018-12-19 2019-02-19 北京锐安科技有限公司 A kind of acquisition methods of IP address, device, terminal device and storage medium
CN110633295A (en) * 2019-09-20 2019-12-31 苏州浪潮智能科技有限公司 Server process number query method and related device
CN111835504A (en) * 2019-04-16 2020-10-27 北京车和家信息技术有限公司 Identification code generation method and server
CN112398968A (en) * 2020-11-24 2021-02-23 天津五八到家货运服务有限公司 ID generation system and method, generation terminal, server terminal and storage medium
CN113127868A (en) * 2019-12-31 2021-07-16 苏州三六零智能安全科技有限公司 Script identification method, device, equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170371678A1 (en) * 2015-03-25 2017-12-28 Tencent Technology (Shenzhen) Company Limited Method and apparatus for running game client
CN105049418A (en) * 2015-06-17 2015-11-11 福建天晴数码有限公司 Method and system for filtering network game login accounts
CN106446020A (en) * 2016-08-29 2017-02-22 携程计算机技术(上海)有限公司 Browser built-in crawler system-based fingerprint identification realization method
CN108295477A (en) * 2018-01-26 2018-07-20 珠海金山网络游戏科技有限公司 A kind of game account safety detection method, system and device based on big data
CN108769041A (en) * 2018-06-06 2018-11-06 深圳壹账通智能科技有限公司 Login method, system, computer equipment and storage medium
CN109361716A (en) * 2018-12-19 2019-02-19 北京锐安科技有限公司 A kind of acquisition methods of IP address, device, terminal device and storage medium
CN111835504A (en) * 2019-04-16 2020-10-27 北京车和家信息技术有限公司 Identification code generation method and server
CN110633295A (en) * 2019-09-20 2019-12-31 苏州浪潮智能科技有限公司 Server process number query method and related device
CN113127868A (en) * 2019-12-31 2021-07-16 苏州三六零智能安全科技有限公司 Script identification method, device, equipment and storage medium
CN112398968A (en) * 2020-11-24 2021-02-23 天津五八到家货运服务有限公司 ID generation system and method, generation terminal, server terminal and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WDSJ_XH: "硬件虚拟修改神器——VirtualHardware", pages 1 - 9, Retrieved from the Internet <URL:https://blog.csdn.net/wdsj_xh/article/details/97547527> *
罗平;徐倩华;: "网络游戏外挂技术及检测", 计算机工程与设计, no. 06, pages 1 - 9 *

Similar Documents

Publication Publication Date Title
US11759714B2 (en) Method for implementing user matching and related device
KR100915564B1 (en) Method, software and apparatus for application upgrade during execution
KR100815099B1 (en) System and method for temporary application component deletion and reload on a wireless device
EP3975503A1 (en) Esim card replacement method and related device
CN106339613B (en) A kind of processing method, terminal and server using data
JP2006505029A (en) Server processing to update the version of the dataset present on the wireless device
US20090124251A1 (en) Method of Assessing Compatibility Between Applications and Processor Devices
CN105630551A (en) Method and device for installing application software and electronic equipment
CN111629058A (en) Mirror image uploading method, device and system and back-end equipment
WO2013029445A1 (en) Method and apparatus for starting, method and apparatus for accepting starting, and method and system for inter-application mutual starting
CN105786636B (en) A kind of system repair and device
CN111221580A (en) Method, equipment and storage medium for safely recovering factory settings of intelligent lock
JP2007528064A (en) Running unverified programs in a wireless device operating environment
US8621191B2 (en) Methods, apparatuses, and computer program products for providing a secure predefined boot sequence
CN113688431A (en) Machine code generation method and device, storage medium and computer equipment
CN111131440A (en) Resource scheduling method and device and server
CN115941795B (en) Data transmission method, device, electronic equipment and storage medium
CN114692150A (en) Sandbox environment-based malicious code analysis method and device and related equipment
CN113434234A (en) Page jump method, device, computer readable storage medium and processor
CN114499946B (en) Login management method, device, equipment and machine-readable storage medium
CN114866530B (en) Method, device and computer storage medium for downloading upgrade data packet
CN113596841B (en) Authentication control method and system for user identity identification card
CN113660288B (en) User number binding method and system based on block chain system
CN114385114B (en) Application service access method and related device
CN118018557A (en) Application processing method, device, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination