mirror of
https://github.com/NohamR/LetCTF.git
synced 2026-05-24 19:59:20 +00:00
small fixes
This commit is contained in:
4
crackmy.json.example
Normal file
4
crackmy.json.example
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"email": "email",
|
||||
"password": "password"
|
||||
}
|
||||
4
hackropole.json.example
Normal file
4
hackropole.json.example
Normal file
@@ -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.challenge_handler import download_files
|
||||
from bs4 import BeautifulSoup
|
||||
import unicodedata
|
||||
from datetime import datetime
|
||||
import textwrap
|
||||
import requests
|
||||
import re
|
||||
from pprint import pprint
|
||||
|
||||
class CatTheFlagPlatform(CTFPlatform):
|
||||
def __init__(self, url: str = "https://cattheflag.org", config_file: str | Path = None):
|
||||
|
||||
@@ -3,10 +3,8 @@ from pathlib import Path
|
||||
import requests
|
||||
from .base import CTFPlatform
|
||||
from ..models import Challenge, File
|
||||
from ..utils.config_handler import load_config
|
||||
from ..utils.challenge_handler import download_files
|
||||
from bs4 import BeautifulSoup
|
||||
import unicodedata
|
||||
from datetime import datetime
|
||||
import textwrap
|
||||
import re
|
||||
|
||||
@@ -4,8 +4,6 @@ from .base import CTFPlatform
|
||||
from ..models import Challenge, File
|
||||
from ..utils.config_handler import load_config
|
||||
from ..utils.challenge_handler import download_files
|
||||
from bs4 import BeautifulSoup
|
||||
import unicodedata
|
||||
from datetime import datetime
|
||||
import textwrap
|
||||
import requests
|
||||
|
||||
@@ -6,7 +6,6 @@ from ..models import Challenge, File
|
||||
from ..utils.cookie_handler import load_cookies_from_file
|
||||
from ..utils.challenge_handler import download_files
|
||||
from bs4 import BeautifulSoup
|
||||
import unicodedata
|
||||
from datetime import datetime
|
||||
import textwrap
|
||||
import re
|
||||
|
||||
5
theblackside.json.example
Normal file
5
theblackside.json.example
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"PHPSESSID": "",
|
||||
"cf_clearance": "",
|
||||
"o2s-chl": ""
|
||||
}
|
||||
Reference in New Issue
Block a user