Giter VIP home page Giter VIP logo

ritredteam.github.io's Introduction

RITSEC Redteam Wiki

RITSEC Redteam is a group of students and alumni write and use custom tooling to attack competition infrastructure. This provides a challenging learning environment for blue teams.

This is our wiki. Here we will document all of our publicly released tools.

Contributing Your Tool's Documentation

Note: please be sure to strictly follow the metadata instructions in order to ensure your tool properly shows up in the sidebar

Spinning up a local copy of the website while you write your documentation is completely optional. Realistically, if you were to strictly follow these instructions, you could write your documentation and push it without ever spinning up a local copy. However, if you do want to, see Local Development.

Identify your category

First, identify which category your tool falls into:

/windows
/linux
/networking
/cross-platform

Make a folder for your tool

Create a folder within your given category for your tool. (ex. for a windows tool named Bingus you would create the /windows/bingus/ directory)

Note: please use hyphens in place of spaces in folder/file names

Add your tool's home page

Go ahead and add an index.md file inside your tool folder and then use this template to add your page metadata and a brief description of your tool.

So the /windows/bingus/index.md would look like:

---
layout: default
title: Bingus
parent: Windows
has_children: true
---

# Bingus

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Add additional pages for your tool

For additional pages, there is just one slight modification to the home page metadata we need to make. Again using the Bingus example, here would be the installation page (/windows/bingus/installation.md):

---
layout: default
title: Installation
parent: Bingus
grand_parent: Windows
nav_order: 1
---

# Installation

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Note: if the nav_order field is omitted, the pages will just be sorted alphabetically

Now you are free to add other pages to your tool folder as needed. The table of contents on the home page is auto-generated so no need to worry about generating that (auto generates links to all of the pages in your directory).

Local Development

Using Docker

Simply run docker-compose up in the directory and view the website at http://0.0.0.0:4000

Local Machine

If you want to develop the website on your local machine, theres a few prerequisites:

  • Ruby 3.1.0
  • Bundler >2.3.3 (to install just gem install bundler)

Install all dependencies

$ cd /path/to/repo
$ bundle

Then stand up the webserver

$ bundle exec jekyll serve

ritredteam.github.io's People

Contributors

bradhacker avatar d3adzo avatar emmaunel avatar mav8557 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ritredteam.github.io's Issues

Website Structure

Reopening this comment from @mav8557 because I think it has some merit. It might need some more work but I also think the structure could be played around with more.

A details.md file for each tool, that describes how it works with some of the relevant resources could be helpful, especially if it is doing anything especially esoteric. That would be optional but encouraged, so that people in the future can hit the ground running both with how to use a tool and what it is actually doing in reasonably comprehensive detail.

I'm about 50/50 on the layout. It works but I think it could get hard to maintain and follow this way. Seeing cross-platform tools under Linux, Windows, etc would be nice. Duplication is not a good idea - some way to search or have tags for tools would be ideal.

I think a good compromise would be to just have a directory for every tool, and then link to those tool pages from the OS group page.

Something like this:

index.md
tools/
      vishnu/
          index.md
          details.md
      father/
          index.md
          details.md
      nosferatu/
          index.md
          details.md
windows/
      index.md
linux/
      index.md
...

This way what changes often is easier to find and edit, you get a centralized place to see every red team tool, and it's easy to add tools to OS group pages.

Local Build with Docker

Most pages sites use Jekyll and it's helpful to be able to build the entire site locally, to see how things look before pushing to production.

Ideally this should be a docker-compose file to easily create the container and serve it locally. I had some issues getting this to build locally myself so I figured I'd open this up so we can get it going before we have folks start contributing more frequently.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.