From 42aed2c689ba4e8ffec0fcf11c0feaf5ceab2957 Mon Sep 17 00:00:00 2001 From: Didier Barzin Date: Sun, 21 Jan 2024 19:09:56 +0100 Subject: [PATCH 1/6] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 0deb9a6..c1bdb45 100755 --- a/install.sh +++ b/install.sh @@ -139,7 +139,7 @@ dpkg --ignore-depends=libssl0.9.8 -i cav-linux_x64.deb wget http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav -O /opt/COMODO/scanners/bases.cav # Update Pandora -su - $SUDO_USER -c '~/.local/bin/poetry run update --yes' +su - $SUDO_USER -c "cd ~/pandora; poetry run update --yes" # Remove unused workers su - $SUDO_USER -c "rm ~/pandora/pandora/workers/blocklists.*" From 58e1dfcd8e1163e0c42afd068185c5111cccac33 Mon Sep 17 00:00:00 2001 From: Didier Barzin Date: Sun, 21 Jan 2024 20:14:02 +0100 Subject: [PATCH 2/6] Remove sudo from script --- install.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index c1bdb45..6fb9659 100755 --- a/install.sh +++ b/install.sh @@ -64,8 +64,8 @@ chown -R $SUDO_USER redis #--------------------- # Kvrocks #--------------------- -sudo apt-get update -sudo apt install -y git gcc g++ make cmake autoconf automake libtool python3 libssl-dev +apt-get update +apt install -y git gcc g++ make cmake autoconf automake libtool python3 libssl-dev if [ -d "kvrocks" ]; then @@ -93,14 +93,14 @@ fi apt-get install --fix-broken -y # install packages -sudo apt install -y python3-dev # for compiling things -sudo apt install -y libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 # For HTML -> PDF -sudo apt install -y libreoffice-nogui # For Office -> PDF -sudo apt install -y exiftool # for extracting exif information -sudo apt install -y unrar # for extracting rar files -sudo apt install -y libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocr flac ffmpeg lame libmad0 libsox-fmt-mp3 sox libjpeg-dev swig # for textract -sudo apt install -y libssl-dev # seems required for yara-python -sudo apt install -y libcairo2-dev # Required by reportlab +apt install -y python3-dev # for compiling things +apt install -y libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 # For HTML -> PDF +apt install -y libreoffice-nogui # For Office -> PDF +apt install -y exiftool # for extracting exif information +apt install -y unrar # for extracting rar files +apt install -y libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocr flac ffmpeg lame libmad0 libsox-fmt-mp3 sox libjpeg-dev swig # for textract +apt install -y libssl-dev # seems required for yara-python +apt install -y libcairo2-dev # Required by reportlab apt install -y rsyslog cron # log logging From f8a22a34d93b34e4886da9bff002bd6be2f2076c Mon Sep 17 00:00:00 2001 From: Didier Barzin Date: Sun, 21 Jan 2024 22:59:19 +0100 Subject: [PATCH 3/6] Remove sudo --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6fb9659..8910f79 100755 --- a/install.sh +++ b/install.sh @@ -210,7 +210,7 @@ usermod -a -G tty $SUDO_USER usermod -a -G syslog $SUDO_USER # logrotate -sudo apt install logrotate +apt install logrotate echo "/var/log/pandora-box.log {" > /etc/logrotate.d/pandora-box echo " rotate 12" >> /etc/logrotate.d/pandora-box echo " monthly" >> /etc/logrotate.d/pandora-box From c309d6d2d4fbadbbfb8c4486a445fd91b358c256 Mon Sep 17 00:00:00 2001 From: Didier Barzin Date: Tue, 21 May 2024 13:12:44 +0200 Subject: [PATCH 4/6] Update INSTALL.md Fix default user --- INSTALL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 88a2957..051c7c3 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -15,6 +15,8 @@ during the installation, select (x) Ubuntu Server (minimized) Choose to "install OpenSSH server" +Create an intial user call *pandora* + That's all, no other packages needed After reboot, login with the user created during the install and type : From b9cac1eb9d0587e195f8e39503d50048f1eea931 Mon Sep 17 00:00:00 2001 From: Didier Barzin Date: Tue, 21 May 2024 13:20:21 +0200 Subject: [PATCH 5/6] Update INSTALL.md --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 051c7c3..6edd479 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -15,7 +15,7 @@ during the installation, select (x) Ubuntu Server (minimized) Choose to "install OpenSSH server" -Create an intial user call *pandora* +Create an intial user called *pandora* That's all, no other packages needed From 593b1377b4f73f11d70bdb3a8cc31d9ccbb58df6 Mon Sep 17 00:00:00 2001 From: Didier Barzin Date: Tue, 21 May 2024 13:20:55 +0200 Subject: [PATCH 6/6] Update INSTALL.md --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 6edd479..56c7e6e 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -19,7 +19,7 @@ Create an intial user called *pandora* That's all, no other packages needed -After reboot, login with the user created during the install and type : +After reboot, login with the user *pandora* created during the install and type : sudo apt install -y git git clone https://github.com/dbarzin/pandora-box