Skip to content

Commit

Permalink
extra spoiler and changed default word
Browse files Browse the repository at this point in the history
  • Loading branch information
digininja committed Aug 3, 2018
1 parent e659545 commit fc9212d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion vulnerabilities/javascript/help/help.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="body_padded">
<h1>Help - Cross Site Scripting (DOM Based)</h1>
<h1>Help - Client Side JavaScript</h1>

<div id="code" style="padding: 3px; border: 2px #C0C0C0 solid;>">
<h3>About</h3>
Expand Down Expand Up @@ -30,6 +30,7 @@
The JavaScript has been obfuscated by at least one engine. You are going to need to step through the code to work out what is useful, what is garbage and what is needed to complete the mission.
</p>
<pre>Spoiler: <span class="spoiler">If it helps, two packers have been used, the first is from <a href="https://www.danstools.com/javascript-obfuscate/index.php">Dan's Tools</a> and the second is the <a href="https://javascriptobfuscator.herokuapp.com/">JavaScript Obfuscator Tool</a>.</span></pre>
<pre>Spoiler 2: <span class="spoiler">This deobfuscation tool seems to work the best on this code <a href="http://deobfuscatejavascript.com/">deobfuscate javascript</a>.</span></pre>

<p><br /></p>

Expand Down
2 changes: 1 addition & 1 deletion vulnerabilities/javascript/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<form name="low_js" method="post">
<input type="hidden" name="token" value="" id="token" />
<label for="phrase">Phrase</label> <input type="text" name="phrase" value="success" id="phrase" />
<label for="phrase">Phrase</label> <input type="text" name="phrase" value="ChangeMe" id="phrase" />
<input type="submit" id="send" name="send" value="Submit" />
</form>
EOF;
Expand Down

0 comments on commit fc9212d

Please sign in to comment.