mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-07-02 11:56:40 +00:00
19 lines
1.7 KiB
Bash
19 lines
1.7 KiB
Bash
#!/bin/bash
|
|
# sudo sed -i 's///gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
|
|
#sudo sed -i 's/href="\\index.html">The\ Nihilism\ Blog<\/a>/href="\\index.html">The\ Nihilism\ Opsec\ Blog<\/a>/gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
|
|
|
|
#sudo sed -i 's/<p><u>Contact:<\/u> nihilist@contact.nowhere.moe (<a href="https:\/\/nowhere.moe\/nihilist.pubkey">PGP<\/a>)<\/p>//gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
|
|
|
|
#sudo sed -i 's/blog.nowhere.moe\/rss\/feed.xml/blog.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion\/rss\/feed.xml/gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
|
|
|
|
#sudo sed -i 's/<li><a\ href="https:\/\/blog.nowhere.moe\/donate.html">Donate<\/a><\/li>//gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
|
|
|
|
#sudo sed -i 's/<a target="_blank" rel="noopener noreferrer" href="https:\/\/simplex.chat\/.*">SimpleX Chat<\/a>/<a target="_blank" rel="noopener noreferrer" href="http:\/\/nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion\/simplex.html">SimpleX Chatrooms<\/a>/gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
|
|
|
|
#grep -ri 'https:\/\/simplex.chat\/contact#.*%22%3A%22G3yklv9753AcNA7lGV3FBw%3D%3D%22%7'
|
|
|
|
# adding legal in footer
|
|
# find opsec/ -name '*.html' -print0 | xargs -0 sed -i 's/Until there is Nothing left.<\/p><\/br><\/br><p>Creative Commons Zero/Until there is Nothing left.<\/p><p><a href="..\/..\/..\/..\/opsec\/legal.html">Legal Disclaimer<\/a><\/p><p>Creative Commons Zero/g'
|
|
|
|
sudo sed -i 's/https:\/\/simplex.chat\/contact#.*%22%3A%22G3yklv9753AcNA7lGV3FBw%3D%3D%22%7D/http:\/\/nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion\/simplex.html/gi' *.html */*.html */*/*.html */*/*/*.html */*/*/*/*.html
|
|
|