Monday, 8 June 2020

51 . Bruteforce attack

#On Monday you created a password : this is the code:

print ('Hello, Its Monday')
print ('create a number-password')
NEWPASS = int(input())
print ('Thank you, bye')
print('')

#On Tuesday hackers entered the system.
#THE AUTOMATIC BRUTEFORCE STARTS HERE.
#Hackers cannot see the above code (The monday password)

import time
print ('Hello, Its Tuesday')

a=0
while NEWPASS != a:
  print ('To enter the system please introduce your password')
  a=a+1
  print (a)
   
print ('Welcome to MI6')