daily pastebin goal
63%
SHARE
TWEET

Ha4-B2

easklund Dec 11th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for y in range(20):
  2.         bestTime = 0
  3.         for i in range(16):
  4.             temp = signString + intToHex(i)
  5.             payload={'name' : name, 'grade': grade,  'signature': temp}
  6.             r = requests.get('https://eitn41.eit.lth.se:3119/ha4/addgrade.php', params=payload, verify = False)
  7.             time = r.elapsed.total_seconds()
  8.             if time > bestTime:
  9.                 bestTime = time
  10.                 foundRightChar[y] = intToHex(i)
  11.         signString = signString + foundRightChar[y]
  12.     signature = signString
RAW Paste Data
Top