mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 11:16:27 +08:00
Fix #428: add ldd security warning
This commit is contained in:
parent
21443dfb44
commit
b4e6dcfff4
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ mkdir empty && rsync -r --delete empty/ some-dir && rmdir some-dir
|
|||
|
||||
- Know about `strace` and `ltrace`. These can be helpful if a program is failing, hanging, or crashing, and you don't know why, or if you want to get a general idea of performance. Note the profiling option (`-c`), and the ability to attach to a running process (`-p`).
|
||||
|
||||
- Know about `ldd` to check shared libraries etc.
|
||||
- Know about `ldd` to check shared libraries etc, but never run it on untrusted files ([read more](http://www.catonmat.net/blog/ldd-arbitrary-code-execution/))
|
||||
|
||||
- Know how to connect to a running process with `gdb` and get its stack traces.
|
||||
|
||||
|
|
Loading…
Reference in a new issue