Home >Common Problem >Why do hackers need to learn assembly?
Assembly language (assembly language) is a low-level language used for electronic computers, microprocessors, microcontrollers or other programmable devices. It is also called a symbolic language.
In assembly language, mnemonics are used to replace the opcodes of machine instructions, and address symbols (Symbol) or labels (Label) are used to replace instructions or operands. the address of. In different devices, assembly language corresponds to different machine language instruction sets, which are converted into machine instructions through the assembly process. Generally speaking, a specific assembly language and a specific machine language instruction set have a one-to-one correspondence and cannot be directly transplanted between different platforms. (Recommended learning: PHP video tutorial)
Assembly language is not as widely used in programming as most other programming languages. In today's practical applications, it is usually used in low-level, hardware operations and demanding program optimization situations. Assembly language is required for drivers, embedded operating systems, and real-time running programs.
Assembly language can be used in various aspects such as software encryption and decryption, computer virus analysis and prevention, as well as program debugging and error analysis.
Finally, by learning assembly language, you can deepen your understanding of courses such as computer principles and operating systems. By learning and using assembly language, one can perceive, understand and understand the logical functions of the machine, which lays a technical theoretical foundation for understanding the principles of various software systems; and lays a practical application foundation for mastering the principles of hardware systems.
The most important thing is assembly, which is closer to the bottom of the computer and is also the main method used by hackers such as intrusions.
Various DOS commands, UNIX commands, etc.
Then there is C, because there are many C-based languages and are widely used. Many current intrusions use C.
Of course, now you still need to learn JAVA, C, PERL, etc.
Invasions are all network-based, so you need to know the network very well. You need to understand various protocols of the network. For commonly used
languages such as TCP/IP, VBUS, VCOMD, etc., html is the basis, and then the scripting language VBScript, JavaScript,
network programming language ASP , ASP.NET, PHP, etc.
There are also various algorithm languages. Encryption and decryption require
assembly language. This is the basis of all languages. What can be done with high-level languages You can do it with assembly language, it's just slower, but some other languages that use assembly can't do it. In other words, learning assembly first, and then learning high-level languages on this basis is extremely lethal!
Moreover, the C language program itself also needs to be debugged and compiled with the help of low-level languages such as assembly. And most of the hackers you mentioned are doing tricks in program coding. The importance of assembly language is self-evident. .
For more PHP related technical articles, please visit the PHP Graphic Tutorial column to learn!
The above is the detailed content of Why do hackers need to learn assembly?. For more information, please follow other related articles on the PHP Chinese website!