CODEGATE CTF 2022 Preliminary
beego 프레임워크를 이용하여 작성된 간단한 웹 서비스이다. 인증에 성공하여 인덱스 페이지를 열람하면 플래그를 획득할 수 있다.
from time import sleep | |
from receipt import generate, get_receipt_dataframe | |
from pdf import results_to_pdf | |
import random | |
df = get_receipt_dataframe() | |
for idx, r in df.iterrows(): | |
print(r) |
FROM python:3.9-alpine | |
RUN echo "http://dl-4.alpinelinux.org/alpine/v3.14/main" >> /etc/apk/repositories && \ | |
echo "http://dl-4.alpinelinux.org/alpine/v3.14/community" >> /etc/apk/repositories | |
RUN apk update | |
RUN apk add chromium chromium-chromedriver libffi-dev gcc musl-dev | |
RUN pip install --upgrade pip | |
RUN pip install selenium |
# PLMS VOD Downloader | |
## plms.postech.ac.kr | |
## beta@plus, postech. | |
## This code is for research purposes. Please abide by the copyright law. | |
from bs4 import BeautifulSoup | |
import requests | |
import getpass | |
import os |
# | |
# POSTECH CSED233 ASSN2 AUTO CHECKER | |
# Python 3.7+ | |
# | |
# by beta@plus, gwon minjae. | |
# special thx to whysw@plus, yang seungwon. | |
# | |
# github.com/beta-lux | |
# |
# | |
# POSTECH CSED232 ASSN2 CMD GENERATOR | |
# Python 3.7+ | |
# | |
# by beta@plus, minjae gwon. | |
# github.com/beta-lux | |
# | |
import random | |
import string |