403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.10
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/bsd-crawler-parser/viewer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bsd-crawler-parser/viewer/run.sh
#!/usr/bin/env bash
# Starts the viewer on http://127.0.0.1:8765 (local only).
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"

PY="../.venv/bin/python"
[[ -x "$PY" ]] || PY="$(command -v python3)"

if ! "$PY" -c "import flask" >/dev/null 2>&1; then
  echo "[+] installing dependencies (one time)..."
  "$PY" -m pip install -q -r requirements.txt
fi

if [[ ! -f .env ]]; then
  echo "No .env found. Creating one from .env.example..."
  cp .env.example .env
  echo
  echo "  >> Edit viewer/.env and set VIEWER_USER / VIEWER_PASSWORD, then re-run."
  exit 1
fi

exec "$PY" app.py

Youez - 2016 - github.com/yon3zu
LinuXploit