FATAL:fixed encoding bug for nfregex that was blocking this function!

This commit is contained in:
Domingo Dirutigliano
2024-04-09 03:52:10 +02:00
parent be9b4c12f0
commit 11ec3a16a1
3 changed files with 4 additions and 1 deletions

View File

@@ -27,4 +27,5 @@ class Regex:
@classmethod
def from_dict(cls, var: dict):
var['regex'] = base64.b64decode(var['regex'])
return cls(**var)

View File

@@ -83,7 +83,7 @@ services:
firewall:
restart: unless-stopped
container_name: firegex
{"build: ." if args.build else "image: ghcr.io/pwnzer0tt1/firegex"}
{"build: ." if args.build else "image: ghcr.io/pwnzer0tt1/firegex:2.2.5"}
network_mode: "host"
environment:
- PORT={args.port}

View File

@@ -1,5 +1,7 @@
#!/bin/sh
cd "$(dirname "$0")"
TMP=$1
PASSWORD=${TMP:=testpassword}