Skip to content

AlexGalhardo/creating-a-brute-force-attack-script-to-find-secret-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Brute force attack script to find secret code using NodeJS Paralelism

script-find-secret-code.mp4

INTRODUCTION

  • It is quite common for systems to use 6-digit secret codes to authenticate users.
  • Delivery usually via email or SMS
  • For example: 435 657

Algorithm

  • In this algorithm, using parallelism, the algorithm uses the 8 available CPUs in parallel here on my machine.
  • I made a logic so that each worker processes an amount of equal numbers.
  • Example: if I have 32 possible numbers to check, each worker will check 4 different numbers, in parallel, at the same time.
  • When one of the workers finds the secret code, it sends a message to the master cluster of the 8 workers to finish the work of all of them.

CONCLUSION

  • I made this algorithm for didactic purposes, and for pure curiosity/technical interest.

About

Script para achar código secreto de segurança

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published