Sam
Sam
Sam
0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Hack This Site!</title>
<meta name="verify-v1" content="s/YXn7eQrMBoF9PL5jLJDiWpAxEXpJzE9JLg/zM4C2Y=" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="HackThisSite.org Crew." />
<meta name="description" content="HackThisSite! is a legal and safe network
security resource where users test their hacking skills on various challenges and
learn about hacking and network security. Also provided are articles, comprehensive
and active forums, and guides and tutorials. Learn how to hack!" />
<meta name="keywords" content="challenge, computer, culture, deface, digital,
ethics, games, guide, hack, hack forums, hacker, hackers, hacking, hacking
challenges, hacking forums, mission, net, programming, radical, revolution, root,
rooting, security, site, society, tutorial, tutorials, war, wargame, wargames, web,
website" />
<meta property="og:title" content="Hack This Site" />
<meta property="og:description" content="A legal and safe web application
security educational resource." />
<meta property="og:image"
content="https://data.htscdn.org/themes/Dark/images/training.jpg" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="https://data.htscdn.org/favicon.ico"
type="image/x-icon" />
<link href="https://data.htscdn.org/themes/Default/Default.css" rel="stylesheet"
type="text/css" />
<link href="https://www.hackthissite.org/pages/hts.rss.php" rel="alternate"
type="application/rss+xml" title="HTS RSS feed" />
<base href="https://www.hackthissite.org" />
<script type="text/javascript" src="https://data.htscdn.org/js/jquery-
1.8.1.min.js"></script>
</head>
<body>
<h4 class="header">Donate</h4>
<p>
<a href="https://www.hackthissite.org/donate/">
<img
src="https://data.htscdn.org/images/donate.png"
border="0"
title="Donate to HackThisSite.org"
alt="Donate to HackThisSite.org" />
</a>
<br />
HTS costs up to $300 a month to operate. We <strong>need</strong> your help!
</p>
<h4 class="header">Challenges</h4>
<ul class="navigation">
<li><a class="nav" href="/missions/basic/">Basic missions</a></li><li><a
class="nav" href="/missions/realistic/">Realistic missions</a></li><li><a
class="nav" href="/missions/application/">Application missions</a></li><li><a
class="nav" href="/missions/programming/">Programming missions</a></li><li><a
class="nav" href="/missions/phonephreaking/">Phonephreaking missions</a></li><li><a
class="nav" href="/missions/javascript/">Javascript missions</a></li><li><a
class="nav" href="/missions/forensic/">Forensic missions</a></li><li><a class="nav"
href="/missions/playit/extbasic/0/">Extbasic missions</a></li><li><a class="nav"
href="/missions/playit/stego/0/">Stego missions</a></li><li><a class="nav"
href="irc://irc.hackthissite.org/htb">Irc missions</a></li></ul>
<h4 class="header">
Partners
</h4>
<br />
<a target="_new"
href="http://hts.io/x/http://affiliates.mozilla.org/link/banner/8528">
<img
src="//affiliates.mozilla.org/media/uploads/banners/ac502446d8392cea778bcdaf8b3e07f
8958a0216.png"
alt="Download Firefox"
width="88" />
</a>
<br />
<a class="nav" target="_new" href="http://hts.io/x/http://www.hackbloc.org/">
<img src="https://data.htscdn.org/images/linkhb.gif" border="0" alt="Hackbloc"
width="88" height="31" />
</a>
<br />
<a class="nav" target="_new"
href="http://hts.io/x/http://www.hellboundhackers.org/">
<img
src="https://data.htscdn.org/images/hbhlogo.jpg"
width="88"
height="31"
border="0"
alt="Hellbound Hackers" />
</a>
<br />
<a class="nav" target="_new"
href="http://hts.io/x/https://www.netsparker.com/blog">
<img
src="https://data.htscdn.org/images/netsparker.gif"
alt="Netsparker Security Blog"
width="88"
height="31"
border="0" />
</a>
<br />
<a class="nav" target="_new" href="http://hts.io/x/http://www.acunetix.com/blog">
<img
src="https://data.htscdn.org/images/acunetixblog.gif"
alt="Acunetix Security Blog"
width="88"
height="31"
border="0" />
</a>
<br />
<a class="nav" target="_new" href="http://hts.io/x/http://www.buddyns.com">
<img
src="https://data.htscdn.org/images/buddyns88x31.png"
alt="BuddyNS Secondary DNS"
width="88"
height="31"
border="0" />
</a>
<br />
</td>
<td valign="top" class="sitebuffer">
<br />
<br /><center>
<center><div style="width:80%"><div class="dark-td"><h2>Notice</h2></div><div
class="light-td">You have already completed this level.<br /></div></div></center>
<br /><center><b>Level 4</b></center><br /><br />This time Sam hardcoded the
password into the script. However, the password is long and complex, and Sam is
often forgetful. So he wrote a script that would email his password to him
automatically in case he forgot. Here is the script:<br /><br /><center>
<form action="/missions/basic/4/level4.php" method="post">
<input type="hidden" name="to" value="mansbestwalrus@gmail.com" /><input
type="submit" value="Send password to Sam" /></form></center><br /><br
/><center><b>Password:</b><br />
<form action="/missions/basic/4/index.php" method="post">
<input type="password" name="password" /><br /><br />
<input type="submit" value="submit" /></form>
</td>
</tr>
</table></td>
</tr>
<tr>
<td class="sitebottomheader"><img
src="https://data.htscdn.org/themes/Default/images/hts_bottomheadern.jpg" alt="End
Footer" width="780" height="60" /></td>
</tr>
</table>
<br />
<div align="center" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-
size:10px; color:#CCCCCC">HackThisSite is is the collective work of the
HackThisSite staff, licensed under a <a rel="license"
href="http://hts.io/x/http://creativecommons.org/licenses/by-nc/3.0/"
target="_new">CC BY-NC</a> license.<br />
We ask that you inform us upon sharing or distributing.<br /><br />
<sub>Page Generated: Sat, 17 Jun 2017 19:37:37 +0000<br />Web Node: www1 | Page
Gen: 0.039s | DB: 15q<br />Current Code Revision: <a
href="https://www.hackthissite.org/CHANGELOG">v3.2.5
(Sun, 22 May 2016 20:29:51 +0000)</a></sub><br />
</div>
</div>
<div align="center">
<p>
<a target="_new" href="http://hts.io/x/http://creativecommons.org/licenses/by-
nc/3.0/"><img src="https://data.htscdn.org/images/cc_80x15.png" width="80"
height="15" border="0" alt="" /></a>
<a target="_new" href="http://hts.io/x/http://validator.w3.org/check?
uri=referer"><img src="https://data.htscdn.org/images/xhtml10.png" width="80"
height="15" border="0" alt="" /></a>
<a target="_new" href="http://hts.io/x/http://jigsaw.w3.org/css-
validator/check/referer"><img src="https://data.htscdn.org/images/css.png"
width="80" height="15" border="0" alt="" /></a>
<a target="_new" href="http://hts.io/x/http://www.php.net/"> <img
src="https://data.htscdn.org/images/phppow.gif" width="80" height="15" border="0"
alt="" /></a>
<!--<a href="http://www.linux.com/"> <img src="../../images/linux2.gif"
width="80" height="15" border="0" alt="" /></a>-->
<a target="_new" href="http://hts.io/x/http://www.freebsd.org/"> <img
src="https://data.htscdn.org/images/freebsd.png" width="80" height="15" border="0"
alt="" /></a>
<img src="https://data.htscdn.org/images/counter.php" height="14" border="0"
alt="Page View Counter" />
</p>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
"http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js'
type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-2391176-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>