Differences

This shows you the differences between two versions of the page.

Link to this comparison view

isc:labs:11 [2024/12/17 10:25]
florin.stancu [00 [0p]. Users]
isc:labs:11 [2026/01/12 10:52] (current)
florin.stancu [00 [0p]. Users]
Line 15: Line 15:
 sudo useradd -m -s /bin/bash green  sudo useradd -m -s /bin/bash green 
 sudo useradd -m -s /bin/bash blue  sudo useradd -m -s /bin/bash blue 
 +sudo passwd red  # enter a password, e.g. `student`
 +# same for green / blue
 </​code>​ </​code>​
 +
 +Then, create ''/​etc/​ssh/​sshd_config.d/​50-gpgusers.conf''​ (don't forget ''​sudo''​ ;) ) and put:
 +<​code>​
 +Match User "​red"​
 + PasswordAuthentication yes
 +Match User "​green"​
 + PasswordAuthentication yes
 +Match User "​blue"​
 + PasswordAuthentication yes
 +</​code>​
 +
 +Finally, ''​sudo systemctl restart sshd''​.
  
 <note tip> <note tip>
Line 234: Line 248:
 </​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%%''​ ;) **+  * **Finally, fetch the flag from ''​%%http://​jboz2mtnvytpauuaprk43rvfudlycd5hkcxfqpnmplpursqlxuotn4ad.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]]
isc/labs/11.1734423919.txt.gz ยท Last modified: 2024/12/17 10:25 by florin.stancu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0