mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
10 lines
161 B
Python
10 lines
161 B
Python
from CTFd import create_app
|
|
from CTFd.utils import import_ctf
|
|
|
|
import zipfile
|
|
import sys
|
|
|
|
app = create_app()
|
|
with app.app_context():
|
|
import_ctf(sys.argv[1])
|