1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-18 12:59:40 +02:00
This commit is contained in:
dbarzin 2023-03-04 21:48:48 +01:00
parent edcf2979b8
commit 86cf18bb5c
6 changed files with 12 additions and 13 deletions

View file

@ -53,6 +53,9 @@ You can configure Pandora-box in the _pandora-box.ini_ file :
; Set quarantine folder
QUARANTINE_FOLDER = /var/quarantine
; Number of threads
THREADS = 24
## Logging
Open the rsyslog config file located at /etc/rsyslog.conf:
@ -129,5 +132,3 @@ Look a the Pandora logs files
Look a the Pandora-box logs files
tail -500f /var/log/pandora-box.log

View file

@ -19,5 +19,5 @@ QUARANTINE = True
; Set quarantine folder
QUARANTINE_FOLDER = /var/quarantine
; Maximum number of threads
THREADS = 2
; Number of threads
THREADS = 24

View file

@ -19,5 +19,5 @@ QUARANTINE = True
; Set quarantine folder
QUARANTINE_FOLDER = /var/quarantine
; Maximum number of threads
THREADS = 4
; Number of threads
THREADS = 24

View file

@ -19,5 +19,5 @@ QUARANTINE = True
; Set quarantine folder
QUARANTINE_FOLDER = /var/quarantine
; Maximum number of threads
; Number of threads
THREADS = 1

View file

@ -19,5 +19,5 @@ QUARANTINE = True
; Set quarantine folder
QUARANTINE_FOLDER = /var/quarantine
; Maximum number of threads
THREADS = 4
; Number of threads
THREADS = 24

View file

@ -716,14 +716,12 @@ def clean():
break
# wait for clean
log('PRESS KEY TO CLEAN', flush=True)
screen.getch()
wait_mouse_click()
# check key is still here
try:
os.statvfs(mount_point)
log(f'{str(device.get("ID_FS_LABEL"))}', flush=True)
except Exception:
log("Device not cleaned !", flush=True)
logging.info('device_not_cleaned')
return "WAIT"
# Remove infected files