Skip to content

CLI tool to get the links of original writeups from ctftime.org

License

Notifications You must be signed in to change notification settings

mzfr/lswriteups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lswriteups

A simple CLI tool to get the links of original writeups from ctftime.org.

If you paritcipate in CTFs and use ctftime for reading the writeups of tasks you couldn't solve, then you'll understand the pain it is to read a single writeup. If not then go to ctftime and feel the pain 😏

This tool get you all those beautifully written original writeups link so you can easily read them.

Selection of writeups are done on the basis of the rating given to them, if all the writeups have the same rating then the link of the first writeup is selected.

Usage

➜ ./lswriteups -h
usage: main.py [-h] (-n NAME | -l LINK)

Easily get those precious writeups

optional arguments:
  -h, --help            show this help message and exit

required any one of them:
  -n NAME, --name NAME  search for writeups by CTF name
  -l LINK, --link LINK  search for writeups by CTF url

There is a choice, either you can enter the name of the CTF like seccon or P.W.N or you can provide direct link to the task of any CTF like https://ctftime.org/event/639/tasks/

  • ./lswriteups -n seccon

alt-text

  • ./lswriteups -l https://ctftime.org/event/683/tasks/

alt-text

Installation

  • You can use pip
pip install git+https://github.com/mzfr/lswriteups#egg=lswriteups
  • You can also use pipsi to install
pipsi install git+https://github.com/mzfr/lswriteups#egg=lswriteups

MANUAL

For manual installation and easy usage follow these steps:

  • You'll need python3 for this.
  • Clone this repo:
    • git clone https://github.com/mzfr/lswriteups
  • Install dependencies:
    • pip install -r requirements.txt

For easy usage you can add the path to the cloned folder in you shells configuration file i.e add the following line to you .bashrc or .zshrc

export PATH=$HOME/lswriteups:$PATH

NOTE: If you have cloned the repo in some other directory then use that path in place of /lswriteups

Say Thanks

If you like to 🎉 say thanks 😄

About

CLI tool to get the links of original writeups from ctftime.org

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages