This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sed script to replace RHEL8 OVAL definition to evaluate with Rocky Linux | |
# signature detection | |
s/199e2f91fd431d51/15af5dac6d745a60/g | |
# centos detection | |
s/\^redhat-release/\^rocky-release/g | |
s@/etc/redhat-release@/etc/rocky-release@g | |
# rocky uses module_, while RHEL8 uses module+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------BCFIPS-------------------- | |
SecureRandom DEFAULT | |
SecureRandom NONCEANDIV | |
MessageDigest SHA-1 | |
Mac HMACSHA-1 | |
KeyGenerator HMACSHA-1 | |
SecretKeyFactory HMACSHA-1 | |
Mac HMAC128SHA1 | |
MessageDigest SHA-224 | |
Mac HMACSHA-224 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[xml]$doc = Invoke-WebRequest -method Get "https://portal.msrc.microsoft.com/api/security-guidance/en-us/CVE/ADV990001" -Headers @{"Accept"="application/xml"} | |
$doc.SecurityGuidanceDto._x003C_AffectedProducts_x003E_k__BackingField.ChildNodes | Select-Object -Property ArticleTitle1,Name,DownloadUrl1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anaconda-29.19.0.43-1.el8_0.src.rpm | |
ant-1.10.5-1.module_el8.0.0+30+832da3a1.src.rpm | |
ant-contrib-1.0-0.32.b3.module_el8.0.0+30+832da3a1.src.rpm | |
antlr-2.7.7-56.module_el8.0.0+30+832da3a1.src.rpm | |
aopalliance-1.0-17.module_el8.0.0+30+832da3a1.src.rpm | |
apache-commons-beanutils-1.9.3-4.module_el8.0.0+30+832da3a1.src.rpm | |
apache-commons-cli-1.4-4.module_el8.0.0+30+832da3a1.src.rpm | |
apache-commons-codec-1.11-3.module_el8.0.0+30+832da3a1.src.rpm | |
apache-commons-collections-3.2.2-10.module_el8.0.0+30+832da3a1.src.rpm | |
apache-commons-compress-1.18-1.module_el8.0.0+30+832da3a1.src.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
base=$1 | |
srpms_from_rpm=$(mktemp) | |
srpms_from_disk=$(mktemp) | |
find $base -name "*.rpm" -exec rpm -qp --nosignature --queryformat "%{SOURCERPM}\n" {} \; | sort > $srpms_from_rpm | |
find $base -name "*.src.rpm" -exec basename {} \; > $srpsm_from_disk |