FATAL:fixed encoding bug for nfregex that was blocking this function!
This commit is contained in:
@@ -27,4 +27,5 @@ class Regex:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, var: dict):
|
def from_dict(cls, var: dict):
|
||||||
|
var['regex'] = base64.b64decode(var['regex'])
|
||||||
return cls(**var)
|
return cls(**var)
|
||||||
2
start.py
2
start.py
@@ -83,7 +83,7 @@ services:
|
|||||||
firewall:
|
firewall:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: firegex
|
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"
|
network_mode: "host"
|
||||||
environment:
|
environment:
|
||||||
- PORT={args.port}
|
- PORT={args.port}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
TMP=$1
|
TMP=$1
|
||||||
PASSWORD=${TMP:=testpassword}
|
PASSWORD=${TMP:=testpassword}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user