CodeIgniter Templates

Posted by on Jun 25, 2012 in Coding |

I’ve seen several people ask about CodeIgniter and templates to avoid a lot of copy code. Unfortunately they do not have a template library but this can be easily overcome. In the view I like to create an includes folder that contains my main template file, the header file and the footer file: within the header you write all the nesacarry code such as the doctype, head and even parts of the body that are generic just...

Read More

HTS Realistic Level 10

Posted by on Oct 16, 2008 in Hack This Site Realistic |

Holy Word High School There are a lot of things going on with this mission and if you have been following my other tutorials you should be all set understanding how to accomplish this mission. It seems Zach is having an issue with his grades at school and has asked us to help him change them. The very first thing we do (and I have been saying this since basic 1) is explore each page and view the source of each page. When I did this I notice that...

Read More

HTS JavaScript Level 6

Posted by on Sep 3, 2008 in Hack This Site JavaScript |

Javascript 6 – go go away .js now you see it..umm…wait… I wouldn’t classify this script as weird but dumb. Let’s take a look: JavaScript <script type="text/javascript" src="http://hackthissite.org/missions/javascript/6/checkpass"></script> <script language="javascript"> RawrRawr = "moo"; function check(x) { "+RawrRawr+" == "hack_this_site" ...

Read More

HTS JavaScript Level 5

Posted by on Sep 3, 2008 in Hack This Site JavaScript |

Javascript 5 – Escape Did… she say runescape? JavaScript moo = unescape('%69%6C%6F%76%65%6D%6F%6F'); function check (x) { if (x == moo) { alert("Ahh.. so that's what she means"); window.location = "../../../missions/javascript/5/?lvl_password="+x; } else { alert("Nope... try again!"); } } 123456789101112

Read More

HTS JavaScript Level 4

Posted by on Sep 3, 2008 in Hack This Site JavaScript |

Javascript 4 – Var? But that’s what it said! Right? JavaScript function check(x) { "+RawrRawr+" == "hack_this_site" if (x == ""+RawrRawr+"") { alert("Rawr! win!"); window.location = "../../../missions/javascript/4/?lvl_password="+x; } else { alert("Rawr, nope, try again!"); } } 1234567891011 function...

Read More

HTS JavaScript Level 3

Posted by on Sep 3, 2008 in Hack This Site JavaScript |

Javascript 3 – Math Time Faith is going to test your math skills and your javascript operations JavaScript var foo = 5 + 6 * 7 var bar = foo % 8 var moo = bar * 2 var rar = moo / 3 function check(x) { if (x.length == moo) { alert("win!"); window.location += "?lvl_password="+x; } else { alert("fail D:"); ...

Read More