Skip to content

Commit

Permalink
Merge branch 'main' of github.com:dbarzin/pandora-box
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Jan 19, 2024
2 parents 895b62c + d23e949 commit 0eb462e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ CORE i5 - 4G RAM - 30G disk
Installation
------------

Install Ubuntu 22.04 server LTS
Install [Ubuntu 22.04 server LTS](https://ubuntu.com/download/server)

select (x) Ubuntu Server (minimized)
during the installation, select (x) Ubuntu Server (minimized)

Choose to "install OpenSSH server"

Expand Down
10 changes: 4 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,8 @@ 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

# Remove unused workers
su rm pandora/workers/msodde*
su rm pandora/workers/odf*
su rm pandora/workers/qrcode*

# Update Pandora
su - $SUDO_USER -c 'cd pandora; ../.local/bin/poetry run update --yes'
su - $SUDO_USER -c '~/.local/bin/poetry run update --yes'

# Remove unused workers
su - $SUDO_USER -c "rm ~/pandora/pandora/workers/blocklists.*"
Expand All @@ -157,6 +152,9 @@ su - $SUDO_USER -c "rm ~/pandora/pandora/workers/ole.*"
su - $SUDO_USER -c "rm ~/pandora/pandora/workers/preview.*"
su - $SUDO_USER -c "rm ~/pandora/pandora/workers/virustotal.*"
su - $SUDO_USER -c "rm ~/pandora/pandora/workers/xml*"
su - $SUDO_USER -c 'rm ~/pandora/pandora/workers/msodde*'
su - $SUDO_USER -c 'rm ~/pandora/pandora/workers/odf*'
su - $SUDO_USER -c 'rm ~/pandora/pandora/workers/qrcode*'

# Remove files from quarantine after 180 days
{ crontab -l -u $SUDO_USER; echo '0 * * * * find /var/quarantine/* -type f -mtime +180 -delete '; } | crontab -u $SUDO_USER -
Expand Down

0 comments on commit 0eb462e

Please sign in to comment.