mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
DNET: Remove bonus time effect on authentication and heartbleed speed; fix ram rounding (#2627)
This commit is contained in:
committed by
GitHub
parent
be6fcd206f
commit
00a1bc2f6e
@@ -210,7 +210,7 @@ export const getTimingAttackConfig = (difficulty: number): ServerConfig => {
|
||||
"I spent some time on it, but that's not the password",
|
||||
];
|
||||
const alphanumeric = difficulty > 16 && Math.random() < 0.3;
|
||||
const length = (alphanumeric ? 0 : 3) + difficulty / 4;
|
||||
const length = Math.min((alphanumeric ? 0 : 3) + difficulty / 4, 8);
|
||||
return {
|
||||
modelId: ModelIds.TimingAttack,
|
||||
password: getPassword(length, alphanumeric),
|
||||
|
||||
Reference in New Issue
Block a user