diff options
author | mjfernez <mjf@mjfer.net> | 2023-07-14 13:21:13 -0400 |
---|---|---|
committer | mjfernez <mjf@mjfer.net> | 2023-07-14 13:21:13 -0400 |
commit | 002118777ddf2f81d2894d81bc7fadc64dbbc36f (patch) | |
tree | e7552ee092e4f4601c96d3a1c97de5f066b637ec /tutorials/tor/how-to-host-a-tor-hidden-service.html | |
parent | d96c7cad92b025ad80a8fe64f91d1c215272e313 (diff) | |
download | site-files-002118777ddf2f81d2894d81bc7fadc64dbbc36f.tar.gz |
Add script to update TOC links
With commit 50b72b5787338ee3c0ef0a4aebfcdf8acf3c3a08 in ezcms,
the default behavior for links changes to open in a new tab. This script
helps override the option for table of content links by updating
"target" to point to "_self"
Diffstat (limited to 'tutorials/tor/how-to-host-a-tor-hidden-service.html')
-rw-r--r-- | tutorials/tor/how-to-host-a-tor-hidden-service.html | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/tutorials/tor/how-to-host-a-tor-hidden-service.html b/tutorials/tor/how-to-host-a-tor-hidden-service.html index 79a4e2e..de381e5 100644 --- a/tutorials/tor/how-to-host-a-tor-hidden-service.html +++ b/tutorials/tor/how-to-host-a-tor-hidden-service.html @@ -1,11 +1,11 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang=""> +<html lang="" xml:lang="" xmlns="http://www.w3.org/1999/xhtml"> <head> - <meta charset="utf-8" /> - <meta name="generator" content="pandoc" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> - <title>how-to-host-a-tor-hidden-service</title> - <style> +<meta charset="utf-8"/> +<meta content="pandoc" name="generator"/> +<meta content="width=device-width, initial-scale=1.0, user-scalable=yes" name="viewport"/> +<title>how-to-host-a-tor-hidden-service</title> +<style> html { line-height: 1.5; font-family: Georgia, serif; @@ -159,12 +159,11 @@ <nav id="TOC" role="doc-toc"> <h2 id="toc-title">Contents</h2> <ul> -<li><a -href="#how-to-spin-up-a-temporary-hidden-file-share-with-python">How to +<li><a href="#how-to-spin-up-a-temporary-hidden-file-share-with-python" target="_self">How to spin up a temporary hidden file share with Python</a> <ul> -<li><a href="#configure-tor">Configure Tor</a></li> -<li><a href="#set-up-the-server">Set up the server</a></li> +<li><a href="#configure-tor" target="_self">Configure Tor</a></li> +<li><a href="#set-up-the-server" target="_self">Set up the server</a></li> </ul></li> </ul> </nav> @@ -174,20 +173,17 @@ honestly think Tor is one of the easiest and safest options to set up.</p> <p>Getting a Tor hidden service running is so stupidly easy that it hardly deserves it's own article. Tor's website has a great guide right -<a -href="https://community.torproject.org/onion-services/setup/">here</a>. +<a href="https://community.torproject.org/onion-services/setup/">here</a>. I figured I'd put my own spin on it by showing you show to host a temporary server to share some files with your friends. Please note the word <em>temporary</em> in that last sentence; running this way for a while is insecure and not a good idea. For a permanent solution, you'll -want to host a real web server as explained <a -href="/tutorials/www/how-to-make-this-site.html">here</a>.</p> +want to host a real web server as explained <a href="/tutorials/www/how-to-make-this-site.html">here</a>.</p> <p>Like that article, I will only explain how to do this on Linux since it's way easier and, to be honest, I've never tried to do it on Windows. If you've never used Linux before, buy a Raspberry Pi and follow the basic install guide. If you're strapped for cash, run it in a virtual -machine, or use <a -href="https://docs.microsoft.com/en-us/windows/wsl/install">Windows +machine, or use <a href="https://docs.microsoft.com/en-us/windows/wsl/install">Windows Subsystem for Linux</a>.</p> <h2 id="how-to-spin-up-a-temporary-hidden-file-share-with-python">How to spin up a temporary hidden file share with Python</h2> @@ -244,3 +240,4 @@ through the Tor Browser.</p> good.</p> </body> </html> + |