mirror of
https://github.com/NohamR/LetCTF.git
synced 2026-11-25 15:19:55 +00:00
small fixes
This commit is contained in:
1 parent
427993d0e6
commit
aaf5439810
7 files changed
+13
-7
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"email": "email",
|
||||||
|
"password": "password"
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"token": "eyJhbGciOiJBMTI4S.....",
|
||||||
|
"provider": "github"
|
||||||
|
}
|
||||||
@@ -5,12 +5,10 @@ from ..models import Challenge, File
|
|||||||
from ..utils.config_handler import load_config
|
from ..utils.config_handler import load_config
|
||||||
from ..utils.challenge_handler import download_files
|
from ..utils.challenge_handler import download_files
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
import unicodedata
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import textwrap
|
import textwrap
|
||||||
import requests
|
import requests
|
||||||
import re
|
import re
|
||||||
from pprint import pprint
|
|
||||||
|
|
||||||
class CatTheFlagPlatform(CTFPlatform):
|
class CatTheFlagPlatform(CTFPlatform):
|
||||||
def __init__(self, url: str = "https://cattheflag.org", config_file: str | Path = None):
|
def __init__(self, url: str = "https://cattheflag.org", config_file: str | Path = None):
|
||||||
|
|||||||
@@ -3,10 +3,8 @@ from pathlib import Path
|
|||||||
import requests
|
import requests
|
||||||
from .base import CTFPlatform
|
from .base import CTFPlatform
|
||||||
from ..models import Challenge, File
|
from ..models import Challenge, File
|
||||||
from ..utils.config_handler import load_config
|
|
||||||
from ..utils.challenge_handler import download_files
|
from ..utils.challenge_handler import download_files
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
import unicodedata
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import textwrap
|
import textwrap
|
||||||
import re
|
import re
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ from .base import CTFPlatform
|
|||||||
from ..models import Challenge, File
|
from ..models import Challenge, File
|
||||||
from ..utils.config_handler import load_config
|
from ..utils.config_handler import load_config
|
||||||
from ..utils.challenge_handler import download_files
|
from ..utils.challenge_handler import download_files
|
||||||
from bs4 import BeautifulSoup
|
|
||||||
import unicodedata
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import textwrap
|
import textwrap
|
||||||
import requests
|
import requests
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ from ..models import Challenge, File
|
|||||||
from ..utils.cookie_handler import load_cookies_from_file
|
from ..utils.cookie_handler import load_cookies_from_file
|
||||||
from ..utils.challenge_handler import download_files
|
from ..utils.challenge_handler import download_files
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
import unicodedata
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import textwrap
|
import textwrap
|
||||||
import re
|
import re
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"PHPSESSID": "",
|
||||||
|
"cf_clearance": "",
|
||||||
|
"o2s-chl": ""
|
||||||
|
}
|
||||||
Reference in new issue
Block a user