Differences

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

Link to this comparison view

isc:labs:08 [2025/11/24 11:07]
florin.stancu [Preparation]
isc:labs:08 [2025/11/24 12:18] (current)
florin.stancu
Line 274: Line 274:
   - If successful, send a broadcast message to your colleague’s system <​code>​hacker@<​colleague-VM>​$ wall "​Wazzaap?"​ </​code>​   - If successful, send a broadcast message to your colleague’s system <​code>​hacker@<​colleague-VM>​$ wall "​Wazzaap?"​ </​code>​
 </​note> ​ </​note> ​
 +
 +<note warning>
 +Unfortunately,​ ''​wall''​ [[https://​sources.debian.org/​src/​util-linux/​2.41-5/​debian/​NEWS#​L1-L9|was removed from modern Debian systems]] :(( 
 +But we gave ''​hacker''​ write permissions to all ''​tty'',​ so we could do this instead: <​code>​
 +# check for the TTY's address
 +who  # usually, the first one is the owner of the VM, coming from FEP
 +# then write your message!
 +echo "​Wazzaaa"​ | tee /dev/pts/0
 +</​code>​
 +</​note>​
  
 <​solution -hidden> <​solution -hidden>
Line 280: Line 290:
 curl http://<​colleague-VM-IP>​ curl http://<​colleague-VM-IP>​
 ssh hacker@<​colleague-VM-IP>​ ssh hacker@<​colleague-VM-IP>​
-wall "Wazzaap?"+echo "wazzzaaaaap" ​| tee /dev/pts/0
 </​code>​ </​code>​
 </​solution>​ </​solution>​
isc/labs/08.1763975241.txt.gz · Last modified: 2025/11/24 11:07 (external edit)
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