mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
add usr/lib/security-misc/apt-get-update-sanity-test
a CVE-2016-1252 sanity test script
This commit is contained in:
parent
5e07641553
commit
9b0d3e34fc
12
usr/lib/security-misc/apt-get-update-sanity-test
Executable file
12
usr/lib/security-misc/apt-get-update-sanity-test
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
## This file is part of Whonix.
|
||||
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
set -x
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
wc -L "/var/lib/apt/lists/"*InRelease
|
||||
wc -L "/var/lib/apt/lists/"*InRelease | awk '$1 > 1024 {print; exit 1}'
|
Loading…
Reference in New Issue
Block a user