exec disp

This commit is contained in:
Ville Rantanen
2020-06-21 08:48:50 +03:00
parent 476296bfa3
commit 2dff648eb3
2 changed files with 4 additions and 4 deletions

View File

@@ -177,7 +177,7 @@ def generate_password_page(path, password_file, password):
def get_target(filename):
splitted = os.path.splitext(filename)
return (
return (
splitted[0],
random_string(),
splitted[1]
@@ -265,7 +265,7 @@ Object.defineProperty(String.prototype, 'hashCode', {
}
});
function scramble(p,t) {
p += t;
p += t;
var sstr = '';
for (var i=0; i < t.length; i++) {
sstr += String.fromCharCode(p.charCodeAt(i) + t.charCodeAt(i));
@@ -334,11 +334,11 @@ function newPass(password, target) {
</div>
</body>
</html>""".replace(
"TARGET_EXT",
"TARGET_EXT",
target_ext,
1
).replace(
"TARGET_BASE",
"TARGET_BASE",
target_base,
1
).replace(