mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 09:49:50 +00:00
Update cheatsheets
This commit is contained in:
29
linux/debsecan
Normal file
29
linux/debsecan
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}})`
|
||||
Reference in New Issue
Block a user