1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00

work in progress

This commit is contained in:
dbarzin 2022-06-28 17:57:42 +02:00
parent 99a6960a13
commit 417c3c7998
3 changed files with 18 additions and 7 deletions

View file

@ -106,7 +106,7 @@ Homepage
convert -resize 1920x1080 -background black -gravity center -extent 1920x1080 image1.png bgra:/dev/fb0
AUtoLogin
AutoLogin
---------
@ -123,3 +123,11 @@ https://wiki.archlinux.org/title/Getty#Automatic_login_to_virtual_console
The option Type=idle found in the default getty@.service will delay the service startup until all jobs are completed in order to avoid polluting the login prompt with boot-up messages.
Quarantine Folder
-----------------
mkdir /var/quarantine
chmod 0777 /var/quarantine

View file

@ -5,13 +5,13 @@
import os
import time
format = "1020x600"
#format = "1920x1080"
size = "1020x600"
#size = "1920x1080"
images = ["pandora-box1.png", "pandora-box2.png", "pandora-box3.png", "pandora-box4.png"]
for image in images :
os.system("convert -resize %s -background black -gravity center -extent %s %s bgra:/dev/fb0" % (format,format,image))
os.system("convert -resize %s -background black -gravity center -extent %s %s bgra:/dev/fb0" % (size, size, image))
time.sleep(1)
os.system("reset")

View file

@ -1,8 +1,10 @@
[DEFAULT]
; Curses mode (full text)
CURSES = False
; Screen size
SCREEN_SIZE = "1020x600"
; Set USB_AUTO_MOUNT to true is if the OS mount automaticaly mount USB keys
USB_AUTO_MOUNT = True
@ -10,7 +12,7 @@ USB_AUTO_MOUNT = True
; the default value is "http://127.0.0.1:6100"
PANDORA_ROOT_URL = http://127.0.0.1:6100
; Set FAKE_SCAN to true to fake the scan process
; Set FAKE_SCAN to true to fake the scan process (used during developement only)
FAKE_SCAN = False
; Set to true to copy infected files to the quarantine folder
@ -18,4 +20,5 @@ FAKE_SCAN = False
QUARANTINE = True
; Set quarantine folder
QUARANTINE_FOLDER = /tmp
QUARANTINE_FOLDER = /var/quarantine