INNER CODE UNIT · Python
public_key
The-Art-of-Hacking/websploit · additional-labs/token-tower/app.py:707
def public_key():
"""Expose public key - needed for algorithm confusion attacks"""
return render_template_string("""
<!DOCTYPE html>
<html>
<head><title>Public Key - Token Tower</title>""" + BASE_STYLE + """</head>
<body>
<div class="container">
<div class="header">
<h1>🔑 Public Key</h1>
<p class="subtitle">RSA Public Key for RS256 Verification</p>
</div>
<div class="nav">
<a href="/">🏠 Home</a>
<a href="/login">🔐 Login</a>
<a href="/dashboard">📊 Dashboard</a>
</div>