Ablesov/fix tinycheck installation (#135)
* Update requirements.txt Fix: pymisp - use older version to keep code compatibility sqlalchemy - use 1.4 latest build (api 2.0 incompatible with codebase) M2Crypto - removed (not used) pyOpenSSL - removed (not used) * Update scheme.sql pymisp warning fix * Update main.py Unused reference to pyOpenSSL removed
This commit is contained in:
parent
7696f840c7
commit
e2a040798a
@ -1,6 +1,6 @@
|
||||
pymisp==2.4.165.1
|
||||
sqlalchemy==1.4.48
|
||||
ipwhois
|
||||
M2Crypto
|
||||
pyOpenSSL
|
||||
pydig
|
||||
pymisp
|
||||
netaddr
|
||||
@ -8,7 +8,6 @@ pyyaml
|
||||
flask
|
||||
flask_httpauth
|
||||
pyjwt
|
||||
sqlalchemy
|
||||
psutil
|
||||
pyudev
|
||||
wifi
|
||||
|
@ -1,30 +1,30 @@
|
||||
CREATE TABLE "iocs" (
|
||||
"id" INTEGER UNIQUE,
|
||||
"value" TEXT NOT NULL,
|
||||
"type" TEXT NOT NULL,
|
||||
"tlp" TEXT NOT NULL,
|
||||
"tag" TEXT NOT NULL,
|
||||
"source" TEXT NOT NULL,
|
||||
"added_on" NUMERIC NOT NULL,
|
||||
"value" TEXT NOT NULL,
|
||||
"type" TEXT NOT NULL,
|
||||
"tlp" TEXT NOT NULL,
|
||||
"tag" TEXT NOT NULL,
|
||||
"source" TEXT NOT NULL,
|
||||
"added_on" TEXT NOT NULL,
|
||||
PRIMARY KEY("id" AUTOINCREMENT)
|
||||
);
|
||||
|
||||
CREATE TABLE "whitelist" (
|
||||
"id" INTEGER UNIQUE,
|
||||
"element" TEXT NOT NULL UNIQUE,
|
||||
"type" TEXT NOT NULL,
|
||||
"source" TEXT NOT NULL,
|
||||
"added_on" INTEGER NOT NULL,
|
||||
"element" TEXT NOT NULL UNIQUE,
|
||||
"type" TEXT NOT NULL,
|
||||
"source" TEXT NOT NULL,
|
||||
"added_on" TEXT NOT NULL,
|
||||
PRIMARY KEY("id" AUTOINCREMENT)
|
||||
);
|
||||
|
||||
CREATE TABLE "misp" (
|
||||
"id" INTEGER UNIQUE,
|
||||
"name" TEXT,
|
||||
"url" TEXT NOT NULL,
|
||||
"apikey" TEXT NOT NULL,
|
||||
"id" INTEGER UNIQUE,
|
||||
"name" TEXT,
|
||||
"url" TEXT NOT NULL,
|
||||
"apikey" TEXT NOT NULL,
|
||||
"verifycert" INTEGER NOT NULL DEFAULT 0,
|
||||
"added_on" NUMERIC NOT NULL,
|
||||
"last_sync" NUMERIC NOT NULL DEFAULT 0,
|
||||
"added_on" TEXT NOT NULL,
|
||||
"last_sync" TEXT NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY("id" AUTOINCREMENT)
|
||||
);
|
||||
|
@ -10,7 +10,6 @@ from app.blueprints.misp import misp_bp
|
||||
import datetime
|
||||
import secrets
|
||||
import jwt
|
||||
from OpenSSL import SSL
|
||||
from app.utils import read_config
|
||||
from sys import path
|
||||
|
||||
@ -64,7 +63,6 @@ if __name__ == '__main__':
|
||||
ssl_key = "{}/{}".format(path[0], 'key.pem')
|
||||
|
||||
if read_config(("backend", "remote_access")):
|
||||
app.run(host="0.0.0.0", port=443,
|
||||
ssl_context=(ssl_cert, ssl_key))
|
||||
app.run(host="0.0.0.0", port=443, ssl_context=(ssl_cert, ssl_key))
|
||||
else:
|
||||
app.run(port=443, ssl_context=(ssl_cert, ssl_key))
|
||||
app.run(port=443)
|
||||
|
Loading…
Reference in New Issue
Block a user