Jump to content
Welcome, welcome! Come in and register, and have some developer coffee. πŸ‘¨β€πŸ’» Γ—

Time in your hands Challenge

Recommended Posts

You found login source code of the bank on the dark web.You test the administrator password on bank site, but it already changes.How can you exploit this system?


  1. What is the problem of this code?
  2. What kind of attack is used?
  3. how you retrieve real password and know its length?

1.Show your PoC.

2.Deploy the script using socat/ncat and assume it from target server.As an outsider, you need to exploit this.”make sure you put random password with length 11 to emulate the exploit without putting directly the password”

3.No wordlist needed.

Leak source code below.

import sys
import time

password='timeisyours' #password already changes
if(len(sys.argv) < 2):
    print('python3 vulnerable.py password')

pass_input = sys.argv[1]

if((len(pass_input) <= 10) or (len(pass_input)>len(password))):
    print('Wrong password')

if(len(pass_input) > 10):
    counter = 0
    for i in range(11):
        if(password[i] == pass_input[i]):
            counter +=1

    if(counter == len(password)):
        print('Successfully login!')
        print('Wrong password')


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...