The source code of the server code was given.
It just generates an RSA key and sends us some information:
N, delta, gamma = gen_key()
m = int(FLAG.encode('hex'), 16)
c = powmod(m, 0x10001, N)
print introduction
The source code of the server code was given.
It just generates an RSA key and sends us some information:
N, delta, gamma = gen_key()
m = int(FLAG.encode('hex'), 16)
c = powmod(m, 0x10001, N)
print introduction
#Delete a category | |
@app.route('/catalog/<category_name>/delete/<csrf_token>', methods = ['GET','POST']) | |
def deleteCategory(category_name, csrf_token): | |
# First check the csrf_token: | |
if (csrf_token != login_session['csrf_token']): | |
return redirect('/login') |