Exploit database

GH-8cc390d94cecbc2835622f16ae3b808a

lnwza0x0a/ctf_django_cve-2022-34265

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-34265

9 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files6
lnwza0x0a/ctf_django_cve-2022-34265Revision 22419d397b71

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

app/urls.py

Python · 862 bytes
"""app URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from lab import views

urlpatterns = [
    path('admin/', admin.site.urls),
    path('',views.index,name="home"),
    path('extract/', views.vuln_extract, name='extract')
]