mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-05-02 06:46:07 -04:00
some small fixes
This commit is contained in:
parent
117958bd9c
commit
a5a6601a45
3 changed files with 239 additions and 3 deletions
|
@ -12,6 +12,20 @@ $ gcc -ggdb -o <filename> <filename>.c
|
|||
|
||||
```
|
||||
|
||||
Starting with some commands:
|
||||
```
|
||||
$ gdb <program name> -x <command file>
|
||||
```
|
||||
|
||||
For example:
|
||||
```
|
||||
$ cat command.txt
|
||||
```
|
||||
set disassembly-flavor intel
|
||||
disas main
|
||||
```
|
||||
|
||||
|
||||
#### objdump
|
||||
|
||||
Display information from object files:
|
||||
|
@ -23,3 +37,16 @@ fully linked executable
|
|||
$ objdump -d <bin>
|
||||
```
|
||||
|
||||
#### hexdump & xxd
|
||||
|
||||
For canonical hex & ASCII view:
|
||||
```
|
||||
$hexdump -C
|
||||
```
|
||||
|
||||
#### xxd
|
||||
Make a hexdump or do the reverse:
|
||||
```
|
||||
xxd hello > hello.dump
|
||||
xxd -r hello.dump > hello
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue