Exploit database

GH-f5ad7c8da5188bbd6851517ea5730a0f

18farchive/10x-dux-vuls-eval

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2019-7164

2 sources

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

Repository files4
18farchive/10x-dux-vuls-evalRevision 4537c9f38181

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

scripts/s3backup.sh

Shell · 578 bytes
#!/usr/bin/env sh

set -e -o pipefail

export AWS_S3_BUCKET=$(echo $VCAP_SERVICES | jq -r .s3[0].credentials.bucket)
export AWS_DEFAULT_REGION=$(echo $VCAP_SERVICES | jq -r .s3[0].credentials.region)
export AWS_ACCESS_KEY_ID=$(echo $VCAP_SERVICES | jq -r .s3[0].credentials.access_key_id)
export AWS_SECRET_ACCESS_KEY=$(echo $VCAP_SERVICES | jq -r .s3[0].credentials.secret_access_key)

echo Backup started at $(date '+%Y%m%d%H%M%S')

pg_dump -F p --no-acl --no-owner $DATABASE_URL | aws s3 cp - s3://${AWS_S3_BUCKET}/backup.sql

echo Backup completed at $(date '+%Y%m%d%H%M%S')