Skip to main content

Fill a CTF announcement template with data from CTFtime

Project description

SecSE CTF Announcement Tool

Build Status codecov Python Versions

This is a simple commandline tool to quickly generate SecSE CTF announcements as markdown posts for usage on meta.

Installation

$ pip install ctf-announcement --upgrade

Usage

Call ctf-announcement with either the ID, the link or a substring of the title of an upcoming CTF. The tool will parse upcoming CTFs from CTFtime, and output a link to create the meta post and the markdown post body, e.g.:

$ ctf-announcement hitc

29 upcoming CTFs found.
Here is the template for HITCON CTF 2018:

-- URL -------------------------------------------------------------------------
https://security.meta.stackexchange.com/questions/ask?title=HITCON+CTF+2018+%7C+Sat%2C+20+Oct+02%3A00+%E2%80%94+Mon%2C+22+Oct+02%3A00+UTC+%2848h%29&tags=ctf,discussion

-- Body ------------------------------------------------------------------------
Let's participate in the [HITCON CTF 2018](https://ctftime.org/event/669)!

- **Format:** Jeopardy
- **Duration:** 48h
- **Start:** Sat, 2018-10-20 02:00 UTC <sup>[(See other timezones)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=HITCON+CTF+2018&iso=20181020T020000&ah=48)</sup>
- **Finish:** Mon, 2018-10-22 02:00 UTC
- **Official URL:** [https://ctf.hitcon.org/](https://ctf.hitcon.org/)
- **CTFtime URL:** [https://ctftime.org/event/669](https://ctftime.org/event/669)
- **Rating weight:** 98.32 <sup>[(?)](https://ctftime.org/faq/#weight)</sup>
- **Organizers:** [217](https://ctftime.org/team/5160), [HITCON](https://ctftime.org/team/8299)
- **Event series:** [HITCON CTF](https://ctftime.org/ctf/79)

General info:

- We compete as team [secse](https://security.meta.stackexchange.com/q/1117/).
- We communicate over [Slack](http://sec-ctf.slack.com/). To get an invitation
  to the workspace you can contact any active team member. (We will need to
  know an email address to send the invitation to and a reference to your
  Security.SE profile.)
- For questions, join us in the [public chat room](https://chat.stackexchange.com/rooms/151/the-dmz).

Good luck everyone!
--------------------------------------------------------------------------------

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctf-announcement-0.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

ctf_announcement-0.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file ctf-announcement-0.3.tar.gz.

File metadata

  • Download URL: ctf-announcement-0.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for ctf-announcement-0.3.tar.gz
Algorithm Hash digest
SHA256 aec87c53bf16a56706837a6ac00f8e657edc4b42cdd9e51cd534513c9ae8b61e
MD5 cf90f0069892907653349781145c28ee
BLAKE2b-256 eb6dae3d581d5c7c289efcb9e98fb794eb96cb07c7c9d1f892cc5dbfba0b2b2d

See more details on using hashes here.

File details

Details for the file ctf_announcement-0.3-py3-none-any.whl.

File metadata

  • Download URL: ctf_announcement-0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for ctf_announcement-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 48b56c29487d606e0678462a75c8d7def41282c70bb54fad9fd4c9487bf014c2
MD5 ee87854bd070861455d2ebfa975c2230
BLAKE2b-256 a379e315a82d7189fb7e40c1cd3f167cf35d564358a0953db5096cd6a097c503

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page