Created
February 27, 2024 14:31
-
-
Save W01fh4cker/2b570b1d0df40aa94808184c231d7ecb to your computer and use it in GitHub Desktop.
CVE-2024-23334
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from aiohttp import web | |
async def index(request): | |
return web.Response(text="Hello, World!") | |
app = web.Application() | |
app.router.add_routes([ | |
web.static("/static", "static/", follow_symlinks=True), | |
]) | |
app.router.add_get('/', index) | |
if __name__ == '__main__': | |
web.run_app(app, host='127.0.0.1', port=8080) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment