Exploit databaseDownload repository ZIP
GH-56925af93d15a61c28d503ecfb461a75
seck19/cve-2026-101767-poc
Sources for CVE-2026-101767
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files5
seck19/cve-2026-101767-pocRevision e0933848db1f
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
docker/init_db.sh
Shell · 1,207 bytes#!/bin/bash
# Runs inside the Oracle XE container on first start. gvenzl executes files in
# /container-entrypoint-initdb.d as SYS in the CDB root, so connect explicitly
# as APP_USER into the pluggable database the application uses.
set -euo pipefail
export NLS_DATE_FORMAT='DD-MON-RRRR HH24:MI:SS'
echo "CONTAINER: [tcf-lab] creating schema as ${APP_USER}@XEPDB1"
sqlplus -s "${APP_USER}/${APP_USER_PASSWORD}@//localhost:1521/XEPDB1" @/opt/tcf-lab/sql/01_schema.sql
sqlplus -s "${APP_USER}/${APP_USER_PASSWORD}@//localhost:1521/XEPDB1" @/opt/tcf-lab/sql/02_seed.sql
# Readiness first: the app only needs the schema/seed above. The optional
# Java/APPLPTMP setup below can be slow (or wait on a library-cache lock during
# the first AWR purge), so it must never block the healthcheck.
touch /opt/oracle/oradata/.tcf_schema_ready
echo "CONTAINER: [tcf-lab] schema ready"
mkdir -p /opt/oracle/applptmp
# timeout keeps a stuck first-start DDL from hanging the entrypoint forever;
# re-run manually with ./run.sh java-grants if it is skipped.
timeout 240 sqlplus -s / as sysdba @/opt/tcf-lab/sql/03_java_grants.sql \
|| echo "CONTAINER: [tcf-lab] WARN: Java grants skipped (run ./run.sh java-grants)"