github - zollak/pentest-notes GitHub Wiki

Wiki Sidebar

Creates an index with links from a github wiki which is structured in folders.

  1. Clone your wiki git repo (e.g., git clone https://github.com/zollak/pentest-notes.wiki.git)
  2. Move mk_sidebar.py into the folder of the wiki or set its global availability:
MacBook-Pro:~ zollak$ mkdir scripts
MacBook-Pro:~ zollak$ cp ~/git/pentest-notes/Tools/mk_sidebar.py ~/scripts/
MacBook-Pro:~ zollak$ chmod +x ~/scripts/mk_sidebar.py
MacBook-Pro:~ zollak$ ln -s ~/scripts/mk_sidebar.py /usr/local/sbin/mk_sidebar
MacBook-Pro:~ zollak$ ls -la /usr/local/sbin/mk_sidebar
lrwxr-xr-x  1 zollak  admin  35 May 23 16:47 /usr/local/sbin/mk_sidebar -> /Users/zollak/scripts/mk_sidebar.py
  1. Execute mk_sidebar.py with mk_sidebar from the required directory
  2. Now you should see a _Sidebar.md with the index generated from your folder and file structure
⚠️ **GitHub.com Fallback** ⚠️