Exploit database

GH-3f2f1dfa083fb13cb008c47db8f2910d

mogwailabs/cve-2023-32692-codeigniter4

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-32692

1 source

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

Repository files3

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

.devcontainer/local-features/apache-config/install.sh

Shell · 992 bytes
#!/usr/bin/env bash
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

USERNAME="vscode"

set -e

if [ "$(id -u)" -ne 0 ]; then
    echo -e 'Script must be run as root. Use sudo, su, or add "USER root" to your Dockerfile before running this script.'
    exit 1
fi

# Install needed packages and setup non-root user. Use a separate RUN statement to add your own dependencies.
export DEBIAN_FRONTEND=noninteractive

apt-get update && apt-get -y install --no-install-recommends lynx
usermod -aG www-data ${USERNAME}
sed -i -e "s/Listen 80/Listen 80\\nListen 8080/g" /etc/apache2/ports.conf
apt-get clean -y && rm -rf /var/lib/apt/lists/*

echo "Done!"