Analyzation options/features:
- Video URLs
- Comment URLs
- Web UI (under construction)
- Complete comment histories (under construction)
yay -S shadowtube
- Install prerequisites:
- Clone the repository and navigate to the directory:
git clone https://github.com/danehobrecht/shadowtube.git && cd shadowtube
- Create virtual environment:
python -m venv venv && source /venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Configure torrc (optional)
- Launch an instance of Tor Browser
- Execute:
python shadowtube
- Hash a custom control password:
tor --hash-password <password>
- Open
torrc
with elevated privelages:
nano /etc/tor/torrc
- Append the hashed password to
HashedControlPassword
and uncommentControlPort
:
...
## The port on which Tor will listen for local connections from Tor
## controller applications, as documented in control-spec.txt.
ControlPort 9151
## If you enable the controlport, be sure to enable one of these
## authentication methods, to prevent attackers from accessing it.
HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
#CookieAuthentication 1
...
To prevent unauthorized users from accessing tor
, consider adding the following steps:
- Change your SOCKS5 and control ports to a port not commonly used
- Important for users using cookie authentication: Append the following lines to
torrc
SocksPolicy accept 127.0.0.1
SocksPolicy reject *
This step limits connection only to the local loopback address, effectively limiting connections originating from the local machine.
Title: "Portal - 'Still Alive'"
Video URL: https://www.youtube.com/watch?v=Y6ljFaKRTrI
Interrupt (CTRL+C) to conclude the session
[ X ] [ 1 / 8 ] [ N/A ]
[ ✓ ] [ 2 / 8 ] [ United States — 162.247.74.27 ]
[ X ] [ 3 / 8 ] [ N/A ]
[ X ] [ 4 / 8 ] [ Germany — 84.252.122.55 ]
[ ✓ ] [ 5 / 8 ] [ Luxembourg — 104.244.74.159 ]
[ ✓ ] [ 6 / 8 ] [ Iceland — 89.147.109.233 ]
[ X ] [ 7 / 8 ] [ United States — 199.249.230.145 ]
╰──⚠ Throttling
[ ✓ ] [ 8 / 8 ] [ Austria — 109.70.100.6 ]
Status: Questionable
Title: "Me at the zoo"
Comment URL: https://www.youtube.com/watch?v=jNQXAC9IVRw&lc=UgzuC3zzpRZkjc5Qzsd4AaABAg
Interrupt (CTRL+C) to conclude the session
[ ✓ ] [ 1 / 8 ] [ N/A ]
[ ✓ ] [ 2 / 8 ] [ United States — 162.247.74.27 ]
[ ✓ ] [ 3 / 8 ] [ N/A ]
[ ✓ ] [ 4 / 8 ] [ Germany — 84.252.122.55 ]
[ ✓ ] [ 5 / 8 ] [ Luxembourg — 104.244.74.159 ]
[ ✓ ] [ 6 / 8 ] [ Iceland — 89.147.109.233 ]
[ ✓ ] [ 7 / 8 ] [ United States — 199.249.230.145 ]
[ ✓ ] [ 8 / 8 ] [ Austria — 109.70.100.6 ]
Status: Healthy
- Video premieres
- Live streams
- "Discussion", or, "Community" posts
- Geometric unicode characters in titles