Skip to content

Instantly share code, notes, and snippets.

@W01fh4cker
Created February 27, 2024 14:31
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save W01fh4cker/2b570b1d0df40aa94808184c231d7ecb to your computer and use it in GitHub Desktop.
Save W01fh4cker/2b570b1d0df40aa94808184c231d7ecb to your computer and use it in GitHub Desktop.
CVE-2024-23334
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