Skip to content

Commit

Permalink
Update libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianzsh committed Dec 15, 2022
1 parent 59b6325 commit 5deae88
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion freki/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from flask_limiter import Limiter
from flask_limiter.util import get_remote_address
from werkzeug.exceptions import RequestEntityTooLarge
from werkzeug.contrib.fixers import ProxyFix
from werkzeug.middleware.proxy_fix import ProxyFix

from sqlalchemy import create_engine
from sqlalchemy.exc import OperationalError
Expand Down
2 changes: 1 addition & 1 deletion freki/app/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from functools import wraps
from flask import Blueprint, request
from werkzeug.datastructures import FileStorage
from flask_restplus import Api
from flask_restx import Api

from app import db
from app.models import User
Expand Down
2 changes: 1 addition & 1 deletion freki/app/api/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

from flask_restplus import Resource
from flask_restx import Resource

from app.core.yaraanalysis import YaraAnalysis
from app.core.hashes import Hashes
Expand Down
2 changes: 1 addition & 1 deletion freki/app/api/pe.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from subprocess import CalledProcessError
from pefile import PEFormatError
from flask_restplus import Resource
from flask_restx import Resource

from app.core.utils import save_file
from app.core.pe import PE
Expand Down
2 changes: 1 addition & 1 deletion freki/app/api/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import json

from flask_restplus import Resource
from flask_restx import Resource
from flask import request, send_from_directory

try:
Expand Down
4 changes: 2 additions & 2 deletions freki/app/api/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

from flask_restplus import Resource
from werkzeug import check_password_hash
from flask_restx import Resource
from werkzeug.security import check_password_hash

from app.models import User

Expand Down
2 changes: 1 addition & 1 deletion freki/app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class User(Base, UserMixin, db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(255), unique=True, nullable=False)
username = db.Column(db.String(50), unique=True, nullable=False)
password = db.Column(db.String(80), nullable=False)
password = db.Column(db.String(90), nullable=False)
vt_key = db.Column(db.String(64), nullable=True)
freki_key = db.Column(db.String(255), nullable=False)

Expand Down
2 changes: 1 addition & 1 deletion freki/app/web/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from flask_login import login_user, logout_user, login_required, current_user
from flask import render_template, redirect, request, url_for, flash
from werkzeug import generate_password_hash, check_password_hash
from werkzeug.security import generate_password_hash, check_password_hash
from sqlalchemy.exc import DataError
from sqlalchemy import or_

Expand Down
14 changes: 7 additions & 7 deletions freki/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
apscheduler==3.7.0
flask==1.1.2
flask-restplus==0.13.0
flask==2.1.0
flask-restx==1.0.3
flask-sqlalchemy==2.5.1
flask-login==0.5.0
flask-limiter==1.3.1
flask-login==0.6.2
flask-limiter==2.8.1
gunicorn==20.0.4
mysqlclient
pefile==2019.4.18
pydeep==0.4
PyJWT==1.6.4
pyminizip==0.2.4
PyJWT==2.6.0
pyminizip==0.2.6
pyopenssl==19.1.0
python-magic==0.4.18
requests==2.24.0
sqlalchemy-utils
werkzeug==0.16.1
werkzeug==2.0
yara-python==4.0.2

0 comments on commit 5deae88

Please sign in to comment.