From ef58f02e4e3e45b64b398d3884b54b2f7729a6c7 Mon Sep 17 00:00:00 2001 From: hanemile Date: Thu, 2 Jul 2020 21:22:24 +0200 Subject: added an example to the README --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index c14ba21..5117533 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ go build ./... ## Usage ``` -./ctfdget --help [±master ●] +./ctfdget --help Usage of ./ctfdget: -out string The name of the folder to dump the files to (default "challdump") @@ -27,6 +27,23 @@ Usage of ./ctfdget: The root URL of the CTFd instance (default "https://ctf.example.com") ``` +Example: + +``` +$ go run ./... -session 9e8831af-ce30-48c3-8663-4b27262f43f1.pjKPVCYufDhuA9GPJAlc_xh45M8 -url https://cscml.zenysec.com -out cscmlctf +Fetching all challenges using the ctf api... +Done fetching all challenges +Downloading the files included in the challenges +→ cscmlctf/misc/Censored +→ cscmlctf/web/WebServer I +→ cscmlctf/misc/Thanos +→ cscmlctf/web/Scrolls List +→ cscmlctf/pwn/WebServer II +→ cscmlctf/machine learning/Prosopagnosia +→ cscmlctf/misc/JSGame +… +``` + ## Features - Dump all files from all challenges -- cgit 1.4.1