Exploit databaseDownload repository ZIP
GH-70a849c65b9422bb1260b16f423a82c0
mkway/cve-2025-57833
Sources for CVE-2025-57833
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files23
mkway/cve-2025-57833Revision 7e371fe85640
- document/
- local_attacks/
- templates/
- vuln_app/
- .gitignore
- CVE-2025-57833.md
- DOCKER_README.md
- Dockerfile
- README.md
- docker-compose.pgadmin.yml
- docker-compose.simple.yml
- docker-compose.yml
- entrypoint.sh
- exploit_test.py
- init_db.sql
- manage.py
- models.py
- requirements.txt
- run_test.py
- settings.py
- setup_postgresql.sh
- test_sqli.py
- urls.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
setup_postgresql.sh
Shell · 1,570 bytes#!/bin/bash
echo "Django SQL Injection Test Environment Setup"
echo "=========================================="
# PostgreSQL 설치 및 설정
echo "[+] Setting up PostgreSQL..."
# WSL/Ubuntu에서 PostgreSQL 설치
if command -v apt &> /dev/null; then
sudo apt update
sudo apt install -y postgresql postgresql-contrib python3-pip
# PostgreSQL 서비스 시작
sudo service postgresql start
# 데이터베이스 및 사용자 생성
sudo -u postgres psql -c "CREATE DATABASE django_sqli_test;"
sudo -u postgres psql -c "CREATE USER postgres WITH ENCRYPTED PASSWORD 'password';"
sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE django_sqli_test TO postgres;"
sudo -u postgres psql -c "ALTER USER postgres CREATEDB;"
echo "[+] PostgreSQL setup completed!"
elif command -v brew &> /dev/null; then
# macOS Homebrew
brew install postgresql
brew services start postgresql
createdb django_sqli_test
else
echo "[!] Please install PostgreSQL manually:"
echo " - Ubuntu/Debian: sudo apt install postgresql postgresql-contrib"
echo " - macOS: brew install postgresql"
echo " - CentOS/RHEL: sudo yum install postgresql-server"
fi
# Python 의존성 설치
echo "[+] Installing Python dependencies..."
pip3 install -r requirements.txt
echo "[+] Setup completed!"
echo ""
echo "Alternative SQLite setup:"
echo "If PostgreSQL setup fails, the script will automatically use SQLite in-memory database."
echo ""
echo "To run the test:"
echo " python3 run_test.py"