<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.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" />
<link rel="icon" href="https://data.htscdn.org/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/Dark/Dark.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>
<script type="text/javascript">
(function() {
function async_load(script_url){
var protocol = ('https:' == document.location.protocol ? 'https://' : 'http://');
var s = document.createElement('script'); s.src = protocol + script_url;
var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
}
bm_website_code = '3CBA71AF7B7E4145';
jQuery(document).ready(function(){async_load('asset.pagefair.com/measure.min.js')});
jQuery(document).ready(function(){async_load('asset.pagefair.net/ads.min.js')});
})();
</script>
</head>
<body>
<span id="blank-element" style="display: none"></span>
<div id
="topbar" align
="center"> <a href="https://www.hackthissite.org" id="active">HackThisSite</a> - <a href="irc://irc.hackthissite.org:+7000/">IRC</a> - <a href="https://www.hackthissite.org/forums">Forums</a> - <a href="http://radio.hackthissite.org">Radio</a> - <a href="http://hts.io/x/http://www.cafepress.com/htsstore" target="_new">Store</a> - <a href="http://hts.io" target="_new">URL Shortener</a> --- <a href="http://hts.io/x/https://www.facebook.com/hackthissite" target="_new">Like Us</a> - <a href="http://hts.io/x/https://twitter.com/#!/hackthissite" target="_new">Follow Us</a></div>
<a href="/"><img src="https://data.htscdn.org/themes/Dark/images/header.jpg" alt="Hack This Site" border="0" /></a>
<br />
<a href="https://www.hackthissite.org/sBDG29Xyl75xL78gpl8t3oagesXF3ZpBHpN72wZ02c2hw3MeDHIH033UP9UnDp59cya4QnbvKx2wMDT2D52PGClujUCzI21Q63u" target="_blank"><img src="https://www.hackthissite.org/k3A8300ED148332HOmAtL9DyWCb5h2kk1fo3DmwKovuv54aRGDn1n7cMB5ru8wmldQ32cqtEsoRRHMkqi60U4oJS932nKXsE1oYozRglAZv1BXmnK90cyZfZF006qAwuPN4AwW9NhMqz2yzTk83aM2ycnzMz5II9" alt="Scan Your Website with Netsparker Web Security Scanner" id="atimg" class="abstaimg" title="Scan Your Website with Netsparker Web Security Scanner" border="0" /></a>
<div id
="8951c95109" class
="pagefair-acceptable"></div
><br
/>[<a href
="https://www.hackthissite.org/advertise/">Advertise With HackThisSite.
org</a
>]</div
> <table width="780" border="0" cellpadding="0" cellspacing="0" class="siteheader cmTable">
<tr>
<td class="sitetopheader"><blockquote>"Unless we change direction, we are likely to end up where we are headed. " -- Chinese proverb </blockquote></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width
="160" valign
="top" class
="navbar"><div align
="center"> <br />
<div style
="margin-right: 7px; border: 3px double #555555; background-color: #006600; font-weight: bold"> <img src="https://data.htscdn.org/images/lock.png" style="float: left; margin: 4px 0 0 5px">
You are browsing HackThisSite over SSL
</div>
<br /> <div>Hello, <a href="/user/view/James_k1210/">James_k1210</a><br />
<a href="/user/edit/1959643/">Settings</a> - <a href="/?logout&nce=zL5vjEnePDY0LFKqvdKcRBQXcq13F2beHvKaFZhNF">Logout</a><br /><br />
<a class="nav" href="/user/themes/"> Skin Chooser</a><br /><br />
<a class="nav" href="http://www.hackthissite.org/forums/ucp.php?i=pm">Private Messages</a><br />
<a class="nav" href="/pages/messages/msys/">HTS Messages Center</a><br />
You have 0 new messages.<br />
</div>
<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">Get Informed</h4><ul class="navigation"><li><a class="nav" href="/blogs">Blogs</a></li><li><a class="nav" href="/news">News</a></li><li><a class="nav" href="/pages/articles/article.php">Articles</a></li><li><a class="nav" href="/lectures">Lectures</a></li><li><a class="nav" href="/pages/programs/programs.php">Useful Stuff</a></li><!--<li><a class="nav" href="ebooks">E-books</a></li>--><li><a class="nav" href="http://mirror.hackthissite.org/hackthiszine/">HackThisZine</a></li><li><a class="nav" href=""></a></li></ul><h4 class="header">Get Involved</h4><ul class="navigation"><li><a class="nav" href="/donate"><span class="completed">Donate to HackThisSite!</span></a></li><li><a class="nav" href="http://www.cafepress.com/htsstore">Store</a></li><li><a class="nav" href="/submit/article">Submit Article</a></li><li><a class="nav" href="/pages/bugManagement/index.php">Submit Bug Report</a></li><li><a class="nav" href="/submit/lecture">Submit Lecture</a></li><li><a class="nav" href="/pages/programs/insert.php">Submit Useful Stuff</a></li><!--<li><a class="nav" href="/pages/showsource/loopdeloop.php">We Want You!</a></li>--><li><a class="nav" href=""></a></li></ul><h4 class="header">Communicate</h4><ul class="navigation"><li><a class="nav" href="/forums">Forums</a></li><li><a class="nav" href="https://www.hackthissite.org/forums/ucp.php?i=pm">Private Messages</a></li><li><a class="nav" href="http://www.irc.hackthissite.org/idlerpg">IRC IdleRPG</a></li><li><a class="nav" href="https://www.hackthissite.org/irc/stats.php">IRC Stats</a></li><li><a class="nav" href="http://qdb.hackthissite.org">IRC Quotes</a></li><li><a class="nav" href="/user/search">Search Users</a></li><li><a class="nav" href="/user/gallery">User Pictures</a></li><li><a class="nav" href="/user/online">Who is Online</a></li><li><a class="nav" href="/user/rankings/">Rankings</a></li><li><a class="nav" href="/pages/irc/irc.php">IRC Chat</a></li><li><a class="nav" href="/pages/irc/reference.php">IRC Command Reference</a></li><li><a class="nav" href=""></a></li></ul><h4 class="header">About HTS</h4><ul class="navigation"><li><a class="nav" href="/info/about">About the Project</a></li><li><a class="nav" href="/info/billofrights">Bill of Rights</a></li><li><a class="nav" href="/info/legal">Legal Disclaimer</a></li><li><a class="nav" href="/info/privacy">Privacy Statements</a></li><li><a class="nav" href="/pages/info/staff">Meet the Staff</a></li><li><a class="nav" href="/info/underthehood">Under the Hood</a></li><li><a class="nav" href="/advertise">Advertise with HTS</a></li><li><a class="nav" href="/ipv6">IPv6</a></li><li><a class="nav" href="/hof">Hall of Fame</a></li><li><a class="nav" href=""></a></li></ul><h4 class="header"></h4><ul class="navigation"><li><a class="nav" href=""></a></li></ul>
<br />
<a href="/">
<img
src="https://data.htscdn.org/images/hts_80x15.gif"
width="80"
height="15"
border="0"
alt="" />
</a>
<br />
<a class="nav" href="https://www.hackthissite.org/pages/info/linktous.php">
Link to us!
</a>
<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/ac502446d8392cea778bcdaf8b3e07f8958a0216.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.mavitunasecurity.com/netsparker/">
<img
src="https://data.htscdn.org/images/netsparker.gif"
alt="Mavituna Security Netsparker"
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>
<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="sam@hackthissite.org" /><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/Dark/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, 05 Jul 2014 16:58:38 +0000<br />Web Node: www3 | Page Gen: 0.043s | DB: 16q<br />Current Code Revision: <a href="https://www.hackthissite.org/CHANGELOG">v3.2.3
(Fri, 27 Jun 2014 20:13:10 +0000)</a></sub><br />
</div>
</div>
<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>
<a href="http://hackthissite.org/hp.php" style="display: none;">retired</a><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>
<!--[if !(lt IE 8)]><!-->
<script type="text/javascript">
var tdwfb_config = {greeting: 'Dear HackThisSite User'};
(function(){
var e = document.createElement('script'); e.type='text/javascript'; e.async = true;
e.src = document.location.protocol + '//d1agz031tafz8n.cloudfront.net/thedaywefightback.js/widget.min.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(e, s);
})();
</script>
<!--<![endif]-->
</body>
</html>