mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
debsecan: add page (#6567)
This commit is contained in:
parent
ede6cb72f6
commit
dceaee6b1a
1 changed files with 24 additions and 0 deletions
24
pages/linux/debsecan.md
Normal file
24
pages/linux/debsecan.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# debsecan
|
||||
|
||||
> Debian Security Analyzer, a tool to list vulnerabilities on a particular Debian installation.
|
||||
> More information: <https://gitlab.com/fweimer/debsecan>.
|
||||
|
||||
- List vulnerable installed packages on the current host:
|
||||
|
||||
`debsecan`
|
||||
|
||||
- List vulnerable installed packages of a specific suite:
|
||||
|
||||
`debsecan --suite {{release_code_name}}`
|
||||
|
||||
- List only fixed vulnerabilities:
|
||||
|
||||
`debsecan --suite {{release_code_name}} --only-fixed`
|
||||
|
||||
- List only fixed vulnerabilities of unstable ("sid") and mail to root:
|
||||
|
||||
`debsecan --suite {{sid}} --only-fixed --format {{report}} --mailto {{root}} --update-history`
|
||||
|
||||
- Upgrade vulnerable installed packages:
|
||||
|
||||
`sudo apt upgrade $(debsecan --only-fixed --format {{packages}})`
|
Loading…
Add table
Reference in a new issue