Basic Mission 7
This mission requires basic knowledge of linux shell commands and operators. The command “ls” lists the contents of a directory, while the semicolon (“;”) character ends one command without requiring a newline / RET.
You need to end the “cal” command and run ls. Enter “; ls” without quotes into the box you are supposed to enter the date. you’ll see this interesting output:
1 2 3 4 5 6 7 |
<table class="alignleft" border="1" cellspacing="0" cellpadding="0"> <tbody> <tr> <td valign="top" width="638"><b> </b> <b> February 2012</b> <b>Mon Tue Wed Thu Fri Sat Sun</b> <b> 1 2 3 4 5</b> <b> 6 7 8 9 10 11 12</b> <b> 13 14 15 16 17 18 19</b> <b> 20 21 22 23 24 25 26</b> <b> 27 28 29</b> <b>.</b> <b>..</b> <b>cal.pl</b> <b>index.php</b> <b>k1kh31b1n55h.php</b> <b>level7.php</b></td> </tr> </tbody> </table> |
Now head to http://www.hackthissite.org/missions/basic/7/k1kh31b1n55h.php. Do you have any better solution? Do not forget to push your code to the comment section.
Pingback: HTS Basic Missions 1-6 | Hack This Site Solutions