Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
323 B
1
Indexable
Never
function BruteForceAttack (target) {
  const usernames = ["jsmith", "bob", "doe", "admin"];
  const passwords = ["1234", "password", "5678", "supersecret"];

  for (let i = 0; i < usernames.length; i++) {
    for (let j = 0; j < passwords.length; j++) {
      let username = usernames[i];
      let password = passwords[j];