2022-07-16 19:40:48 -04:00
#!/bin/bash
2022-07-17 02:28:10 -04:00
#F-Droid Security Analysis
2022-07-17 20:25:06 -04:00
echo "Fetching and Modifying the F-Droid Security Analysis post"
2022-07-17 02:28:10 -04:00
rm -rf './content/apps/F-Droid Security Analysis.md'
curl https://raw.githubusercontent.com/Wonderfall/wonderfall.github.io/main/content/posts/fdroid-issues.md -o './content/apps/F-Droid Security Analysis.md'
sed -i 's/title:.*/title: "F-Droid Security Analysis"/' './content/apps/F-Droid Security Analysis.md'
2022-07-17 03:04:46 -04:00
sed -i '/draft:.*/d' './content/apps/F-Droid Security Analysis.md'
2022-07-19 01:00:32 -04:00
sed -i "s/tags:.*/tags: ['Applications', 'Android', 'Security']/" './content/apps/F-Droid Security Analysis.md'
2022-07-17 02:28:10 -04:00
sed -i '/^tags:.*/a ShowCanonicalLink: true' './content/apps/F-Droid Security Analysis.md'
sed -i '/^tags:.*/a canonicalURL: https://wonderfall.dev/fdroid-issues' './content/apps/F-Droid Security Analysis.md'
sed -i '/^tags:.*/a author: Wonderfall' './content/apps/F-Droid Security Analysis.md'
2022-07-17 20:25:06 -04:00
2022-07-17 02:28:10 -04:00
#Docker and OCI Hardening
2022-07-17 20:25:06 -04:00
echo "Fetching and Modifying the Docker and OCI Hardening post"
2022-07-17 02:28:10 -04:00
rm -rf './content/os/Docker and OCI Hardening.md'
2022-07-17 02:35:00 -04:00
curl https://raw.githubusercontent.com/Wonderfall/wonderfall.github.io/main/content/posts/docker-hardening.md -o './content/os/Docker and OCI Hardening.md'
2022-07-17 02:28:10 -04:00
sed -i 's/title:.*/title: "Docker and OCI Hardening"/' './content/os/Docker and OCI Hardening.md'
2022-07-17 03:04:46 -04:00
sed -i '/draft:.*/d' './content/os/Docker and OCI Hardening.md'
2022-07-19 01:00:32 -04:00
sed -i "s/tags:.*/tags: ['Operating Systems', 'Linux', 'Container', 'Security']/" './content/os/Docker and OCI Hardening.md'
2022-07-17 02:28:10 -04:00
sed -i '/^tags:.*/a ShowCanonicalLink: true' './content/os/Docker and OCI Hardening.md'
sed -i '/^tags:.*/a canonicalURL: https://wonderfall.dev/docker-hardening/' './content/os/Docker and OCI Hardening.md'
2022-07-17 03:04:46 -04:00
sed -i '/^tags:.*/a author: Wonderfall' './content/os/Docker and OCI Hardening.md'
#Securing OpenSSH with FIDO2
2022-07-17 20:25:06 -04:00
echo "Fetching and Modifying the OpenSSH with FIDO2 Hardening post"
2022-07-17 03:04:46 -04:00
rm -rf './content/os/Securing OpenSSH with FIDO2.md'
curl https://raw.githubusercontent.com/Wonderfall/wonderfall.github.io/main/content/posts/openssh-fido2.md -o './content/os/Securing OpenSSH with FIDO2.md'
sed -i 's/title:.*/title: "Securing OpenSSH with FIDO2"/' './content/os/Securing OpenSSH with FIDO2.md'
sed -i '/draft:.*/d' './content/os/Securing OpenSSH with FIDO2.md'
2022-07-19 01:00:32 -04:00
sed -i "s/tags:.*/tags: ['Operating Systems', 'Linux', 'Security']/" './content/os/Securing OpenSSH with FIDO2.md'
2022-07-17 03:04:46 -04:00
sed -i '/^tags:.*/a ShowCanonicalLink: true' './content/os/Securing OpenSSH with FIDO2.md'
sed -i '/^tags:.*/a canonicalURL: https://wonderfall.dev/openssh-fido2/' './content/os/Securing OpenSSH with FIDO2.md'
2022-07-23 23:42:38 -04:00
sed -i '/^tags:.*/a author: Wonderfall' './content/os/Securing OpenSSH with FIDO2.md'
2022-07-23 04:54:52 -04:00
# Blogs by Rohan Kumar (a.k.a Seirdy) currently need to be manually ported, as he uses a lot of HTML inside of the source instead of just markdown.
2022-08-16 01:40:27 -04:00
# His GitHub repo: https://github.com/Seirdy/seirdy.one
# Blogs by akc3n currently needs to be manually ported, though a script for it can be written later. He is planning to change his website soon, so it is better to wait till then.
# His GitHub repo: https://github.com/akc3n/akc3ndotorg