Skip to content

Commit

Permalink
fixed session pass to remove extra char
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-ev committed Feb 24, 2019
1 parent d1b4bd7 commit d8d97fc
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions core/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,11 @@ module.exports = function({ router }) {
}, 0);
}

dev.log(
'Found session password in meta.txt set to: ' +
sessionMeta.session_password
);

global.session_password = hashCode(
sessionMeta.session_password
);
const pass = sessionMeta.session_password.trim();

dev.log('Found session password in meta.txt set to: ' + pass);

global.session_password = hashCode(pass);
}
portscanner
.findAPortNotInUse(
Expand Down

0 comments on commit d8d97fc

Please sign in to comment.