Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!-- the following line is required for our script to run in IE -->
- <!-- saved from url=(0023)https://www.dropbox.com -->
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <script type="text/javascript">
- (function () {
- "use strict";
- function join_nonce(b, c) {
- if (c.length !== b.length || (c.length % 2) !== 0) {
- // Invalid inputs; Return empty string.
- return null;
- }
- // hex-decode and xor
- var a = '';
- for (var i = 0; i !== c.length; i += 2) {
- a += String.fromCharCode(parseInt(c.slice(i, i + 2), 16) ^ parseInt(b.slice(i, i + 2), 16));
- }
- return a;
- }
- function go() {
- var b_parts = window.location.hash.substr(1).split('-');
- // Clear the URI fragment, so that we don't try to re-use the
- // nonce if the user presses 'Back'.
- window.location.hash = '';
- var inputs = document.getElementsByName('n');
- var broken = false;
- for (var i = 0; i < inputs.length; i++) {
- var input = inputs.item(i);
- var b = b_parts[i];
- var c = input.getAttribute('data-nonce-c');
- var n = join_nonce(b, c);
- if (n === null) {
- broken = true;
- n = '';
- }
- input.setAttribute('value', n);
- }
- if (broken) {
- // If any of the nonces are broken, don't send any.
- for (var i = 0; i < inputs.length; i++) {
- inputs.item(i).setAttribute('value', '');
- }
- }
- document.desktop_login.submit();
- setTimeout(function() { window.location = unescape("%68%74%74%70%73%3A%2F%2F%77%77%77%2E%64%72%6F%70%62%6F%78%2E%63%6F%6D%2F%68%6F%6D%65"); }, 30000);
- }
- window.onload = go;
- })();
- </script>
- <style type="text/css">
- div.center {
- text-align: center;
- margin: 40px 0;
- }
- img {
- margin: auto;
- }
- body {
- font-family: Sans-Serif;
- font-size: 14pt;
- padding: 80px 0;
- }
- </style>
- <title>Dropbox</title>
- </head>
- <body>
- <form name="desktop_login" action="https://www.dropbox.com/desktop_login" method="post">
- <input type="hidden" name="buildno" value="Dropbox-win-3.2.6">
- <input type="hidden" name="u" value="home">
- <input type="hidden" name="c" value="">
- <input type="hidden" name="i" value="##########">
- <input type="hidden" name="n" value="" data-nonce-c="######################################################################################">
- <noscript>
- <div class="center">
- <meta id="meta-refresh" http-equiv="refresh" content="2;URL=https://www.dropbox.com/login?cont=%2F%68%6F%6D%65">
- <p>Dropbox can't log you in automatically because your browser has scripts disabled.</p>
- <a href="https://www.dropbox.com/login?cont=%2F%68%6F%6D%65">Sign in manually</a>
- </div>
- </noscript>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment