用来自CTFTime的数据填充CTF公告模板
ctf-announcement的Python项目详细描述
secse ctf公告工具
这是一个简单的命令行工具,可以快速生成secse ctf公告,作为标记贴子在meta上使用。
安装
$ pip install ctf-announcement --upgrade
用法
使用即将到来的ctf的id、链接或标题的子字符串调用ctf-announcement
。该工具将解析来自ctftime的即将发布的ctf,并输出一个链接以创建meta post和markdown post body,例如:
$ 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!
--------------------------------------------------------------------------------