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