Binary structure DOCUMENTATION Attemp #3
This commit is contained in:
parent
1d890a007d
commit
c33f6c0d0b
@ -22,12 +22,15 @@ echo "0248656c6c6f2c20776f726c64210a000001001a00022a00" >> hello_world.hex
|
|||||||
touch hello_world.exe
|
touch hello_world.exe
|
||||||
xxd -r -p hello_world.hex hello_world.exe
|
xxd -r -p hello_world.hex hello_world.exe
|
||||||
```
|
```
|
||||||
# Пример
|
## Пример
|
||||||
Выполните следующий скрипт:
|
Выполните следующий скрипт:
|
||||||
```bash
|
```bash
|
||||||
touch hello_world.hex
|
touch hello_world.hex
|
||||||
echo "4d5a2400000020000248656c6c6f2c20776f726c64210a000001001a00022a00" > hello_world.hex
|
echo "4d5a2400000020000248656c6c6f2c20776f726c64210a000001001a00022a00" > hello_world.hex
|
||||||
touch hello_world.exe
|
touch hello_world.exe
|
||||||
xxd -r -p hello_world.hex hello_world.exe
|
xxd -r -p hello_world.hex hello_world.exe
|
||||||
ntsys hello_world.exe
|
|
||||||
```
|
```
|
||||||
|
Для запуска введите:
|
||||||
|
```bash
|
||||||
|
ntsys hello_world.exe
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user