This shows you the differences between two versions of the page.
isc:labs:11 [2024/01/08 13:27] florin.stancu |
isc:labs:11 [2024/12/17 10:25] (current) florin.stancu [00 [0p]. Users] |
||
---|---|---|---|
Line 16: | Line 16: | ||
sudo useradd -m -s /bin/bash blue | sudo useradd -m -s /bin/bash blue | ||
</code> | </code> | ||
+ | |||
+ | <note tip> | ||
+ | Pentru ca generarea de chei să meargă bine, trebuie instalat un serviciu de entropie suplimentară pentru RNG în VM: <code> | ||
+ | sudo apt-get install rng-tools | ||
+ | sudo systemctl status rng-tools # e pornit => TOTUL OK | ||
+ | </code> | ||
+ | </note> | ||
==== 01 [50p]. Pretty Good Privacy==== | ==== 01 [50p]. Pretty Good Privacy==== | ||
Line 195: | Line 202: | ||
sudo apt install tor | sudo apt install tor | ||
</code> | </code> | ||
- | * Enable SOCKS proxy by editing /etc/torrc and uncommenting ''SOCKSPort 9050'' ;) | + | * Enable SOCKS proxy by editing /etc/tor/torrc and uncommenting ''SOCKSPort 9050'' ;) |
<note> Tor only supports TCP traffic, some make sure your DNS queries are done over TCP.</note> | <note> Tor only supports TCP traffic, some make sure your DNS queries are done over TCP.</note> | ||
<hidden> | <hidden> | ||
Line 227: | Line 234: | ||
</code> | </code> | ||
* Next, change the **Firefox** Network Settings to use Socks5 proxy using the IP address and port from your VM. You can verify that your browser is using Tor by accessing the following [[https://check.torproject.org/|website]]. | * Next, change the **Firefox** Network Settings to use Socks5 proxy using the IP address and port from your VM. You can verify that your browser is using Tor by accessing the following [[https://check.torproject.org/|website]]. | ||
+ | * **Finally, fetch the flag from ''%%http://6mirq5p7welrf44rptugei55cv26qqwmpqluafehnpfv7jqgyu3pbeyd.onion%%'' ;) ** | ||
<hidden> | <hidden> | ||
[[https://1.bp.blogspot.com/-b-MahPstRzA/WvgwatvGq5I/AAAAAAAAQiA/e1rJp8RGKU08O-tV5W0oUA9kDGY5tEq5gCLcBGAs/s1600/proxy.png|Firefox Settings]] | [[https://1.bp.blogspot.com/-b-MahPstRzA/WvgwatvGq5I/AAAAAAAAQiA/e1rJp8RGKU08O-tV5W0oUA9kDGY5tEq5gCLcBGAs/s1600/proxy.png|Firefox Settings]] | ||
</hidden> | </hidden> | ||
+ | |||
==== 03. [10p] Feedback ==== | ==== 03. [10p] Feedback ==== |