Skip to content

BoredHackerBlog/ctfdwettyshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

CTFd plugin to provide web shells to CTF players. It utilizes CTFd(https://github.com/CTFd/CTFd/), Docker, and Wetty (https://github.com/krishnasrinivas/wetty).

More information here: http://www.boredhackerblog.info/2018/05/providing-shell-for-ctfs.html

Download:

git clone https://github.com/BoredHackerBlog/ctfdwettyshell

Setup:

  1. Modify the Dockerfile file to fit whatever needs you have.
  2. Build a docker image with the Dockerfile file.
cd ctfdwettyshell
docker build -t wettytest .
  1. Copy wettyshell folder to your CTFd plugins folder
  2. Start the docker container
docker run -td --rm --name wettytest -p 8080:3000 wettytest
  1. Customize the init file inside the wettyshell folder. Change container_name and return_info strings.
  2. Start CTFd
  3. From the admin page, add a new page and redirect it to /docker. (Check blog for more info)

Feel free to clone and improve the code.

Similar plugin or features: https://github.com/tamuctf/ctfd-shell-plugin https://github.com/picoCTF/picoCTF/tree/master/picoCTF-shell

About

CTFd web shell plugin - Plugin interacts with CTFd and a docker container to provide web shell for CTF players

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages