├── .gitignore ├── CNAME ├── Makefile ├── archetypes └── default.md ├── config.toml ├── content ├── _index.md ├── contributing │ └── _index.md ├── installation │ └── _index.md ├── intro │ └── _index.md ├── modules │ ├── _index.md │ ├── ble │ │ └── _index.md │ ├── canbus │ │ └── _index.md │ ├── core │ │ ├── _index.md │ │ ├── api.rest │ │ │ └── _index.md │ │ ├── c2 │ │ │ └── _index.md │ │ ├── caplets │ │ │ └── _index.md │ │ ├── events.stream │ │ │ └── _index.md │ │ ├── graph │ │ │ └── _index.md │ │ ├── ticker │ │ │ └── _index.md │ │ ├── ui │ │ │ └── _index.md │ │ └── update │ │ │ └── _index.md │ ├── ethernet │ │ ├── _index.md │ │ ├── net.probe │ │ │ └── _index.md │ │ ├── net.recon │ │ │ └── _index.md │ │ ├── net.sniff │ │ │ └── _index.md │ │ ├── proxies │ │ │ ├── _index.md │ │ │ ├── any.proxy │ │ │ │ └── _index.md │ │ │ ├── http.proxy │ │ │ │ └── _index.md │ │ │ ├── https.proxy │ │ │ │ └── _index.md │ │ │ ├── packet.proxy │ │ │ │ └── _index.md │ │ │ └── tcp.proxy │ │ │ │ └── _index.md │ │ ├── servers │ │ │ ├── _index.md │ │ │ ├── http.server │ │ │ │ └── _index.md │ │ │ ├── https.server │ │ │ │ └── _index.md │ │ │ ├── mdns.server │ │ │ │ └── _index.md │ │ │ └── mysql.server │ │ │ │ └── _index.md │ │ ├── spoofers │ │ │ ├── _index.md │ │ │ ├── arp.spoof │ │ │ │ └── _index.md │ │ │ ├── dhcp6.spoof │ │ │ │ └── _index.md │ │ │ ├── dns.spoof │ │ │ │ └── _index.md │ │ │ └── ndp.spoof │ │ │ │ └── _index.md │ │ ├── syn.scan │ │ │ └── _index.md │ │ └── wol │ │ │ └── _index.md │ ├── hid │ │ └── _index.md │ ├── utils │ │ ├── _index.md │ │ ├── gps │ │ │ └── _index.md │ │ └── mac.changer │ │ │ └── _index.md │ └── wifi │ │ └── _index.md └── usage │ ├── _index.md │ ├── interactive │ └── _index.md │ ├── scripting │ └── _index.md │ └── webui │ └── _index.md ├── docs ├── 404.html ├── CNAME ├── categories │ ├── index.html │ └── index.xml ├── contributing │ ├── index.html │ └── index.xml ├── css │ ├── atom-one-dark-reasonable.css │ ├── auto-complete.css │ ├── featherlight.min.css │ ├── fontawesome-all.min.css │ ├── hugo-theme.css │ ├── hybrid.css │ ├── nucleus.css │ ├── perfect-scrollbar.min.css │ ├── tabs.css │ ├── tags.css │ ├── theme-blue.css │ ├── theme-green.css │ ├── theme-red.css │ └── theme.css ├── favicon.png ├── fonts │ ├── Inconsolata.eot │ ├── Inconsolata.svg │ ├── Inconsolata.ttf │ ├── Inconsolata.woff │ ├── Novecentosanswide-Normal-webfont.eot │ ├── Novecentosanswide-Normal-webfont.svg │ ├── Novecentosanswide-Normal-webfont.ttf │ ├── Novecentosanswide-Normal-webfont.woff │ ├── Novecentosanswide-Normal-webfont.woff2 │ ├── Novecentosanswide-UltraLight-webfont.eot │ ├── Novecentosanswide-UltraLight-webfont.svg │ ├── Novecentosanswide-UltraLight-webfont.ttf │ ├── Novecentosanswide-UltraLight-webfont.woff │ ├── Novecentosanswide-UltraLight-webfont.woff2 │ ├── Work_Sans_200.eot │ ├── Work_Sans_200.svg │ ├── Work_Sans_200.ttf │ ├── Work_Sans_200.woff │ ├── Work_Sans_200.woff2 │ ├── Work_Sans_300.eot │ ├── Work_Sans_300.svg │ ├── Work_Sans_300.ttf │ ├── Work_Sans_300.woff │ ├── Work_Sans_300.woff2 │ ├── Work_Sans_500.eot │ ├── Work_Sans_500.svg │ ├── Work_Sans_500.ttf │ ├── Work_Sans_500.woff │ └── Work_Sans_500.woff2 ├── images │ ├── clippy.svg │ ├── favicon.png │ └── gopher-404.jpg ├── index.html ├── index.json ├── index.xml ├── installation │ ├── index.html │ └── index.xml ├── intro │ ├── index.html │ └── index.xml ├── js │ ├── auto-complete.js │ ├── clipboard.min.js │ ├── featherlight.min.js │ ├── highlight.pack.js │ ├── hugo-learn.js │ ├── jquery-3.3.1.min.js │ ├── jquery.sticky.js │ ├── learn.js │ ├── lunr.min.js │ ├── modernizr.custom-3.6.0.js │ ├── perfect-scrollbar.jquery.min.js │ ├── perfect-scrollbar.min.js │ └── search.js ├── legacy │ ├── assets │ │ ├── ajax-loader.gif │ │ ├── basic.css │ │ ├── comment-bright.png │ │ ├── comment-close.png │ │ ├── comment.png │ │ ├── css │ │ │ ├── badge_only.css │ │ │ └── theme.css │ │ ├── doctools.js │ │ ├── down-pressed.png │ │ ├── down.png │ │ ├── favicon.png │ │ ├── file.png │ │ ├── fonts │ │ │ ├── Inconsolata-Bold.ttf │ │ │ ├── Inconsolata-Regular.ttf │ │ │ ├── Lato-Bold.ttf │ │ │ ├── Lato-Regular.ttf │ │ │ ├── RobotoSlab-Bold.ttf │ │ │ ├── RobotoSlab-Regular.ttf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── img │ │ │ ├── mitm.jpg │ │ │ ├── proxy.png │ │ │ ├── sslstrip2.png │ │ │ └── with-hsts.png │ │ ├── jquery-3.1.0.js │ │ ├── jquery.js │ │ ├── js │ │ │ ├── modernizr.min.js │ │ │ └── theme.js │ │ ├── logo.png │ │ ├── minus.png │ │ ├── plus.png │ │ ├── pygments.css │ │ ├── searchtools.js │ │ ├── underscore-1.3.1.js │ │ ├── underscore.js │ │ ├── up-pressed.png │ │ ├── up.png │ │ └── websupport.js │ └── index.html ├── logo.png ├── logo_full.png ├── mermaid │ └── mermaid.js ├── modules │ ├── ble │ │ ├── index.html │ │ └── index.xml │ ├── canbus │ │ ├── index.html │ │ └── index.xml │ ├── core │ │ ├── api.rest │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── c2 │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── caplets │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── events.stream │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── graph │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── index.html │ │ ├── index.xml │ │ ├── ticker │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── ui │ │ │ ├── index.html │ │ │ └── index.xml │ │ └── update │ │ │ ├── index.html │ │ │ └── index.xml │ ├── ethernet │ │ ├── index.html │ │ ├── index.xml │ │ ├── net.probe │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── net.recon │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── net.sniff │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── proxies │ │ │ ├── any.proxy │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ ├── http.proxy │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ ├── https.proxy │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ ├── index.html │ │ │ ├── index.xml │ │ │ ├── packet.proxy │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ └── tcp.proxy │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ ├── servers │ │ │ ├── http.server │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ ├── https.server │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ ├── index.html │ │ │ ├── index.xml │ │ │ ├── mdns.server │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ └── mysql.server │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ ├── spoofers │ │ │ ├── arp.spoof │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ ├── dhcp6.spoof │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ ├── dns.spoof │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ │ ├── index.html │ │ │ ├── index.xml │ │ │ └── ndp.spoof │ │ │ │ ├── index.html │ │ │ │ └── index.xml │ │ ├── syn.scan │ │ │ ├── index.html │ │ │ └── index.xml │ │ └── wol │ │ │ ├── index.html │ │ │ └── index.xml │ ├── hid │ │ ├── index.html │ │ └── index.xml │ ├── index.html │ ├── index.xml │ ├── utils │ │ ├── gps │ │ │ ├── index.html │ │ │ └── index.xml │ │ ├── index.html │ │ ├── index.xml │ │ └── mac.changer │ │ │ ├── index.html │ │ │ └── index.xml │ └── wifi │ │ ├── index.html │ │ └── index.xml ├── robots.txt ├── sitemap.xml ├── tags │ ├── index.html │ └── index.xml ├── usage │ ├── index.html │ ├── index.xml │ ├── interactive │ │ ├── index.html │ │ └── index.xml │ ├── scripting │ │ ├── index.html │ │ └── index.xml │ └── webui │ │ ├── index.html │ │ └── index.xml └── webfonts │ ├── fa-brands-400.eot │ ├── fa-brands-400.svg │ ├── fa-brands-400.ttf │ ├── fa-brands-400.woff │ ├── fa-brands-400.woff2 │ ├── fa-regular-400.eot │ ├── fa-regular-400.svg │ ├── fa-regular-400.ttf │ ├── fa-regular-400.woff │ ├── fa-regular-400.woff2 │ ├── fa-solid-900.eot │ ├── fa-solid-900.svg │ ├── fa-solid-900.ttf │ ├── fa-solid-900.woff │ └── fa-solid-900.woff2 ├── layouts └── partials │ ├── custom-footer.html │ ├── custom-header.html │ ├── favicon.html │ ├── logo.html │ └── menu-footer.html ├── static ├── CNAME ├── favicon.png ├── legacy │ ├── assets │ │ ├── ajax-loader.gif │ │ ├── basic.css │ │ ├── comment-bright.png │ │ ├── comment-close.png │ │ ├── comment.png │ │ ├── css │ │ │ ├── badge_only.css │ │ │ └── theme.css │ │ ├── doctools.js │ │ ├── down-pressed.png │ │ ├── down.png │ │ ├── favicon.png │ │ ├── file.png │ │ ├── fonts │ │ │ ├── Inconsolata-Bold.ttf │ │ │ ├── Inconsolata-Regular.ttf │ │ │ ├── Lato-Bold.ttf │ │ │ ├── Lato-Regular.ttf │ │ │ ├── RobotoSlab-Bold.ttf │ │ │ ├── RobotoSlab-Regular.ttf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── img │ │ │ ├── mitm.jpg │ │ │ ├── proxy.png │ │ │ ├── sslstrip2.png │ │ │ └── with-hsts.png │ │ ├── jquery-3.1.0.js │ │ ├── jquery.js │ │ ├── js │ │ │ ├── modernizr.min.js │ │ │ └── theme.js │ │ ├── logo.png │ │ ├── minus.png │ │ ├── plus.png │ │ ├── pygments.css │ │ ├── searchtools.js │ │ ├── underscore-1.3.1.js │ │ ├── underscore.js │ │ ├── up-pressed.png │ │ ├── up.png │ │ └── websupport.js │ └── index.html ├── logo.png ├── logo_full.png └── robots.txt └── themes └── hugo-theme-learn ├── .editorconfig ├── .gitignore ├── .grenrc.yml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── archetypes ├── chapter.md └── default.md ├── exampleSite ├── LICENSE.md ├── config.toml ├── content │ ├── _index.en.md │ ├── _index.fr.md │ ├── basics │ │ ├── _index.en.md │ │ ├── _index.fr.md │ │ ├── _index.zh.md │ │ ├── configuration │ │ │ ├── _index.en.md │ │ │ ├── _index.fr.md │ │ │ └── images │ │ │ │ └── home_button_defaults.jpg │ │ ├── installation │ │ │ ├── _index.en.md │ │ │ ├── _index.fr.md │ │ │ └── images │ │ │ │ └── chapter.png │ │ ├── requirements │ │ │ ├── _index.en.md │ │ │ ├── _index.fr.md │ │ │ └── images │ │ │ │ └── magic.gif │ │ └── style-customization │ │ │ ├── _index.en.md │ │ │ ├── _index.fr.md │ │ │ └── images │ │ │ ├── blue-variant.png │ │ │ ├── green-variant.png │ │ │ └── red-variant.png │ ├── cont │ │ ├── _index.en.md │ │ ├── _index.fr.md │ │ ├── archetypes.en.md │ │ ├── archetypes.fr.md │ │ ├── i18n │ │ │ ├── _index.en.md │ │ │ ├── _index.fr.md │ │ │ └── images │ │ │ │ └── i18n-menu.gif │ │ ├── icons.en.md │ │ ├── markdown.en.md │ │ ├── markdown.fr.md │ │ ├── menushortcuts.en.md │ │ ├── menushortcuts.fr.md │ │ ├── pages │ │ │ ├── _index.en.md │ │ │ ├── _index.fr.md │ │ │ └── images │ │ │ │ ├── frontmatter-icon.png │ │ │ │ ├── pages-chapter.png │ │ │ │ └── pages-default.png │ │ ├── syntaxhighlight.en.md │ │ ├── tags.en.md │ │ └── tags.fr.md │ ├── credits.en.md │ ├── credits.fr.md │ ├── shortcodes │ │ ├── _index.en.md │ │ ├── _index.fr.md │ │ ├── attachments.en.files │ │ │ ├── BachGavotteShort.mp3 │ │ │ ├── Carroll_AliceAuPaysDesMerveilles.pdf │ │ │ ├── adivorciarsetoca00cape.pdf │ │ │ ├── hugo.png │ │ │ └── movieselectricsheep-flock-244-32500-2.mp4 │ │ ├── attachments.en.md │ │ ├── attachments.fr.files │ │ │ ├── BachGavotteShort.mp3 │ │ │ ├── Carroll_AliceAuPaysDesMerveilles.pdf │ │ │ ├── adivorciarsetoca00cape.pdf │ │ │ ├── hugo.png │ │ │ └── movieselectricsheep-flock-244-32500-2.mp4 │ │ ├── attachments.fr.md │ │ ├── button.en.md │ │ ├── button.fr.md │ │ ├── children │ │ │ ├── _index.en.md │ │ │ ├── _index.fr.md │ │ │ ├── children-1 │ │ │ │ ├── _index.en.md │ │ │ │ ├── _index.fr.md │ │ │ │ └── children-1-1 │ │ │ │ │ ├── _index.en.md │ │ │ │ │ ├── _index.fr.md │ │ │ │ │ └── children-1-1-1 │ │ │ │ │ ├── _index.en.md │ │ │ │ │ ├── _index.fr.md │ │ │ │ │ └── children-1-1-1-1 │ │ │ │ │ ├── _index.en.md │ │ │ │ │ ├── _index.fr.md │ │ │ │ │ └── children-1-1-1-1-1 │ │ │ │ │ ├── _index.en.md │ │ │ │ │ └── _index.fr.md │ │ │ ├── children-2 │ │ │ │ ├── _index.en.md │ │ │ │ ├── _index.fr.md │ │ │ │ ├── test3.en.md │ │ │ │ └── test3.fr.md │ │ │ ├── children-3 │ │ │ │ ├── _index.en.md │ │ │ │ └── _index.fr.md │ │ │ ├── children-4 │ │ │ │ ├── _index.en.md │ │ │ │ └── _index.fr.md │ │ │ ├── test.en.md │ │ │ └── test.fr.md │ │ ├── expand.en.md │ │ ├── expand.fr.md │ │ ├── mermaid.en.md │ │ ├── mermaid.fr.md │ │ ├── notice.en.md │ │ ├── notice.fr.md │ │ ├── siteparam.en.md │ │ ├── siteparam.fr.md │ │ └── tabs.en.md │ ├── showcase.en.md │ └── showcase.fr.md ├── layouts │ ├── partials │ │ ├── custom-footer.html │ │ ├── logo.html │ │ └── menu-footer.html │ └── shortcodes │ │ └── ghcontributors.html └── static │ ├── css │ └── theme-mine.css │ ├── fonts │ ├── monogramos-webfont.eot │ ├── monogramos-webfont.svg │ ├── monogramos-webfont.ttf │ ├── monogramos-webfont.woff │ └── monogramos-webfont.woff2 │ └── images │ └── showcase │ ├── inteliver_docs.png │ ├── tat.png │ └── tshark_dev.png ├── i18n ├── ar.toml ├── de.toml ├── en.toml ├── es.toml ├── fr.toml ├── hi.toml ├── id.toml ├── ja.toml ├── nl.toml ├── pt.toml ├── ru.toml ├── tr.toml └── zh-cn.toml ├── images ├── screenshot.png └── tn.png ├── layouts ├── 404.html ├── _default │ ├── list.html │ └── single.html ├── index.html ├── index.json ├── partials │ ├── custom-comments.html │ ├── custom-footer.html │ ├── custom-header.html │ ├── favicon.html │ ├── footer.html │ ├── header.html │ ├── logo.html │ ├── menu-footer.html │ ├── menu.html │ ├── meta.html │ ├── search.html │ ├── tags.html │ └── toc.html └── shortcodes │ ├── attachments.html │ ├── button.html │ ├── children.html │ ├── expand.html │ ├── mermaid.html │ ├── notice.html │ ├── ref.html │ ├── relref.html │ ├── siteparam.html │ ├── tab.html │ └── tabs.html ├── netlify.toml ├── static ├── css │ ├── atom-one-dark-reasonable.css │ ├── auto-complete.css │ ├── featherlight.min.css │ ├── fontawesome-all.min.css │ ├── hugo-theme.css │ ├── hybrid.css │ ├── nucleus.css │ ├── perfect-scrollbar.min.css │ ├── tabs.css │ ├── tags.css │ ├── theme-blue.css │ ├── theme-green.css │ ├── theme-red.css │ └── theme.css ├── fonts │ ├── Inconsolata.eot │ ├── Inconsolata.svg │ ├── Inconsolata.ttf │ ├── Inconsolata.woff │ ├── Novecentosanswide-Normal-webfont.eot │ ├── Novecentosanswide-Normal-webfont.svg │ ├── Novecentosanswide-Normal-webfont.ttf │ ├── Novecentosanswide-Normal-webfont.woff │ ├── Novecentosanswide-Normal-webfont.woff2 │ ├── Novecentosanswide-UltraLight-webfont.eot │ ├── Novecentosanswide-UltraLight-webfont.svg │ ├── Novecentosanswide-UltraLight-webfont.ttf │ ├── Novecentosanswide-UltraLight-webfont.woff │ ├── Novecentosanswide-UltraLight-webfont.woff2 │ ├── Work_Sans_200.eot │ ├── Work_Sans_200.svg │ ├── Work_Sans_200.ttf │ ├── Work_Sans_200.woff │ ├── Work_Sans_200.woff2 │ ├── Work_Sans_300.eot │ ├── Work_Sans_300.svg │ ├── Work_Sans_300.ttf │ ├── Work_Sans_300.woff │ ├── Work_Sans_300.woff2 │ ├── Work_Sans_500.eot │ ├── Work_Sans_500.svg │ ├── Work_Sans_500.ttf │ ├── Work_Sans_500.woff │ └── Work_Sans_500.woff2 ├── images │ ├── clippy.svg │ ├── favicon.png │ └── gopher-404.jpg ├── js │ ├── auto-complete.js │ ├── clipboard.min.js │ ├── featherlight.min.js │ ├── highlight.pack.js │ ├── hugo-learn.js │ ├── jquery-3.3.1.min.js │ ├── jquery.sticky.js │ ├── learn.js │ ├── lunr.min.js │ ├── modernizr.custom-3.6.0.js │ ├── perfect-scrollbar.jquery.min.js │ ├── perfect-scrollbar.min.js │ └── search.js ├── mermaid │ └── mermaid.js └── webfonts │ ├── fa-brands-400.eot │ ├── fa-brands-400.svg │ ├── fa-brands-400.ttf │ ├── fa-brands-400.woff │ ├── fa-brands-400.woff2 │ ├── fa-regular-400.eot │ ├── fa-regular-400.svg │ ├── fa-regular-400.ttf │ ├── fa-regular-400.woff │ ├── fa-regular-400.woff2 │ ├── fa-solid-900.eot │ ├── fa-solid-900.svg │ ├── fa-solid-900.ttf │ ├── fa-solid-900.woff │ └── fa-solid-900.woff2 ├── theme.toml └── wercker.yml /.gitignore: -------------------------------------------------------------------------------- 1 | /public 2 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | www.bettercap.org 2 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | all: docs 2 | 3 | docs: 4 | @hugo 5 | @mv public docs 6 | 7 | clean: 8 | @rm -rf public docs 9 | -------------------------------------------------------------------------------- /archetypes/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .Name "-" " " | title }}" 3 | date: {{ .Date }} 4 | draft: true 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /config.toml: -------------------------------------------------------------------------------- 1 | baseURL = "https://bettercap.org/" 2 | languageCode = "en-us" 3 | title = "bettercap" 4 | 5 | theme = "hugo-theme-learn" 6 | # For search functionality 7 | [outputs] 8 | home = ["HTML", "RSS", "JSON"] 9 | 10 | [markup.goldmark.renderer] 11 | unsafe = true 12 | 13 | [params] 14 | themeVariant = "green" 15 | disableShortcutsTitle = true 16 | editURL = "https://github.com/bettercap/website/edit/master/content/" 17 | 18 | [[menu.shortcuts]] 19 | name = " Github" 20 | url = "https://github.com/bettercap/bettercap" 21 | weight = 1 22 | 23 | [[menu.shortcuts]] 24 | name = " Blog" 25 | url = "https://www.evilsocket.net/tags/bettercap/" 26 | weight = 2 27 | 28 | [[menu.shortcuts]] 29 | name = '
Software License' 30 | url = "https://github.com/bettercap/bettercap/blob/master/LICENSE.md" 31 | weight = 4 32 | 33 | # [[menu.shortcuts]] 34 | # name = 'Travis' 35 | # url = "https://travis-ci.org/bettercap/bettercap" 36 | # weight = 5 37 | 38 | [[menu.shortcuts]] 39 | name = 'Go Report Card' 40 | url = "https://goreportcard.com/report/github.com/bettercap/bettercap" 41 | weight = 6 42 | 43 | [[menu.shortcuts]] 44 | name = 'Go Doc' 45 | url = "http://godoc.org/github.com/bettercap/bettercap" 46 | weight = 7 47 | 48 | [[menu.shortcuts]] 49 | name = "
Legacy v1.x Doc" 50 | url = "/legacy/" 51 | weight = 8 52 | -------------------------------------------------------------------------------- /content/_index.md: -------------------------------------------------------------------------------- 1 | # bettercap 2 | 3 |
4 | 5 | 6 | ベッターキャップ! 7 | 8 | The Swiss Army knife for [WiFi](/modules/wifi/), [Bluetooth Low Energy](/modules/ble/), wireless [HID hijacking](/modules/hid/), [CAN-bus](/modules/canbus/) and [IPv4 and IPv6](/modules/ethernet) networks reconnaissance and MITM attacks. 9 | 10 | Read the [project introduction](/intro/) to get an idea of what bettercap can do for you, [install](/installation/) it, [RTFM](/usage/) and start **hacking all the things!!!** 11 | 12 |

13 | 14 | 15 | 16 |

17 | 18 | 19 | 20 | 21 | Follow @bettercap 22 | 23 | Star 24 | 25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |

33 | 34 |
-------------------------------------------------------------------------------- /content/contributing/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Contributing" 3 | date: 2019-02-25T11:33:49+01:00 4 | weight: 2 5 | draft: false 6 | --- 7 | 8 | As any other open source projects, there're many ways you can contribute to bettercap depending on your skills as a developer or will to help as a user. 9 | 10 | ## Improving the Documentation 11 | 12 | You can improve this documentation by [forking its repository](https://github.com/bettercap/website), updating the contents and sending a pull request. 13 | 14 | ## Reporting Bugs 15 | 16 | If you find bugs or inconsistencies while using bettercap, you can create an Issue using the GitHub Issue tracker, but before doing that please make sure that: 17 | 18 | * You read this documentation. 19 | * You are using the [latest stable version](https://github.com/bettercap/bettercap/releases) of bettercap. 20 | * You already searched [other issues](https://github.com/bettercap/bettercap/issues) to see if your problem or request was already reported. 21 | 22 | Once you've gone through this list, open an issue and please give us as much as informations as possible in order for us to fix the bug as soon as possible, such as: 23 | 24 | * bettercap version you are using ( `bettercap -version` ). 25 | * Go version if building from sources. 26 | * OS version and architecture you are using. 27 | * Command line arguments you are using. 28 | * Caplet code you are using or the interactive session commands. 29 | * **Full debug output** while reproducing the issue ( `bettercap -debug ...` ). 30 | * The steps to reproduce the bug. 31 | 32 | ## Sending a Pull Request 33 | 34 | If you know how to code in Go and have ideas to improve bettercap, you're very welcome to send us pull requests, we'll be happy to merge them whenever they comply to the following rules: 35 | 36 | * You have at least manually tested your code, ideally you've created actual tests for it. 37 | * Respect our coding standard, 2 spaces indentation and modular code. 38 | * There're no conflicts with the current master branch. 39 | * Your commit messages are enough explanatory to us. 40 | 41 | There're plenty of things you can to do improve the software: 42 | 43 | * Implement a new session module (in Go). 44 | * Implement a new proxy module (in Javascript). 45 | * Implement a new caplet. 46 | * Fix, extend or improve the core. 47 | -------------------------------------------------------------------------------- /content/modules/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Modules" 3 | date: 2019-02-25T11:07:30+01:00 4 | weight: 5 5 | draft: false 6 | --- 7 | 8 | Session modules are organized in the following categories: 9 | 10 | {{% children depth="1000" %}} 11 | -------------------------------------------------------------------------------- /content/modules/core/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Core" 3 | date: 2019-02-25T11:09:34+01:00 4 | draft: false 5 | weight: 1 6 | --- 7 | 8 | Core modules used to instrument and perform basic interaction with bettercap and other modules: 9 | 10 | {{% children depth="999" %}} 11 | 12 | -------------------------------------------------------------------------------- /content/modules/core/c2/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "c2" 3 | date: 2020-04-12T11:57:21+01:00 4 | draft: false 5 | weight: 7 6 | --- 7 | 8 | A command&control module that connects to an IRC server for reporting and commands. 9 | 10 | ### Commands 11 | 12 | #### `c2 on` 13 | 14 | Start the C2 module. 15 | 16 | #### `c2 off` 17 | 18 | Stop the C2 module. 19 | 20 | #### `c2.channel.set EVENT_TYPE CHANNEL` 21 | 22 | Set a specific channel to report events of this type. 23 | 24 | #### `c2.channel.clear EVENT_TYPE` 25 | 26 | Clear the channel to use for a specific event type. 27 | 28 | #### `c2.template.set EVENT_TYPE TEMPLATE` 29 | 30 | Set the reporting template to use for a specific event type. 31 | 32 | #### `c2.template.clear EVENT_TYPE` 33 | 34 | Clear the reporting template to use for a specific event type. 35 | 36 | ### Parameters 37 | 38 | | parameter | default | description | 39 | |-----------|---------|-------------| 40 | | `c2.channel.control` | `#events` | IRC channel to receive commands from. | 41 | | `c2.channel.events` | `#events` | IRC channel to send events to. | 42 | | `c2.channel.output` | `#events` | IRC channel to send commands output to. | 43 | | `c2.nick` | `bettercap` | IRC nickname. | 44 | | `c2.operator` | `admin` | IRC nickname of the user allowed to run commands. | 45 | | `c2.password` | `password` | IRC server password. | 46 | | `c2.sasl.password` | | IRC server SASL password. | 47 | | `c2.sasl.username` | | IRC SASL username. | 48 | | `c2.server` | `localhost:6697` | IRC server address and port. | 49 | | `c2.server.tls` | `true` | Enable TLS. | 50 | | `c2.server.tls.verify` | `false` | Enable TLS certificate validation. | 51 | | `c2.username` | `bettercap` | IRC username. | -------------------------------------------------------------------------------- /content/modules/core/caplets/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "caplets" 3 | date: 2019-02-25T12:39:57+01:00 4 | draft: false 5 | weight: 3 6 | --- 7 | 8 | A module to list and update [caplets](/usage/#caplets). 9 | 10 | ### Commands 11 | 12 | #### `caplets.show` 13 | 14 | Show a list of installed caplets. 15 | 16 | #### `caplets.paths` 17 | 18 | Show a list caplet search paths. 19 | 20 | #### `caplets.update` 21 | 22 | Install/updates the caplets. 23 | 24 | ### Examples 25 | 26 | [![example](https://asciinema.org/a/XVohDvyR7xW2PSsnFcqnyG8G2.png)](https://asciinema.org/a/XVohDvyR7xW2PSsnFcqnyG8G2) 27 | -------------------------------------------------------------------------------- /content/modules/core/graph/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "graph" 3 | date: 2023-09-17T11:00:21+01:00 4 | draft: false 5 | weight: 0 6 | --- 7 | 8 | A module to build a graph of WiFi and LAN nodes. 9 | 10 | ### Commands 11 | 12 | #### `graph on` 13 | 14 | Start the graph module. 15 | 16 | #### `graph off` 17 | 18 | Stop the graph module. 19 | 20 | #### `graph.to_dot MAC?` 21 | 22 | Generate a dot graph file from the current graph (filtering by an optional MAC). 23 | 24 | #### `graph.to_json MAC?` 25 | 26 | Generate a JSON file from the current graph (filtering by an optional MAC). 27 | 28 | ### Parameters 29 | 30 | | parameter | default | description | 31 | |-----------|---------|-------------| 32 | | `graph.disconnected` | `false` | Include disconnected edges in the output graph. | 33 | | `graph.dot.layout` | `neato` | Layout for dot output. | 34 | | `graph.dot.name` | `bettergraph` | Graph name in the dot output. | 35 | | `graph.dot.output` | `bettergraph.dot` | File name for dot output. | 36 | | `graph.json.output` | `bettergraph.json` | File name for JSON output. | 37 | | `graph.path` | `/usr/local/share/bettercap/graph` | Base path for the graph database. | 38 | | `graph.privacy` | `false` | Obfuscate mac addresses. | 39 | 40 | -------------------------------------------------------------------------------- /content/modules/core/ticker/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ticker" 3 | date: 2019-02-25T11:57:21+01:00 4 | draft: false 5 | weight: 2 6 | --- 7 | 8 | The ticker module can be used to execute a given set of commands periodically in the interactive session. 9 | 10 | ### Commands 11 | 12 | #### `ticker on` 13 | 14 | Start the ticker. 15 | 16 | #### `ticker off` 17 | 18 | Stop the ticker. 19 | 20 | ### Parameters 21 | 22 | | parameter | default | description | 23 | |-----------|---------|-------------| 24 | | `ticker.commands` | `clear; net.show` | List of commands separated by a `;`. | 25 | | `ticker.period` | `1` | Ticker period in seconds. | 26 | 27 | ### Examples 28 | 29 | Start probing for hosts, clear the screen and plot discovered endpoints every second (will use default parameters): 30 | 31 | ``` 32 | > net.probe on; clear; ticker on 33 | ``` 34 | 35 | Keep deauthenticating clients from the access point with BSSID `DE:AD:BE:EF:DE:AD` every five seconds: 36 | 37 | ``` 38 | > set ticker.period 5; set ticker.commands "wifi.deauth DE:AD:BE:EF:DE:AD"; ticker on 39 | ``` 40 | -------------------------------------------------------------------------------- /content/modules/core/ui/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ui" 3 | date: 2019-03-27T12:39:51+01:00 4 | draft: false 5 | weight: 6 6 | --- 7 | 8 | A module to manage bettercap's UI updates and installed version. 9 | 10 | ### Commands 11 | 12 | #### `ui.on` 13 | 14 | Activates the weui. 15 | 16 | ### Parameters 17 | 18 | | parameter | default | description | 19 | |-----------|---------|-------------| 20 | | `ui.address` | `127.0.0.1` | Address to bind the web ui to. | 21 | | `ui.port` | `8080` | Port to bind the web ui server to. | 22 | -------------------------------------------------------------------------------- /content/modules/core/update/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "update" 3 | date: 2019-02-25T12:39:51+01:00 4 | draft: false 5 | weight: 4 6 | --- 7 | 8 | A module to check for bettercap's updates. 9 | 10 | ### Commands 11 | 12 | #### `update.check on` 13 | 14 | Check latest available stable version and compare it with the one being used. 15 | -------------------------------------------------------------------------------- /content/modules/ethernet/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "IPv4 / IPv6" 3 | date: 2019-02-25T11:10:07+01:00 4 | draft: false 5 | weight: 6 6 | --- 7 | 8 | These modules offer reconnaissance, active probing (mDNS, NBNS, UPnP and WSD) of hosts, sniffing / credentials harvesting, port scanning, spoofing (MITM) and a few basic servers for IPv4 and IPv6 based networks: 9 | 10 | {{% children depth="999" %}} 11 | -------------------------------------------------------------------------------- /content/modules/ethernet/net.probe/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "net.probe" 3 | date: 2019-02-25T12:51:29+01:00 4 | draft: false 5 | weight: 2 6 | --- 7 | 8 | When activated, this module will send different types of probe packets to each IP in the current subnet in order for the [net.recon](/modules/ethernet/net.recon/) module to detect them. 9 | 10 | ### Commands 11 | 12 | #### `net.probe on` 13 | 14 | Start the prober. 15 | #### `net.probe off` 16 | 17 | Stop the prober. 18 | 19 | ### Parameters 20 | 21 | | parameter | default | description | 22 | |-----------|---------|-------------| 23 | | `net.probe.throttle` | `10` | If greater than 0, probe packets will be throttled by this value in milliseconds. | 24 | | `net.probe.mdns` | `true` | Enable mDNS discovery probes. | 25 | | `net.probe.nbns` | `true` | Enable NetBIOS name system (NBNS) discovery probes. | 26 | | `net.probe.upnp` | `true` | Enable UPnP discovery probes. | 27 | | `net.probe.wsd` | `true` | Enable WSD discovery probes. | 28 | -------------------------------------------------------------------------------- /content/modules/ethernet/net.recon/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "net.recon" 3 | date: 2019-02-25T12:50:16+01:00 4 | draft: false 5 | weight: 1 6 | --- 7 | 8 | This module is responsible for periodically reading the system ARP table in order to detect new hosts on the network. 9 | 10 | ### Commands 11 | 12 | #### `net.recon on` 13 | 14 | Start network hosts discovery. 15 | 16 | #### `net.recon off` 17 | 18 | Stop network hosts discovery. 19 | 20 | #### `net.clear` 21 | 22 | Clear all endpoints collected by the hosts discovery module. 23 | 24 | #### `net.show` 25 | 26 | Show cache hosts list (default sorting by ip). 27 | 28 | #### `net.show ADDRESS1, ADDRESS2` 29 | 30 | Show information about a specific list of addresses (by IP or MAC). 31 | 32 | #### `net.show.meta ADDRESS1, ADDRESS2` 33 | 34 | Show metadata (mDNS, UPnP, open ports, etc) about a specific list of addresses (by IP or MAC). 35 | 36 | ### Parameters 37 | 38 | | parameter | default | description | 39 | |-----------|---------|-------------| 40 | | `net.show.meta` | `false` | If true, the net.show command will show all metadata collected about each endpoint. | 41 | | `net.show.filter` | | Defines a regular expression filter for `net.show`.| 42 | | `net.show.sort` | `ip asc` | Defines sorting field (`ip`, `mac`, `seen`, `sent`, `rcvd`) and direction (`asc` or `desc`) for `net.show`. | 43 | | `net.show.limit` | `0` | If greater than zero, defines limit for `net.show`. | 44 | 45 | ### Examples 46 | 47 | Sort by IP and filter for MAC addresses starting with `B8`: 48 | 49 | ``` 50 | > set net.show.sort ip asc 51 | > set net.show.filter ^B8 52 | > net.show 53 | ``` 54 | 55 | Filter by endpoints with the string `Apple` in their hostname or vendor fields: 56 | 57 | ``` 58 | > set net.show.filter Apple 59 | > net.show 60 | ``` 61 | 62 | Show top 10 endpoints sorted by last activity timestamp: 63 | 64 | ``` 65 | > set net.show.sort seen desc 66 | > set net.show.limit 10 67 | > net.show 68 | ``` 69 | -------------------------------------------------------------------------------- /content/modules/ethernet/proxies/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Proxies" 3 | date: 2019-02-25T13:03:38+01:00 4 | draft: false 5 | weight: 7 6 | --- 7 | 8 | A set of modules you can use to intercept traffic at the packet, TCP or HTTP/HTTPS level while performing a [MITM attack](/modules/ethernet/spoofers/). 9 | Each proxy can be either extended with the Go plugin system (when keeping high performances is important), or scripted with Javascript plugins thanks to the [Otto builtin engine](https://github.com/robertkrimen/otto): 10 | 11 | {{% children depth="999" %}} 12 | -------------------------------------------------------------------------------- /content/modules/ethernet/proxies/any.proxy/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "any.proxy" 3 | date: 2019-02-25T13:06:12+01:00 4 | draft: false 5 | weight: 1 6 | --- 7 | 8 | A simple firewall redirection to any custom proxy. 9 | 10 | ### Commands 11 | 12 | #### `any.proxy on` 13 | 14 | Start the custom proxy redirection. 15 | 16 | #### `any.proxy off` 17 | 18 | Stop the custom proxy redirection. 19 | 20 | ### Parameters 21 | 22 | | parameter | default | description | 23 | |-----------|---------|-------------| 24 | | `any.proxy.iface` | `` | Interface to redirect packets from. | 25 | | `any.proxy.protocol` | `TCP` | Proxy protocol. | 26 | | `any.proxy.src_port` | `80` | Remote port to redirect when the module is activated. | 27 | | `any.proxy.src_address` | | Leave empty to intercept any source address. | 28 | | `any.proxy.dst_address` | `` | Address where the proxy is listening. | 29 | | `any.proxy.dst_port` | `8080` | Port where the proxy is listening. | 30 | 31 | ### Examples 32 | 33 | Redirect all HTTP traffic to a local Burp proxy instance: 34 | 35 | ``` 36 | set any.proxy.dst_address 127.0.0.1 37 | any.proxy on 38 | ``` 39 | -------------------------------------------------------------------------------- /content/modules/ethernet/servers/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Servers" 3 | date: 2019-02-25T13:24:42+01:00 4 | draft: false 5 | weight: 8 6 | --- 7 | 8 | A set of servers used to serve files on a network or intercept credentials by exposing a rogue service: 9 | 10 | {{% children depth="999" %}} 11 | -------------------------------------------------------------------------------- /content/modules/ethernet/servers/http.server/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "http.server" 3 | date: 2019-02-25T13:25:15+01:00 4 | draft: false 5 | weight: 1 6 | --- 7 | 8 | A simple HTTP server, used to serve files and scripts across the network. 9 | 10 | ### Commands 11 | 12 | #### `http.server on` 13 | 14 | Start the HTTP server in the background. 15 | 16 | #### `http.server off` 17 | 18 | Stop the HTTP server in the background. 19 | 20 | ### Parameters 21 | 22 | | parameter | default | description | 23 | |-----------|---------|-------------| 24 | | `http.server.path` | `.` | Server folder. | 25 | | `http.server.address` | `` | Address to bind the http server to. | 26 | | `http.server.port` | `80` | Port to bind the http server to. | 27 | 28 | ### Examples 29 | 30 | One liner to serve `/var/www/html`: 31 | 32 | ```sh 33 | sudo bettercap -eval "set http.server.path /var/www/html; http.server on" 34 | ``` 35 | -------------------------------------------------------------------------------- /content/modules/ethernet/servers/https.server/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "https.server" 3 | date: 2019-02-25T13:25:21+01:00 4 | draft: false 5 | weight: 2 6 | --- 7 | 8 | A simple HTTPS server, used to serve files and scripts across the network. 9 | 10 | ### Commands 11 | 12 | #### `https.server on` 13 | 14 | Start the HTTP server in the background. 15 | 16 | #### `https.server off` 17 | 18 | Stop the HTTP server in the background. 19 | 20 | ### Parameters 21 | 22 | | parameter | default | description | 23 | |-----------|---------|-------------| 24 | | `https.server.path` | `.` | Server folder. | 25 | | `https.server.address` | `` | Address to bind the http server to. | 26 | | `https.server.port` | `443` | Port to bind the http server to. | 27 | | `https.server.certificate` | `~/.bettercap-https.cert.pem` | TLS certificate file (will be auto generated if filled but not existing). | 28 | | `https.server.key` | `~/.bettercap-https.key.pem` | TLS key file (will be auto generated if filled but not existing). | 29 | | `https.server.certificate.bits` | `4096` | Number of bits of the RSA private key of the generated HTTPS certificate. | 30 | | `https.server.certificate.commonname` | `bettercap` | Common Name field of the generated HTTPS certificate. | 31 | | `https.server.certificate.country` | `US` | Country field of the generated HTTPS certificate. | 32 | | `https.server.certificate.locality` | | Locality field of the generated HTTPS certificate. | 33 | | `https.server.certificate.organization` | `bettercap devteam` | Organization field of the generated HTTPS certificate. | 34 | | `https.server.certificate.organizationalunit` | `https://bettercap.org/` | Organizational Unit field of the generated HTTPS certificate. | 35 | 36 | ### Examples 37 | 38 | One liner to serve `/var/www/html`: 39 | 40 | ```sh 41 | sudo bettercap -eval "set https.server.path /var/www/html; https.server on" 42 | ``` 43 | -------------------------------------------------------------------------------- /content/modules/ethernet/servers/mdns.server/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "mdns.server" 3 | date: 2019-02-25T13:25:15+01:00 4 | draft: false 5 | weight: 3 6 | --- 7 | 8 | A mDNS server module to create multicast services or spoof existing ones. 9 | 10 | ### Commands 11 | 12 | #### `mdns.server on` 13 | 14 | Start the mDNS server in the background. 15 | 16 | #### `mdns.server off` 17 | 18 | Stop the mDNS server in the background. 19 | 20 | ### Parameters 21 | 22 | | parameter | default | description | 23 | |-----------|---------|-------------| 24 | | `mdns.server.address` | `` | IPv4 address of the mDNS service. | 25 | | `mdns.server.address6` | `` | IPv6 address of the mDNS service. | 26 | | `mdns.server.domain` | `local.` | mDNS domain. | 27 | | `mdns.server.host` | `.` | mDNS hostname to advertise on the network. | 28 | | `mdns.server.info` | `rpBA=DE:AD:BE:EF:CA:FE ...` | Comma separated list of informative TXT records for the mDNS server. | 29 | | `mdns.server.port` | `52377` | Port of the mDNS service. | 30 | | `mdns.server.service` | `_companion-link._tcp.` | mDNS service name to advertise on the network. | 31 | -------------------------------------------------------------------------------- /content/modules/ethernet/servers/mysql.server/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "mysql.server (rogue)" 3 | date: 2019-02-25T13:25:31+01:00 4 | draft: false 5 | weight: 4 6 | --- 7 | 8 | A rogue MySQL server that can be used to exploit [LOCAL INFILE and read arbitrary files](/modules/ethernet/spoofers/) from the client. 9 | 10 | ### Commands 11 | 12 | #### `mysql.server on` 13 | 14 | Start mysql server. 15 | 16 | #### `mysql.server off` 17 | 18 | Stop mysql server. 19 | 20 | ### Parameters 21 | 22 | | parameter | default | description | 23 | |-----------|---------|-------------| 24 | | `mysql.server.infile` | `/etc/passwd` | File you want to read. UNC paths are also supported. | 25 | | `mysql.server.outfile` | | If filled, the INFILE buffer will be saved to this path instead of being logged. | 26 | | `mysql.server.address` | `` | Address to bind the mysql server to. | 27 | | `mysql.server.port` | `3306` | Port to bind the mysql server to. | 28 | | `mysql.server.outfile` | If filled, the INFILE buffer will be saved to this path instead of being logged. | 29 | 30 | **Examples** 31 | 32 | One liner to start the server and steal /etc/passwd from clients connecting to your Rogue MySQL server 33 | 34 | $ sudo bettercap -eval "set mysql.server.infile /etc/hosts; mysql.server on" 35 | 36 | Now connect to your MySQL server and observe the file output on the Bettercap terminal 37 | 38 | $ mysql -u root -h 192.168.1.123 -pasdsasad --enable-local-infile 39 | 40 | -------------------------------------------------------------------------------- /content/modules/ethernet/spoofers/arp.spoof/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "arp.spoof" 3 | date: 2019-02-25T13:00:32+01:00 4 | draft: false 5 | weight: 1 6 | --- 7 | 8 | This module keeps spoofing selected hosts on the network using crafted ARP packets in order to perform a [MITM attack](/modules/ethernet/spoofers/#what-is-a-mitm-attack). 9 | 10 | ### Commands 11 | 12 | #### `arp.spoof on` 13 | 14 | Start ARP spoofer. 15 | #### `arp.ban on` 16 | 17 | Start ARP spoofer in ban mode, meaning the target(s) connectivity will not work. 18 | #### `arp.spoof/ban off` 19 | 20 | Stop ARP spoofer. 21 | 22 | 23 | ### Parameters 24 | 25 | | parameter | default | description | 26 | |-----------|---------|-------------| 27 | | `arp.spoof.targets` | `` | A comma separated list of MAC addresses, IP addresses, IP ranges or aliases to spoof ([a list of supported range formats](https://github.com/malfunkt/iprange)). | 28 | | `arp.spoof.whitelist` | | A comma separated list of MAC addresses, IP addresses, IP ranges or aliases to skip while spoofing. | 29 | | `arp.spoof.internal` | `false` | If true, local connections among computers of the network will be spoofed as well, otherwise only connections going to and coming from the external network. | 30 | | `arp.spoof.fullduplex` | `false` | If true, both the targets and the gateway will be attacked, otherwise only the target (**if the router has ARP spoofing protections in place this will make the attack fail**). | 31 | 32 | ### Examples 33 | 34 | Ban the address `192.168.1.6` from the network: 35 | 36 | > set arp.spoof.targets 192.168.1.6; arp.ban on 37 | 38 | Spoof `192.168.1.2`, `192.168.1.3` and `192.168.1.4`: 39 | 40 | > set arp.spoof.targets 192.168.1.2-4; arp.spoof on 41 | -------------------------------------------------------------------------------- /content/modules/ethernet/spoofers/dhcp6.spoof/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "dhcp6.spoof" 3 | date: 2019-02-25T13:02:36+01:00 4 | draft: false 5 | weight: 3 6 | --- 7 | 8 | This module's purpose is attacking Microsoft Windows hosts by replying to DHCPv6 messages and providing the target with a link-local 9 | IPv6 address and setting the attacker host as default DNS server (as described [here](https://blog.fox-it.com/2018/01/11/mitm6-compromising-ipv4-networks-via-ipv6/)). 10 | 11 | {{% notice info %}} 12 | This module must be used together with [dns.spoof](https://github.com/bettercap/bettercap/wiki/dns.spoof) module in order to be effective. 13 | {{% /notice %}} 14 | 15 | ### Commands 16 | 17 | #### `dhcp6.spoof on` 18 | 19 | Start the DHCPv6 spoofer in the background. 20 | #### `dhcp6.spoof off` 21 | 22 | Stop the DHCPv6 spoofer in the background. 23 | 24 | ### Parameters 25 | 26 | | parameter | default | description | 27 | |-----------|---------|-------------| 28 | | `dhcp6.spoof.domains` | `microsoft.com, goole.com, facebook.com, apple.com, twitter.com` | Comma separated values of domain names to spoof. | 29 | 30 | ### Examples 31 | 32 | The following is the [mitm6.cap](https://github.com/bettercap/caplets/blob/master/mitm6.cap) caplet performing the full DHCPv6 attack versus a Windows 10 machine which is booting: 33 | 34 | ```sh 35 | # let's spoof Microsoft and Google ^_^ 36 | set dns.spoof.domains microsoft.com, google.com 37 | set dhcp6.spoof.domains microsoft.com, google.com 38 | 39 | # every http request to the spoofed hosts will come to us 40 | # let's give em some contents 41 | set http.server.path /var/www/something 42 | 43 | # serve files 44 | http.server on 45 | # redirect DNS request by spoofing DHCPv6 packets 46 | dhcp6.spoof on 47 | # send spoofed DNS replies ^_^ 48 | dns.spoof on 49 | 50 | # set a custom prompt for ipv6 51 | set $ {by}{fw}{cidr} {fb}> {env.iface.ipv6} {reset} {bold}» {reset} 52 | # clear the events buffer and the screen 53 | events.clear 54 | clear 55 | ``` 56 | -------------------------------------------------------------------------------- /content/modules/ethernet/spoofers/dns.spoof/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "dns.spoof" 3 | date: 2019-02-25T13:01:48+01:00 4 | draft: false 5 | weight: 2 6 | --- 7 | 8 | Replies to DNS queries with spoofed responses. 9 | 10 | {{% notice info %}} 11 | In order to receive DNS queries from other hosts other than your own and be therefore able to spoof the selected domain names, you'll also need to activate either the [arp.spoof](/modules/ethernet/spoofers/arp.spoof/) or the [dhcp6.spoof](/modules/ethernet/spoofers/dhcp6.spoof/) module. 12 | {{% /notice %}} 13 | 14 | ### Commands 15 | 16 | #### `dns.spoof on` 17 | 18 | Start the DNS spoofer in the background. 19 | #### `dns.spoof off` 20 | 21 | Stop the DNS spoofer in the background. 22 | 23 | ### Parameters 24 | 25 | | parameter | default | description | 26 | |-----------|---------|-------------| 27 | | `dns.spoof.domains` | | Comma separated values of domain names to spoof. | 28 | | `dns.spoof.address` | `` | IP address to map the domains to. | 29 | | `dns.spoof.all` | `false` | If true the module will reply to every DNS request, otherwise it will only reply to the one targeting the local pc. | 30 | | `dns.spoof.hosts` | | If not empty, this hosts file will be used to map domains to IP addresses. | 31 | 32 | ### Examples 33 | 34 | Every DNS request coming to this computer for the `example.com` domain will resolve to the address `1.2.3.4`: 35 | 36 | > set dns.spoof.domains example.com; set dns.spoof.address 1.2.3.4; dns.spoof on 37 | 38 | Use a hosts file instead of the `dns.spoof.*` parameters for multiple mappings: 39 | 40 | > !cat ./dns.spoof.hosts 41 | 42 | 1.2.3.4 facebook.com 43 | 1.2.3.5 cnn.com 44 | 1.2.4.6 www.google.com 45 | 46 | > set dns.spoof.hosts ./dns.spoof.hosts; dns.spoof on 47 | -------------------------------------------------------------------------------- /content/modules/ethernet/spoofers/ndp.spoof/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ndp.spoof (IPv6)" 3 | date: 2021-04-12T13:02:36+01:00 4 | draft: false 5 | weight: 5 6 | --- 7 | 8 | This module performs [IPv6 neighbor spoofing](https://packetlife.net/blog/2009/feb/2/ipv6-neighbor-spoofing/) by sending crafted neighbor and router advertisement packets. 9 | 10 | ### Commands 11 | 12 | #### `ndp.spoof on` 13 | 14 | Start NDP spoofer. 15 | 16 | #### `ndp.spoof off` 17 | 18 | Stop NDP spoofer. 19 | 20 | ### Parameters 21 | 22 | | parameter | default | description | 23 | |-----------|---------|-------------| 24 | | `ndp.spoof.neighbour` | `fe80::1` | Neighbour IPv6 address to spoof, clear to disable NA. | 25 | | `ndp.spoof.prefix` | `d00d::` | IPv6 prefix for router advertisements spoofing, clear to disable RA. | 26 | | `ndp.spoof.prefix.length` | `64` | IPv6 prefix length for router advertisements. | 27 | | `ndp.spoof.targets` | | Comma separated list of IPv6 victim addresses. | 28 | | `ndp.spoof.router_lifetime` | `10` | Router lifetime for router advertisements in seconds. | -------------------------------------------------------------------------------- /content/modules/ethernet/syn.scan/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "syn.scan" 3 | date: 2019-02-25T12:53:38+01:00 4 | draft: false 5 | weight: 4 6 | --- 7 | 8 | A module to perform SYN port scanning, as open ports are discovered the `tcp-ports` meta field of the endpoints will be filled and it will be shown in the 9 | [net.show](/modules/ethernet/net.recon/#net-show) view if [net.show.meta](/modules/ethernet/net.recon/#parameters) is set to `true`. 10 | 11 | ### Commands 12 | 13 | #### `syn.scan IP-RANGE START-PORT END-PORT?` 14 | 15 | Perform a syn port scanning against an IP address within the provided ports range. 16 | #### `syn.scan stop` 17 | 18 | Stop the current syn scanning session. 19 | #### `syn.scan.progress` 20 | 21 | Print progress of the current syn scanning session. 22 | 23 | ### Parameters 24 | 25 | | parameter | default | description | 26 | |-----------|---------|-------------| 27 | | `syn.scan.show-progress-every` | `1` | Period in seconds for the scanning progress reporting. | 28 | 29 | ### Examples 30 | 31 | Scan a single ip for ports `1` to `1000`: 32 | 33 | > syn.scan 192.168.1.3 1 1000 34 | 35 | Scan several addresses for port `22`: 36 | 37 | > syn.scan 192.168.1.1-50 22 38 | 39 | Scan the entire subnet for ports `1` to `10000`: 40 | 41 | > syn.scan 192.168.1.0/24 1 10000 42 | -------------------------------------------------------------------------------- /content/modules/ethernet/wol/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "wake on lan" 3 | date: 2019-02-25T12:55:00+01:00 4 | draft: false 5 | weight: 5 6 | --- 7 | 8 | A module to send [Wake On LAN](https://en.wikipedia.org/wiki/Wake-on-LAN) packets in broadcast or to a specific MAC. 9 | 10 | ### Commands 11 | 12 | #### `wol.eth MAC` 13 | 14 | Send a WOL as a raw ethernet packet of type 0x0847 (if no MAC is specified, `ff:ff:ff:ff:ff:ff` will be used). 15 | #### `wol.udp MAC` 16 | 17 | Send a WOL as an IPv4 broadcast packet to UDP port 9 (if no MAC is specified, `ff:ff:ff:ff:ff:ff` will be used). 18 | -------------------------------------------------------------------------------- /content/modules/utils/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Utils" 3 | date: 2019-02-25T11:37:35+01:00 4 | draft: false 5 | weight: 7 6 | --- 7 | 8 | Various utility modules: 9 | 10 | {{% children depth="999" %}} 11 | -------------------------------------------------------------------------------- /content/modules/utils/gps/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "gps" 3 | date: 2019-02-25T13:33:04+01:00 4 | draft: false 5 | weight: 2 6 | --- 7 | 8 | This module can be used to obtain GPS coordinates from any receiver which exposes a serial interface. 9 | 10 | ### Commands 11 | 12 | #### `gps on` 13 | 14 | Start acquiring from the GPS hardware. 15 | 16 | #### `gps off` 17 | 18 | Stop acquiring from the GPS hardware. 19 | 20 | #### `gps.show` 21 | 22 | Show the last coordinates returned by the GPS hardware. 23 | 24 | #### `gps.set LAT LON` 25 | 26 | Manually set GPS location. 27 | 28 | ### Parameters 29 | 30 | | parameter | default | description | 31 | |-----------|---------|-------------| 32 | | `gps.device` | `/dev/ttyUSB0` | Serial device of the GPS hardware. | 33 | | `gps.baudrate` | `19200` | Baud rate of the GPS serial device. | 34 | 35 | ### Examples 36 | 37 | Turn on GPS, wait for 5 seconds and then show the current coordinates: 38 | 39 | ``` 40 | > gps on; sleep 5; gps.show 41 | ``` 42 | -------------------------------------------------------------------------------- /content/modules/utils/mac.changer/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "mac.changer" 3 | date: 2019-02-25T13:33:00+01:00 4 | draft: false 5 | weight: 1 6 | --- 7 | 8 | Change the selected interface mac address. 9 | 10 | ### Commands 11 | 12 | #### `mac.changer on` 13 | 14 | Start the mac changer module. 15 | 16 | #### `mac.changer off` 17 | 18 | Stop the mac changer module and restore the original mac address. 19 | 20 | ### Parameters 21 | 22 | | parameter | default | description | 23 | |-----------|---------|-------------| 24 | | `mac.changer.iface` | `` | Name of the interface to use. | 25 | | `mac.changer.address` | `` | Hardware address to apply to the interface. | 26 | -------------------------------------------------------------------------------- /content/usage/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Usage" 3 | date: 2019-02-25T10:58:28+01:00 4 | weight: 4 5 | draft: false 6 | --- 7 | 8 | bettercap can be used in three different ways: 9 | 10 | * [Web UI](/usage/webui/) - the easiest method, good if you never used bettercap before. 11 | * [Interactive Mode](/usage/interactive/) - an interactive session on terminal that will unlock more advanced features. 12 | * [Scripting](/usage/scripting/) - using the builtin javascript engine with agents that automate the session. -------------------------------------------------------------------------------- /content/usage/scripting/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Scripting" 3 | date: 2021-04-12T12:00:00+01:00 4 | weight: 3 5 | draft: false 6 | --- 7 | 8 | BetterCAP has a builtin Javascript engine [based on Otto](https://github.com/robertkrimen/otto) that you can use to interact with the session and automate tasks. 9 | 10 | Session scripts can be loaded using the `-script FILENAME` command line argument: 11 | 12 | sudo bettercap -script /path/to/script.js 13 | 14 | Once loaded the script can run session commands: 15 | 16 | ```js 17 | run('net.probe on'); 18 | ``` 19 | 20 | or shell commands: 21 | 22 | ```js 23 | run('!touch /tmp/yo'); 24 | ``` 25 | 26 | register for specific events: 27 | 28 | ```js 29 | onEvent('wifi.client.handshake', function(event){ 30 | var data = event.data; 31 | var gps = session.GPS; // session is a global object with all the session data 32 | var what = 'handshake'; 33 | 34 | if(data.pmkid != null) { 35 | what = "RSN PMKID"; 36 | } else if(data.full) { 37 | what += " (full)"; 38 | } else if(data.half) { 39 | what += " (half)"; 40 | } 41 | 42 | log('💰 Captured ' + what + ':'); 43 | log(' station: ' + data.station); 44 | log(' ap: ' + data.ap); 45 | log(' lat:' + gps.Latitude + ' lon:' + gps.Longitude + ' updated_at:' + gps.Updated.String()); 46 | }); 47 | ``` 48 | 49 | register for any event: 50 | 51 | ```js 52 | onEvent(function(event){ 53 | log(event.tag); 54 | }); 55 | ``` 56 | 57 | perform HTTP queries: 58 | 59 | ```js 60 | var resp = http.Get(url, {}); 61 | if( resp.Error ) { 62 | log(resp.Error.Error()); 63 | } else { 64 | log(resp.JSON.something); 65 | } 66 | ``` 67 | 68 | and a variety of other tasks depending on your imagination :D Check the [scripts repository](http://github.com/bettercap/scripts) for some example scripts. 69 | 70 | -------------------------------------------------------------------------------- /content/usage/webui/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Web UI" 3 | weight: 1 4 | draft: false 5 | --- 6 | 7 | ![UI](https://raw.githubusercontent.com/bettercap/media/master/ui-events.png) 8 | 9 | The easiest way to start playing with bettercap is using its official [web user interface](https://github.com/bettercap/ui), in order to install it make sure you have the [latest version of bettercap](https://github.com/bettercap/bettercap/releases), then: 10 | 11 | ```sh 12 | sudo bettercap -eval "ui on" 13 | ``` 14 | 15 | You can customize the UI (and REST API) settings, use `help ui` and `help api.rest` for more. -------------------------------------------------------------------------------- /docs/CNAME: -------------------------------------------------------------------------------- 1 | www.bettercap.org 2 | -------------------------------------------------------------------------------- /docs/categories/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Categories on bettercap 5 | https://bettercap.org/categories/ 6 | Recent content in Categories on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/contributing/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contributing on bettercap 5 | https://bettercap.org/contributing/ 6 | Recent content in Contributing on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/css/atom-one-dark-reasonable.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage 4 | 5 | Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax 6 | 7 | */ 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | line-height: 1.3em; 13 | color: #abb2bf; 14 | background: #282c34; 15 | border-radius: 5px; 16 | } 17 | .hljs-keyword, .hljs-operator { 18 | color: #F92672; 19 | } 20 | .hljs-pattern-match { 21 | color: #F92672; 22 | } 23 | .hljs-pattern-match .hljs-constructor { 24 | color: #61aeee; 25 | } 26 | .hljs-function { 27 | color: #61aeee; 28 | } 29 | .hljs-function .hljs-params { 30 | color: #A6E22E; 31 | } 32 | .hljs-function .hljs-params .hljs-typing { 33 | color: #FD971F; 34 | } 35 | .hljs-module-access .hljs-module { 36 | color: #7e57c2; 37 | } 38 | .hljs-constructor { 39 | color: #e2b93d; 40 | } 41 | .hljs-constructor .hljs-string { 42 | color: #9CCC65; 43 | } 44 | .hljs-comment, .hljs-quote { 45 | color: #b18eb1; 46 | font-style: italic; 47 | } 48 | .hljs-doctag, .hljs-formula { 49 | color: #c678dd; 50 | } 51 | .hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst { 52 | color: #e06c75; 53 | } 54 | .hljs-literal { 55 | color: #56b6c2; 56 | } 57 | .hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string { 58 | color: #98c379; 59 | } 60 | .hljs-built_in, .hljs-class .hljs-title { 61 | color: #e6c07b; 62 | } 63 | .hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number { 64 | color: #d19a66; 65 | } 66 | .hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title { 67 | color: #61aeee; 68 | } 69 | .hljs-emphasis { 70 | font-style: italic; 71 | } 72 | .hljs-strong { 73 | font-weight: bold; 74 | } 75 | .hljs-link { 76 | text-decoration: underline; 77 | } 78 | -------------------------------------------------------------------------------- /docs/css/auto-complete.css: -------------------------------------------------------------------------------- 1 | .autocomplete-suggestions { 2 | text-align: left; 3 | cursor: default; 4 | border: 1px solid #ccc; 5 | border-top: 0; 6 | background: #fff; 7 | box-shadow: -1px 1px 3px rgba(0,0,0,.1); 8 | 9 | /* core styles should not be changed */ 10 | position: absolute; 11 | display: none; 12 | z-index: 9999; 13 | max-height: 254px; 14 | overflow: hidden; 15 | overflow-y: auto; 16 | box-sizing: border-box; 17 | 18 | } 19 | .autocomplete-suggestion { 20 | position: relative; 21 | cursor: pointer; 22 | padding: 7px; 23 | line-height: 23px; 24 | white-space: nowrap; 25 | overflow: hidden; 26 | text-overflow: ellipsis; 27 | color: #333; 28 | } 29 | 30 | .autocomplete-suggestion b { 31 | font-weight: normal; 32 | color: #1f8dd6; 33 | } 34 | 35 | .autocomplete-suggestion.selected { 36 | background: #333; 37 | color: #fff; 38 | } 39 | 40 | .autocomplete-suggestion:hover { 41 | background: #444; 42 | color: #fff; 43 | } 44 | 45 | .autocomplete-suggestion > .context { 46 | font-size: 12px; 47 | } 48 | -------------------------------------------------------------------------------- /docs/css/featherlight.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Featherlight - ultra slim jQuery lightbox 3 | * Version 1.7.13 - http://noelboss.github.io/featherlight/ 4 | * 5 | * Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com) 6 | * MIT Licensed. 7 | **/ 8 | html.with-featherlight{overflow:hidden}.featherlight{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;text-align:center;white-space:nowrap;cursor:pointer;background:#333;background:rgba(0,0,0,0)}.featherlight:last-of-type{background:rgba(0,0,0,.8)}.featherlight:before{content:'';display:inline-block;height:100%;vertical-align:middle}.featherlight .featherlight-content{position:relative;text-align:left;vertical-align:middle;display:inline-block;overflow:auto;padding:25px 25px 0;border-bottom:25px solid transparent;margin-left:5%;margin-right:5%;max-height:95%;background:#fff;cursor:auto;white-space:normal}.featherlight .featherlight-inner{display:block}.featherlight link.featherlight-inner,.featherlight script.featherlight-inner,.featherlight style.featherlight-inner{display:none}.featherlight .featherlight-close-icon{position:absolute;z-index:9999;top:0;right:0;line-height:25px;width:25px;cursor:pointer;text-align:center;font-family:Arial,sans-serif;background:#fff;background:rgba(255,255,255,.3);color:#000;border:0;padding:0}.featherlight .featherlight-close-icon::-moz-focus-inner{border:0;padding:0}.featherlight .featherlight-image{width:100%}.featherlight-iframe .featherlight-content{border-bottom:0;padding:0;-webkit-overflow-scrolling:touch}.featherlight iframe{border:0}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (max-width:1024px){.featherlight .featherlight-content{margin-left:0;margin-right:0;max-height:98%;padding:10px 10px 0;border-bottom:10px solid transparent}}@media print{html.with-featherlight>*>:not(.featherlight){display:none}} -------------------------------------------------------------------------------- /docs/css/hybrid.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) 4 | 5 | */ 6 | 7 | /*background color*/ 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #1d1f21; 13 | } 14 | 15 | /*selection color*/ 16 | .hljs::selection, 17 | .hljs span::selection { 18 | background: #373b41; 19 | } 20 | 21 | .hljs::-moz-selection, 22 | .hljs span::-moz-selection { 23 | background: #373b41; 24 | } 25 | 26 | /*foreground color*/ 27 | .hljs { 28 | color: #c5c8c6; 29 | } 30 | 31 | /*color: fg_yellow*/ 32 | .hljs-title, 33 | .hljs-name { 34 | color: #f0c674; 35 | } 36 | 37 | /*color: fg_comment*/ 38 | .hljs-comment, 39 | .hljs-meta, 40 | .hljs-meta .hljs-keyword { 41 | color: #707880; 42 | } 43 | 44 | /*color: fg_red*/ 45 | .hljs-number, 46 | .hljs-symbol, 47 | .hljs-literal, 48 | .hljs-deletion, 49 | .hljs-link { 50 | color: #cc6666 51 | } 52 | 53 | /*color: fg_green*/ 54 | .hljs-string, 55 | .hljs-doctag, 56 | .hljs-addition, 57 | .hljs-regexp, 58 | .hljs-selector-attr, 59 | .hljs-selector-pseudo { 60 | color: #b5bd68; 61 | } 62 | 63 | /*color: fg_purple*/ 64 | .hljs-attribute, 65 | .hljs-code, 66 | .hljs-selector-id { 67 | color: #b294bb; 68 | } 69 | 70 | /*color: fg_blue*/ 71 | .hljs-keyword, 72 | .hljs-selector-tag, 73 | .hljs-bullet, 74 | .hljs-tag { 75 | color: #81a2be; 76 | } 77 | 78 | /*color: fg_aqua*/ 79 | .hljs-subst, 80 | .hljs-variable, 81 | .hljs-template-tag, 82 | .hljs-template-variable { 83 | color: #8abeb7; 84 | } 85 | 86 | /*color: fg_orange*/ 87 | .hljs-type, 88 | .hljs-built_in, 89 | .hljs-builtin-name, 90 | .hljs-quote, 91 | .hljs-section, 92 | .hljs-selector-class { 93 | color: #de935f; 94 | } 95 | 96 | .hljs-emphasis { 97 | font-style: italic; 98 | } 99 | 100 | .hljs-strong { 101 | font-weight: bold; 102 | } 103 | -------------------------------------------------------------------------------- /docs/css/tabs.css: -------------------------------------------------------------------------------- 1 | #body .tab-nav-button { 2 | border-width: 1px 1px 1px 1px !important; 3 | border-color: #ccc !important; 4 | border-radius: 4px 4px 0 0 !important; 5 | background-color: #ddd !important; 6 | float: left; 7 | display: block; 8 | position: relative; 9 | margin-left: 4px; 10 | bottom: -1px; 11 | } 12 | #body .tab-nav-button:first-child { 13 | margin-left: 0px; 14 | } 15 | #body .tab-nav-button.active { 16 | background-color: #fff !important; 17 | border-bottom-color: #fff !important; 18 | } 19 | 20 | #body .tab-panel { 21 | margin-top: 32px; 22 | margin-bottom: 32px; 23 | } 24 | #body .tab-content { 25 | display: block; 26 | clear: both; 27 | padding: 8px; 28 | border-width: 1px; 29 | border-style: solid; 30 | border-color: #ccc; 31 | } 32 | #body .tab-content .tab-item{ 33 | display: none; 34 | } 35 | 36 | #body .tab-content .tab-item.active{ 37 | display: block; 38 | } 39 | 40 | #body .tab-item pre{ 41 | margin-bottom: 0; 42 | margin-top: 0; 43 | } 44 | -------------------------------------------------------------------------------- /docs/css/tags.css: -------------------------------------------------------------------------------- 1 | /* Tags */ 2 | 3 | #head-tags{ 4 | margin-left:1em; 5 | margin-top:1em; 6 | } 7 | 8 | #body .tags a.tag-link { 9 | display: inline-block; 10 | line-height: 2em; 11 | font-size: 0.8em; 12 | position: relative; 13 | margin: 0 16px 8px 0; 14 | padding: 0 10px 0 12px; 15 | background: #8451a1; 16 | 17 | -webkit-border-bottom-right-radius: 3px; 18 | border-bottom-right-radius: 3px; 19 | -webkit-border-top-right-radius: 3px; 20 | border-top-right-radius: 3px; 21 | 22 | -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); 23 | box-shadow: 0 1px 2px rgba(0,0,0,0.2); 24 | color: #fff; 25 | } 26 | 27 | #body .tags a.tag-link:before { 28 | content: ""; 29 | position: absolute; 30 | top:0; 31 | left: -1em; 32 | width: 0; 33 | height: 0; 34 | border-color: transparent #8451a1 transparent transparent; 35 | border-style: solid; 36 | border-width: 1em 1em 1em 0; 37 | } 38 | 39 | #body .tags a.tag-link:after { 40 | content: ""; 41 | position: absolute; 42 | top: 10px; 43 | left: 1px; 44 | width: 5px; 45 | height: 5px; 46 | -webkit-border-radius: 50%; 47 | border-radius: 100%; 48 | background: #fff; 49 | } 50 | -------------------------------------------------------------------------------- /docs/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/favicon.png -------------------------------------------------------------------------------- /docs/fonts/Inconsolata.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Inconsolata.eot -------------------------------------------------------------------------------- /docs/fonts/Inconsolata.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Inconsolata.ttf -------------------------------------------------------------------------------- /docs/fonts/Inconsolata.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Inconsolata.woff -------------------------------------------------------------------------------- /docs/fonts/Novecentosanswide-Normal-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Novecentosanswide-Normal-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/Novecentosanswide-Normal-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Novecentosanswide-Normal-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/Novecentosanswide-Normal-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Novecentosanswide-Normal-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/Novecentosanswide-Normal-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Novecentosanswide-Normal-webfont.woff2 -------------------------------------------------------------------------------- /docs/fonts/Novecentosanswide-UltraLight-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Novecentosanswide-UltraLight-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/Novecentosanswide-UltraLight-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Novecentosanswide-UltraLight-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/Novecentosanswide-UltraLight-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Novecentosanswide-UltraLight-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/Novecentosanswide-UltraLight-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Novecentosanswide-UltraLight-webfont.woff2 -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_200.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_200.eot -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_200.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_200.ttf -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_200.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_200.woff -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_200.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_200.woff2 -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_300.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_300.eot -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_300.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_300.ttf -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_300.woff -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_300.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_300.woff2 -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_500.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_500.eot -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_500.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_500.ttf -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_500.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_500.woff -------------------------------------------------------------------------------- /docs/fonts/Work_Sans_500.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/fonts/Work_Sans_500.woff2 -------------------------------------------------------------------------------- /docs/images/clippy.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/images/favicon.png -------------------------------------------------------------------------------- /docs/images/gopher-404.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/images/gopher-404.jpg -------------------------------------------------------------------------------- /docs/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | bettercap 5 | https://bettercap.org/ 6 | Recent content on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/installation/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Installation on bettercap 5 | https://bettercap.org/installation/ 6 | Recent content in Installation on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/intro/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Introduction on bettercap 5 | https://bettercap.org/intro/ 6 | Recent content in Introduction on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/legacy/assets/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/ajax-loader.gif -------------------------------------------------------------------------------- /docs/legacy/assets/comment-bright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/comment-bright.png -------------------------------------------------------------------------------- /docs/legacy/assets/comment-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/comment-close.png -------------------------------------------------------------------------------- /docs/legacy/assets/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/comment.png -------------------------------------------------------------------------------- /docs/legacy/assets/down-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/down-pressed.png -------------------------------------------------------------------------------- /docs/legacy/assets/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/down.png -------------------------------------------------------------------------------- /docs/legacy/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/favicon.png -------------------------------------------------------------------------------- /docs/legacy/assets/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/file.png -------------------------------------------------------------------------------- /docs/legacy/assets/fonts/Inconsolata-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/fonts/Inconsolata-Bold.ttf -------------------------------------------------------------------------------- /docs/legacy/assets/fonts/Inconsolata-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/fonts/Inconsolata-Regular.ttf -------------------------------------------------------------------------------- /docs/legacy/assets/fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /docs/legacy/assets/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /docs/legacy/assets/fonts/RobotoSlab-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/fonts/RobotoSlab-Bold.ttf -------------------------------------------------------------------------------- /docs/legacy/assets/fonts/RobotoSlab-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/fonts/RobotoSlab-Regular.ttf -------------------------------------------------------------------------------- /docs/legacy/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/legacy/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/legacy/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/legacy/assets/img/mitm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/img/mitm.jpg -------------------------------------------------------------------------------- /docs/legacy/assets/img/proxy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/img/proxy.png -------------------------------------------------------------------------------- /docs/legacy/assets/img/sslstrip2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/img/sslstrip2.png -------------------------------------------------------------------------------- /docs/legacy/assets/img/with-hsts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/img/with-hsts.png -------------------------------------------------------------------------------- /docs/legacy/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/logo.png -------------------------------------------------------------------------------- /docs/legacy/assets/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/minus.png -------------------------------------------------------------------------------- /docs/legacy/assets/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/plus.png -------------------------------------------------------------------------------- /docs/legacy/assets/up-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/up-pressed.png -------------------------------------------------------------------------------- /docs/legacy/assets/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/legacy/assets/up.png -------------------------------------------------------------------------------- /docs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/logo.png -------------------------------------------------------------------------------- /docs/logo_full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/logo_full.png -------------------------------------------------------------------------------- /docs/modules/ble/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Bluetooth LE on bettercap 5 | https://bettercap.org/modules/ble/ 6 | Recent content in Bluetooth LE on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/canbus/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CAN-bus on bettercap 5 | https://bettercap.org/modules/canbus/ 6 | Recent content in CAN-bus on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/core/api.rest/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | api.rest on bettercap 5 | https://bettercap.org/modules/core/api.rest/ 6 | Recent content in api.rest on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/core/c2/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | c2 on bettercap 5 | https://bettercap.org/modules/core/c2/ 6 | Recent content in c2 on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/core/caplets/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | caplets on bettercap 5 | https://bettercap.org/modules/core/caplets/ 6 | Recent content in caplets on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/core/events.stream/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | events.stream on bettercap 5 | https://bettercap.org/modules/core/events.stream/ 6 | Recent content in events.stream on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/core/graph/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | graph on bettercap 5 | https://bettercap.org/modules/core/graph/ 6 | Recent content in graph on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/core/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Core on bettercap 5 | https://bettercap.org/modules/core/ 6 | Recent content in Core on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/core/ticker/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ticker on bettercap 5 | https://bettercap.org/modules/core/ticker/ 6 | Recent content in ticker on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/core/ui/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ui on bettercap 5 | https://bettercap.org/modules/core/ui/ 6 | Recent content in ui on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/core/update/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | update on bettercap 5 | https://bettercap.org/modules/core/update/ 6 | Recent content in update on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | IPv4 / IPv6 on bettercap 5 | https://bettercap.org/modules/ethernet/ 6 | Recent content in IPv4 / IPv6 on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/net.probe/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net.probe on bettercap 5 | https://bettercap.org/modules/ethernet/net.probe/ 6 | Recent content in net.probe on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/net.recon/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net.recon on bettercap 5 | https://bettercap.org/modules/ethernet/net.recon/ 6 | Recent content in net.recon on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/net.sniff/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net.sniff - net.fuzz on bettercap 5 | https://bettercap.org/modules/ethernet/net.sniff/ 6 | Recent content in net.sniff - net.fuzz on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/proxies/any.proxy/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | any.proxy on bettercap 5 | https://bettercap.org/modules/ethernet/proxies/any.proxy/ 6 | Recent content in any.proxy on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/proxies/http.proxy/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | http.proxy on bettercap 5 | https://bettercap.org/modules/ethernet/proxies/http.proxy/ 6 | Recent content in http.proxy on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/proxies/https.proxy/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https.proxy on bettercap 5 | https://bettercap.org/modules/ethernet/proxies/https.proxy/ 6 | Recent content in https.proxy on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/proxies/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Proxies on bettercap 5 | https://bettercap.org/modules/ethernet/proxies/ 6 | Recent content in Proxies on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/proxies/packet.proxy/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | packet.proxy on bettercap 5 | https://bettercap.org/modules/ethernet/proxies/packet.proxy/ 6 | Recent content in packet.proxy on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/proxies/tcp.proxy/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | tcp.proxy on bettercap 5 | https://bettercap.org/modules/ethernet/proxies/tcp.proxy/ 6 | Recent content in tcp.proxy on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/servers/http.server/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | http.server on bettercap 5 | https://bettercap.org/modules/ethernet/servers/http.server/ 6 | Recent content in http.server on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/servers/https.server/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https.server on bettercap 5 | https://bettercap.org/modules/ethernet/servers/https.server/ 6 | Recent content in https.server on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/servers/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Servers on bettercap 5 | https://bettercap.org/modules/ethernet/servers/ 6 | Recent content in Servers on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/servers/mdns.server/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | mdns.server on bettercap 5 | https://bettercap.org/modules/ethernet/servers/mdns.server/ 6 | Recent content in mdns.server on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/servers/mysql.server/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | mysql.server (rogue) on bettercap 5 | https://bettercap.org/modules/ethernet/servers/mysql.server/ 6 | Recent content in mysql.server (rogue) on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/spoofers/arp.spoof/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | arp.spoof on bettercap 5 | https://bettercap.org/modules/ethernet/spoofers/arp.spoof/ 6 | Recent content in arp.spoof on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/spoofers/dhcp6.spoof/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | dhcp6.spoof on bettercap 5 | https://bettercap.org/modules/ethernet/spoofers/dhcp6.spoof/ 6 | Recent content in dhcp6.spoof on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/spoofers/dns.spoof/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | dns.spoof on bettercap 5 | https://bettercap.org/modules/ethernet/spoofers/dns.spoof/ 6 | Recent content in dns.spoof on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/spoofers/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Spoofers on bettercap 5 | https://bettercap.org/modules/ethernet/spoofers/ 6 | Recent content in Spoofers on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/spoofers/ndp.spoof/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ndp.spoof (IPv6) on bettercap 5 | https://bettercap.org/modules/ethernet/spoofers/ndp.spoof/ 6 | Recent content in ndp.spoof (IPv6) on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/syn.scan/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | syn.scan on bettercap 5 | https://bettercap.org/modules/ethernet/syn.scan/ 6 | Recent content in syn.scan on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/ethernet/wol/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | wake on lan on bettercap 5 | https://bettercap.org/modules/ethernet/wol/ 6 | Recent content in wake on lan on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/hid/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | HID on 2.4Ghz on bettercap 5 | https://bettercap.org/modules/hid/ 6 | Recent content in HID on 2.4Ghz on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Modules on bettercap 5 | https://bettercap.org/modules/ 6 | Recent content in Modules on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/utils/gps/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | gps on bettercap 5 | https://bettercap.org/modules/utils/gps/ 6 | Recent content in gps on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/utils/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Utils on bettercap 5 | https://bettercap.org/modules/utils/ 6 | Recent content in Utils on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/utils/mac.changer/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | mac.changer on bettercap 5 | https://bettercap.org/modules/utils/mac.changer/ 6 | Recent content in mac.changer on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/modules/wifi/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | WiFi on bettercap 5 | https://bettercap.org/modules/wifi/ 6 | Recent content in WiFi on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /docs/tags/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Tags on bettercap 5 | https://bettercap.org/tags/ 6 | Recent content in Tags on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/usage/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Usage on bettercap 5 | https://bettercap.org/usage/ 6 | Recent content in Usage on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/usage/interactive/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Interactive Session on bettercap 5 | https://bettercap.org/usage/interactive/ 6 | Recent content in Interactive Session on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/usage/scripting/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Scripting on bettercap 5 | https://bettercap.org/usage/scripting/ 6 | Recent content in Scripting on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/usage/webui/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Web UI on bettercap 5 | https://bettercap.org/usage/webui/ 6 | Recent content in Web UI on bettercap 7 | Hugo 8 | en-us 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/webfonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-brands-400.eot -------------------------------------------------------------------------------- /docs/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /docs/webfonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-brands-400.woff -------------------------------------------------------------------------------- /docs/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /docs/webfonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-regular-400.eot -------------------------------------------------------------------------------- /docs/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /docs/webfonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-regular-400.woff -------------------------------------------------------------------------------- /docs/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /docs/webfonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-solid-900.eot -------------------------------------------------------------------------------- /docs/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /docs/webfonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-solid-900.woff -------------------------------------------------------------------------------- /docs/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/docs/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /layouts/partials/custom-footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 14 | -------------------------------------------------------------------------------- /layouts/partials/custom-header.html: -------------------------------------------------------------------------------- 1 | 64 | -------------------------------------------------------------------------------- /layouts/partials/favicon.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layouts/partials/logo.html: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 | 10 | Release 11 | 12 |
13 | 14 |

15 | 16 | 17 | 18 |

-------------------------------------------------------------------------------- /layouts/partials/menu-footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/layouts/partials/menu-footer.html -------------------------------------------------------------------------------- /static/CNAME: -------------------------------------------------------------------------------- 1 | www.bettercap.org 2 | -------------------------------------------------------------------------------- /static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/favicon.png -------------------------------------------------------------------------------- /static/legacy/assets/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/ajax-loader.gif -------------------------------------------------------------------------------- /static/legacy/assets/comment-bright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/comment-bright.png -------------------------------------------------------------------------------- /static/legacy/assets/comment-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/comment-close.png -------------------------------------------------------------------------------- /static/legacy/assets/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/comment.png -------------------------------------------------------------------------------- /static/legacy/assets/down-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/down-pressed.png -------------------------------------------------------------------------------- /static/legacy/assets/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/down.png -------------------------------------------------------------------------------- /static/legacy/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/favicon.png -------------------------------------------------------------------------------- /static/legacy/assets/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/file.png -------------------------------------------------------------------------------- /static/legacy/assets/fonts/Inconsolata-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/fonts/Inconsolata-Bold.ttf -------------------------------------------------------------------------------- /static/legacy/assets/fonts/Inconsolata-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/fonts/Inconsolata-Regular.ttf -------------------------------------------------------------------------------- /static/legacy/assets/fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /static/legacy/assets/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /static/legacy/assets/fonts/RobotoSlab-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/fonts/RobotoSlab-Bold.ttf -------------------------------------------------------------------------------- /static/legacy/assets/fonts/RobotoSlab-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/fonts/RobotoSlab-Regular.ttf -------------------------------------------------------------------------------- /static/legacy/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/legacy/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/legacy/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/legacy/assets/img/mitm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/img/mitm.jpg -------------------------------------------------------------------------------- /static/legacy/assets/img/proxy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/img/proxy.png -------------------------------------------------------------------------------- /static/legacy/assets/img/sslstrip2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/img/sslstrip2.png -------------------------------------------------------------------------------- /static/legacy/assets/img/with-hsts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/img/with-hsts.png -------------------------------------------------------------------------------- /static/legacy/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/logo.png -------------------------------------------------------------------------------- /static/legacy/assets/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/minus.png -------------------------------------------------------------------------------- /static/legacy/assets/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/plus.png -------------------------------------------------------------------------------- /static/legacy/assets/up-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/up-pressed.png -------------------------------------------------------------------------------- /static/legacy/assets/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/legacy/assets/up.png -------------------------------------------------------------------------------- /static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/logo.png -------------------------------------------------------------------------------- /static/logo_full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/static/logo_full.png -------------------------------------------------------------------------------- /static/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/.editorconfig: -------------------------------------------------------------------------------- 1 | # https://editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_size = 2 9 | indent_style = space 10 | trim_trailing_whitespace = true 11 | 12 | [*.js] 13 | insert_final_newline = true 14 | 15 | [*.md] 16 | trim_trailing_whitespace = false 17 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | public/ 3 | exampleSite/public 4 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/.grenrc.yml: -------------------------------------------------------------------------------- 1 | --- 2 | dataSource: "prs" 3 | prefix: "v" 4 | onlyMilestones: false 5 | changelogFilename: "CHANGELOG.md" 6 | includeMessages: "all" 7 | ignoreIssuesWith: 8 | - "support" 9 | ignoreLabels: 10 | - "duplicate" 11 | - "invalid" 12 | - "wontfix" 13 | groupBy: 14 | New features: 15 | - "feature" 16 | Bug Fixes: 17 | - "bug" 18 | Enhancements: 19 | - "enhancement" 20 | Internationalisation: 21 | - "i18n" 22 | Theme Meta: 23 | - "meta" 24 | Uncategorised: 25 | - "closed" 26 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Grav 4 | Copyright (c) 2016 MATHIEU CORNIC 5 | Copyright (c) 2017 Valere JEANTET 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy of 8 | this software and associated documentation files (the "Software"), to deal in 9 | the Software without restriction, including without limitation the rights to 10 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 11 | the Software, and to permit persons to whom the Software is furnished to do so, 12 | subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in all 15 | copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 19 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 20 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 21 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 22 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/archetypes/chapter.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "{{ replace .Name "-" " " | title }}" 3 | date = {{ .Date }} 4 | weight = 5 5 | chapter = true 6 | pre = "X. " 7 | +++ 8 | 9 | ### Chapter X 10 | 11 | # Some Chapter title 12 | 13 | Lorem Ipsum. -------------------------------------------------------------------------------- /themes/hugo-theme-learn/archetypes/default.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "{{ replace .Name "-" " " | title }}" 3 | date = {{ .Date }} 4 | weight = 5 5 | +++ 6 | 7 | Lorem Ipsum. -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 MATHIEU CORNIC 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/_index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Basics 3 | weight: 5 4 | pre: "1. " 5 | chapter: true 6 | --- 7 | 8 | ### Chapter 1 9 | 10 | # Basics 11 | 12 | Discover what this Hugo theme is all about and the core-concepts behind it. 13 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/_index.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Démarrage 3 | weight: 5 4 | pre: "1. " 5 | chapter: true 6 | --- 7 | 8 | ### Chapitre 1 9 | 10 | # Démarrage 11 | 12 | Découvrez comment utiliser ce thème Hugo et apprenez-en les concepts 13 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/_index.zh.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 基础 3 | weight: 5 4 | pre: "1. " 5 | chapter: true 6 | --- 7 | 8 | ### 章节 1 9 | 10 | # 基础 11 | 12 | 了解该 Hugo 主题的特点以及背后的核心概念。 13 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/configuration/images/home_button_defaults.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/basics/configuration/images/home_button_defaults.jpg -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/installation/images/chapter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/basics/installation/images/chapter.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Requirements 3 | weight: 10 4 | disableToc: true 5 | --- 6 | 7 | Thanks to the simplicity of Hugo, this page is as empty as this theme needs requirements. 8 | 9 | Just download latest version of [Hugo binary (> 0.25)](https://gohugo.io/getting-started/installing/) for your OS (Windows, Linux, Mac) : it's that simple. 10 | 11 | ![Magic](/en/basics/requirements/images/magic.gif?classes=shadow) 12 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/requirements/_index.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Prérequis 3 | weight: 10 4 | disableToc: true 5 | --- 6 | 7 | Grâce à la simplicité d'Hugo, cette page est vide car il n'y a quasi pas de prérequis pour utiliser le thème. 8 | 9 | Téléchargez la dernière version du [binaire Hugo (> 0.25)](https://gohugo.io/getting-started/installing/) pour votre Système d'exploitation (Windows, Linux, Mac) : et c'est tout ! 10 | 11 | ![Magic](/en/basics/requirements/images/magic.gif?classes=shadow) 12 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/requirements/images/magic.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/basics/requirements/images/magic.gif -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/blue-variant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/blue-variant.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/green-variant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/green-variant.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/red-variant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/basics/style-customization/images/red-variant.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/_index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Content 3 | weight: 10 4 | chapter: true 5 | pre: "2. " 6 | --- 7 | 8 | ### Chapter 2 9 | 10 | # Content 11 | 12 | Find out how to create and organize your content quickly and intuitively. 13 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/_index.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Contenu 3 | weight: 10 4 | chapter: true 5 | pre: "2. " 6 | --- 7 | 8 | ### Chapitre 2 9 | 10 | # Contenu 11 | 12 | Découvrez comment créer et organiser votre contenu facilement et intuitivement. 13 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/archetypes.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Archetypes 3 | weight: 10 4 | --- 5 | 6 | Using the command: `hugo new [relative new content path]`, you can start a content file with the date and title automatically set. While this is a welcome feature, active writers need more: [archetypes](https://gohugo.io/content/archetypes/). 7 | 8 | It is pre-configured skeleton pages with default front matter. Please refer to the documentation for types of page to understand the differences. 9 | 10 | ## Chapter {#archetypes-chapter} 11 | 12 | To create a Chapter page, run the following commands 13 | 14 | ``` 15 | hugo new --kind chapter /_index.md 16 | ``` 17 | 18 | It will create a page with predefined Front-Matter: 19 | 20 | ```markdown 21 | +++ 22 | title = "{{ replace .Name "-" " " | title }}" 23 | date = {{ .Date }} 24 | weight = 5 25 | chapter = true 26 | pre = "X. " 27 | +++ 28 | 29 | ### Chapter X 30 | 31 | # Some Chapter title 32 | 33 | Lorem Ipsum. 34 | ``` 35 | 36 | ## Default 37 | 38 | To create a default page, run either one of the following commands 39 | 40 | ``` 41 | # Either 42 | hugo new //_index.md 43 | # Or 44 | hugo new /.md 45 | ``` 46 | 47 | It will create a page with predefined Front-Matter: 48 | 49 | ```markdown 50 | +++ 51 | title = "{{ replace .Name "-" " " | title }}" 52 | date = {{ .Date }} 53 | weight = 5 54 | +++ 55 | 56 | Lorem Ipsum. 57 | ``` 58 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/archetypes.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Archétypes 3 | weight: 10 4 | --- 5 | 6 | En utilisant la commande: `hugo new [chemin vers nouveau contenu]`, vous pouvez créer un nouveau fichier avec la date et le title automatiquement initialisé. Même si c'est une fonctionnalité intéressante, elle reste limitée pour les auteurs actifs qui ont besoin de mieux : les [archetypes](https://gohugo.io/content/archetypes/). 7 | 8 | Les archétypes sont des squelettes de pages préconfigurées avec un Front Matter par défaut. Merci de vous référer à la documentation pour connaitre les différents types de page. 9 | 10 | ## Chapitre {#archetypes-chapter} 11 | 12 | Pour créer un chapitre, lancez les commandes suivantes 13 | 14 | ``` 15 | hugo new --kind chapter /_index.md 16 | ``` 17 | 18 | Cela crééra une page avec le Front Matter suivant: 19 | 20 | ```markdown 21 | +++ 22 | title = "{{ replace .Name "-" " " | title }}" 23 | date = {{ .Date }} 24 | weight = 5 25 | chapter = true 26 | pre = "X. " 27 | +++ 28 | 29 | ### Chapter X 30 | 31 | # Some Chapter title 32 | 33 | Lorem Ipsum. 34 | ``` 35 | 36 | ## Défaut 37 | 38 | Pour créer une page classique, lancer l'une des deux commandes suivantes 39 | 40 | ``` 41 | # Soit 42 | hugo new //_index.md 43 | # Ou 44 | hugo new /.md 45 | ``` 46 | 47 | Cela crééra une page avec le Front Matter suivant: 48 | 49 | ```markdown 50 | +++ 51 | title = "{{ replace .Name "-" " " | title }}" 52 | date = {{ .Date }} 53 | weight = 5 54 | +++ 55 | 56 | Lorem Ipsum. 57 | ``` -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/i18n/images/i18n-menu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/cont/i18n/images/i18n-menu.gif -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/icons.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Icons and logos 3 | weight: 27 4 | --- 5 | 6 | The Learn theme for Hugo loads the [**Font Awesome**](https://fontawesome.com) library, allowing you to easily display any icon or logo available in the Font Awesome free collection. 7 | 8 | ## Finding an icon 9 | 10 | Browse through the available icons in the [Font Awesome Gallery](https://fontawesome.com/icons?d=gallery&m=free). Notice that the **free** filter is enabled, as only the free icons are available by default. 11 | 12 | Once on the Font Awesome page for a specific icon, for example the page for the [heart](https://fontawesome.com/icons/heart?style=solid), copy the HTML reference and paste into the markdown content. 13 | 14 | The HTML to include the heart icon is: 15 | 16 | ``` 17 | 18 | ``` 19 | 20 | ## Including in markdown 21 | 22 | Paste the `` HTML into markup and Font Awesome will load the relevant icon. 23 | 24 | ``` 25 | Built with from Grav and Hugo 26 | ``` 27 | 28 | Which appears as 29 | 30 | Built with from Grav and Hugo 31 | 32 | ## Customising icons 33 | 34 | Font Awesome provides many ways to modify the icon 35 | 36 | * Change colour (by default the icon will inherit the parent colour) 37 | * Increase or decrease size 38 | * Rotate 39 | * Combine with other icons 40 | 41 | Check the full documentation on [web fonts with CSS](https://fontawesome.com/how-to-use/web-fonts-with-css) for more. 42 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/pages/images/frontmatter-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/cont/pages/images/frontmatter-icon.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/pages/images/pages-chapter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/cont/pages/images/pages-chapter.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/pages/images/pages-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/cont/pages/images/pages-default.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/tags.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2018-11-29T08:41:44+01:00 3 | title: Tags 4 | weight: 40 5 | tags: ["documentation", "tutorial"] 6 | --- 7 | 8 | *Learn theme* support one default taxonomy of gohugo: the *tag* feature. 9 | 10 | ## Configuration 11 | 12 | Just add tags to any page: 13 | 14 | ```markdown 15 | --- 16 | date: 2018-11-29T08:41:44+01:00 17 | title: Theme tutorial 18 | weight: 15 19 | tags: ["tutorial", "theme"] 20 | --- 21 | ``` 22 | 23 | ## Behavior 24 | 25 | 26 | The tags are displayed at the top of the page, in their insertion order. 27 | 28 | Each tag is a link to a *Taxonomy* page displaying all the articles with the given tag. 29 | 30 | ## List all the tags 31 | 32 | In the `config.toml` file you can add a shortcut to display all the tags 33 | 34 | ```toml 35 | [[menu.shortcuts]] 36 | name = " Tags" 37 | url = "/tags" 38 | weight = 30 39 | ``` -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/cont/tags.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2018-11-29T08:41:44+01:00 3 | title: Tags 4 | weight: 40 5 | tags: ["documentation", "tutorial"] 6 | --- 7 | 8 | 9 | Le *thème Learn* supporte une des taxonomy par défaut de GoHugo : les tags. 10 | 11 | ## Configuration 12 | 13 | Il suffit d'ajouter un tableau de tags sur la page : 14 | 15 | ```markdown 16 | --- 17 | date: 2018-11-29T08:41:44+01:00 18 | title: Tutoriel pour le thème 19 | weight: 15 20 | tags: ["tutoriel", "theme"] 21 | --- 22 | ``` 23 | 24 | ## Comportement 25 | 26 | Les tags sont affichés en haut de la page, dans l'ordre dans lequel ils ont été saisis. 27 | 28 | Chaque tag est un lien vers une page *Taxonomy*, qui affiche tous les article avec ce tag. 29 | 30 | 31 | ## Liste des tags 32 | 33 | Il est possible de rajouter un raccourci dans le fichier `config.toml` afin d'afficher une page listant tous les tags 34 | 35 | ```toml 36 | [[menu.shortcuts]] 37 | name = " Tags" 38 | url = "/tags" 39 | weight = 30 40 | ``` -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/credits.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Credits 3 | disableToc: true 4 | --- 5 | 6 | ## Contributors 7 | 8 | Thanks to them for making Open Source Software a better place ! 9 | 10 | {{% ghcontributors "https://api.github.com/repos/matcornic/hugo-theme-learn/contributors?per_page=100" %}} 11 | 12 | And a special thanks to [@vjeantet](https://github.com/vjeantet) for his work on [docdock](https://github.com/vjeantet/hugo-theme-docdock), a fork of hugo-theme-learn. v2.0.0 of this theme is inspired by his work. 13 | 14 | ## Packages and libraries 15 | * [mermaid](https://knsv.github.io/mermaid) - generation of diagram and flowchart from text in a similar manner as markdown 16 | * [font awesome](http://fontawesome.io/) - the iconic font and CSS framework 17 | * [jQuery](https://jquery.com) - The Write Less, Do More, JavaScript Library 18 | * [lunr](https://lunrjs.com) - Lunr enables you to provide a great search experience without the need for external, server-side, search services... 19 | * [horsey](https://bevacqua.github.io/horsey/) - Progressive and customizable autocomplete component 20 | * [clipboard.js](https://zenorocha.github.io/clipboard.js) - copy text to clipboard 21 | * [highlight.js](https://highlightjs.org) - Javascript syntax highlighter 22 | * [modernizr](https://modernizr.com) - A JavaScript toolkit that allows web developers to use new CSS3 and HTML5 features while maintaining a fine level of control over browsers that don't support 23 | 24 | ## Tooling 25 | 26 | * [Netlify](https://www.netlify.com) - Continuous deployement and hosting of this documentation 27 | * [Hugo](https://gohugo.io/) 28 | 29 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/credits.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Crédits 3 | disableToc: true 4 | --- 5 | 6 | ## Contributeurs 7 | 8 | Merci à eux de rendre le monde Open Source meilleur ! 9 | 10 | {{% ghcontributors "https://api.github.com/repos/matcornic/hugo-theme-learn/contributors?per_page=100" %}} 11 | 12 | Et un grand merci à [@vjeantet](https://github.com/vjeantet) pour son travail sur [docdock](https://github.com/vjeantet/hugo-theme-docdock), un fork de _hugo-theme-learn_. La v2.0.0 du thème est en grande partie inspirée de son travail. 13 | 14 | ## Packages et librairies 15 | * [mermaid](https://knsv.github.io/mermaid) - géneration de diagrames et graphiques à partir de texte similaire à Markdown 16 | * [font awesome](http://fontawesome.io/) - Le framework de polices iconiques 17 | * [jQuery](https://jquery.com) - La plus connue des librairies Javascript 18 | * [lunr](https://lunrjs.com) - Lunr fournit des fonctions de recherche sans service externe 19 | * [horsey](https://bevacqua.github.io/horsey/) - Autocomplétion de composants (utiliser pour les suggestions de recherche) 20 | * [clipboard.js](https://zenorocha.github.io/clipboard.js) - Copier le texte dans le presse-papier 21 | * [highlight.js](https://highlightjs.org) - Mise en valeur de syntaxes 22 | * [modernizr](https://modernizr.com) - Une boite à outil Javascript qui permet aux développeurs d'utiliser les dernières fonctionnalités de CSS et HTML5, même sur de vieux navigateurs. 23 | 24 | ## Outils 25 | 26 | * [Netlify](https://www.netlify.com) - Déploiement continue et hébergement de cette documentation 27 | * [Hugo](https://gohugo.io/) 28 | 29 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/_index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2016-04-09T16:50:16+02:00 3 | title: Shortcodes 4 | pre: "3. " 5 | weight: 15 6 | --- 7 | 8 | Hugo uses Markdown for its simple content format. However, there are a lot of things that Markdown doesn’t support well. You could use pure HTML to expand possibilities. 9 | 10 | But this happens to be a bad idea. Everyone uses Markdown because it's pure and simple to read even non-rendered. You should avoid HTML to keep it as simple as possible. 11 | 12 | To avoid this limitations, Hugo created [shortcodes](https://gohugo.io/extras/shortcodes/). A shortcode is a simple snippet inside a page. 13 | 14 | **Hugo-theme-learn** provides multiple shortcodes on top of existing ones. 15 | 16 | {{%children style="h2" description="true" %}} 17 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/_index.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: 2016-04-09T16:50:16+02:00 3 | title: Shortcodes 4 | pre: "3. " 5 | weight: 15 6 | --- 7 | 8 | Hugo utilise Markdown pour son format simple. Cependant, il y a beaucoup de chose que Markdown ne supporte pas bien. On pourrait utiliser du HTML pur pour améliorer les capacité du Markdown. 9 | 10 | Mais c'est probablement une mauvaise idée. Tout le monde utilise le Markdown parce que c'est pur et simple à lire même lorsqu'il est affiché en texte brut. Vous devez éviter le HTML autant que possible pour garder le contenu simple. 11 | 12 | Cependant, pour éviter les limitations, Hugo a créé les [shortcodes](https://gohugo.io/extras/shortcodes/). Un shortcode est un bout de code (*snippet*) dans une page. 13 | 14 | **Hugo-theme-learn** fournit de multiple shortcodes en plus de ceux existant. 15 | 16 | {{%children style="h2" description="true" %}} 17 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/BachGavotteShort.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/BachGavotteShort.mp3 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/Carroll_AliceAuPaysDesMerveilles.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/Carroll_AliceAuPaysDesMerveilles.pdf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/adivorciarsetoca00cape.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/adivorciarsetoca00cape.pdf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/hugo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/hugo.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/movieselectricsheep-flock-244-32500-2.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.en.files/movieselectricsheep-flock-244-32500-2.mp4 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/BachGavotteShort.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/BachGavotteShort.mp3 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/Carroll_AliceAuPaysDesMerveilles.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/Carroll_AliceAuPaysDesMerveilles.pdf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/adivorciarsetoca00cape.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/adivorciarsetoca00cape.pdf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/hugo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/hugo.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/movieselectricsheep-flock-244-32500-2.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/content/shortcodes/attachments.fr.files/movieselectricsheep-flock-244-32500-2.mp4 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/button.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Button 3 | description : "Nice buttons on your page." 4 | --- 5 | 6 | A button is a just a clickable button with optional icon. 7 | 8 | ``` 9 | {{%/* button href="https://getgrav.org/" */%}}Get Grav{{%/* /button */%}} 10 | {{%/* button href="https://getgrav.org/" icon="fas fa-download" */%}}Get Grav with icon{{%/* /button */%}} 11 | {{%/* button href="https://getgrav.org/" icon="fas fa-download" icon-position="right" */%}}Get Grav with icon right{{%/* /button */%}} 12 | ``` 13 | 14 | {{% button href="https://getgrav.org/" %}}Get Grav{{% /button %}} 15 | {{% button href="https://getgrav.org/" icon="fas fa-download" %}}Get Grav with icon{{% /button %}} 16 | {{% button href="https://getgrav.org/" icon="fas fa-download" icon-position="right" %}}Get Grav with icon right{{% /button %}} 17 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/button.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Button (Bouton) 3 | description : "De beaux boutons sur votre page." 4 | --- 5 | 6 | Le shortcode *button* est simplement un bouton cliquable avec une icône optionnelle. 7 | 8 | ``` 9 | {{%/* button href="https://getgrav.org/" */%}}Téléchargez Grav{{%/* /button */%}} 10 | {{%/* button href="https://getgrav.org/" icon="fas fa-download" */%}}Téléchargez Grav avec icône{{%/* /button */%}} 11 | {{%/* button href="https://getgrav.org/" icon="fas fa-download" icon-position="right" */%}}Téléchargez Grav avec icône à droite{{%/* /button */%}} 12 | ``` 13 | 14 | {{% button href="https://getgrav.org/" %}}Téléchargez Grav{{% /button %}} 15 | {{% button href="https://getgrav.org/" icon="fas fa-download" %}}Téléchargez Grav avec icône{{% /button %}} 16 | {{% button href="https://getgrav.org/" icon="fas fa-download" icon-position="right" %}}Téléchargez Grav avec icône à droite{{% /button %}} 17 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/_index.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title : Children 3 | description : List the child pages of a page 4 | --- 5 | 6 | Use the children shortcode to list the child pages of a page and the further descendants (children's children). By default, the shortcode displays links to the child pages. 7 | 8 | ## Usage 9 | 10 | | Parameter | Default | Description | 11 | |:--|:--|:--| 12 | | page | _current_ | Specify the page name (section name) to display children for | 13 | | style | "li" | Choose the style used to display descendants. It could be any HTML tag name | 14 | | showhidden | "false" | When true, child pages hidden from the menu will be displayed | 15 | | description | "false" | Allows you to include a short text under each page in the list. When no description exists for the page, children shortcode takes the first 70 words of your content. [Read more info about summaries on gohugo.io](https://gohugo.io/content/summaries/) | 16 | | depth | 1 | Enter a number to specify the depth of descendants to display. For example, if the value is 2, the shortcode will display 2 levels of child pages. **Tips:** set 999 to get all descendants | 17 | | sort | none | Sort children by **Weight** - to sort on menu order, **Name** - to sort alphabetically on menu label, **Identifier** - to sort alphabetically on identifier set in frontmatter, and **URL** - to sort by URL | 18 | 19 | ## Demo 20 | 21 | {{%/* children */%}} 22 | 23 | {{% children %}} 24 | 25 | {{%/* children description="true" */%}} 26 | 27 | {{%children description="true" %}} 28 | 29 | {{%/* children depth="3" showhidden="true" */%}} 30 | 31 | {{% children depth="3" showhidden="true" %}} 32 | 33 | {{%/* children style="h2" depth="3" description="true" */%}} 34 | 35 | {{% children style="h2" depth="3" description="true" %}} 36 | 37 | {{%/* children style="div" depth="999" */%}} 38 | 39 | {{% children style="div" depth="999" %}} 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/_index.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title : Children (Pages filles) 3 | description : Liste les pages filles de la page 4 | --- 5 | 6 | Utilisez le shortcode *children* pour lister les pages filles de la page et tous ses déscendants (pages filles de pages filles). Par défaut, le shortcode affiche des liens vers les pages filles. 7 | 8 | ## Utilisation 9 | 10 | | Paramètre | Défaut | Description | 11 | |:--|:--|:--| 12 | | page | _current_ | Spécifie le nom de la page (nom de la section) à afficher | 13 | | style | "li" | Choisi le style à utiliser pour afficher les descendants. Cela peut être n'importe quel balise HTML | 14 | | showhidden | "false" | Quand *true*, pages filles cachées dans le menu seront affichées quand même | 15 | | description | "false" | Permet d'inclure le texte de la description de la page sous chaque entré de la liste.
quand aucune description existe pour la page, le shortcode prend les 70 premiers mots du contenu. [plus d'infos sur gohugo.io](https://gohugo.io/content/summaries/) | 16 | | depth | 1 | Nombre de descendants à afficher. Par exemple, si la valeur est 2, le shortcode va afficher 2 niveaux de pages filels.
**Astuce:** Utilisez 999 pour avoir tous les descendants| 17 | | sort | | Tri les pages filles par
  • Weight - Poids
  • Name - Nom
  • Identifier - Trier alphabétiquement par identifiant configuré dans le front matter
  • URL - URL
  • | 18 | 19 | ## Démo 20 | 21 | {{%/* children */%}} 22 | 23 | {{% children %}} 24 | 25 | {{%/* children description="true" */%}} 26 | 27 | {{%children description="true" %}} 28 | 29 | {{%/* children depth="3" showhidden="true" */%}} 30 | 31 | {{% children depth="3" showhidden="true" %}} 32 | 33 | {{%/* children style="h2" depth="3" description="true" */%}} 34 | 35 | {{% children style="h2" depth="3" description="true" %}} 36 | 37 | {{%/* children style="div" depth="999" */%}} 38 | 39 | {{% children style="div" depth="999" %}} 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/_index.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1" 3 | description = "This is a demo child page" 4 | +++ 5 | 6 | This is a demo child page -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/_index.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1" 3 | description = "Ceci est une page test" 4 | +++ 5 | 6 | Ceci est une page de demo -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1-1" 3 | description = "This is a demo child page" 4 | +++ 5 | 6 | This is a demo child page -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1-1" 3 | description = "Ceci est une page test" 4 | +++ 5 | 6 | Ceci est une page de demo -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1-1-1" 3 | description = "This is a demo child page" 4 | +++ 5 | 6 | This is a demo child page -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1-1-1" 3 | description = "Ceci est une page test" 4 | +++ 5 | 6 | Ceci est une page de demo -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1-1-1-1" 3 | description = "This is a demo child page" 4 | +++ 5 | 6 | This is a demo child page -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1-1-1-1" 3 | description = "Ceci est une page test" 4 | +++ 5 | 6 | Ceci est une page de demo -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1-1-1-1-1" 3 | description = "This is a demo child page" 4 | +++ 5 | 6 | This is a demo child page -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 1-1-1-1-1" 3 | description = "Ceci est une page test" 4 | +++ 5 | 6 | Ceci est une page de demo -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-2/_index.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 2" 3 | description = "" 4 | +++ 5 | 6 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod 7 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 8 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 9 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 10 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non 11 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-2/_index.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 2" 3 | description = "" 4 | +++ 5 | 6 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod 7 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 8 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 9 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 10 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non 11 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-2/test3.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page test 3" 3 | description = "This is a page test" 4 | +++ 5 | 6 | This is a test 3 demo child page -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-2/test3.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page test 3" 3 | description = "Ceci est une page test" 4 | +++ 5 | 6 | Ceci est une page de demo test 3 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-3/_index.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 3" 3 | description = "This is a demo child page" 4 | +++ 5 | 6 | This is a demo child page, not displayed in the menu -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-3/_index.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 3" 3 | description = "Ceci est une page test" 4 | +++ 5 | 6 | Ceci est une page de demo -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-4/_index.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 4" 3 | description = "This is a demo child page" 4 | hidden = true 5 | +++ 6 | 7 | This is a demo child page, not displayed in the menu -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/children-4/_index.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page 4" 3 | description = "Ceci est une page test" 4 | hidden = true 5 | +++ 6 | 7 | Ceci est une page de demo -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/test.en.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page test" 3 | description = "This is a page test" 4 | +++ 5 | 6 | This is a test demo child page -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/children/test.fr.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = "page test" 3 | description = "Ceci est une page test" 4 | +++ 5 | 6 | Ceci est une page de demo -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/expand.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title : Expand 3 | description : "Displays an expandable/collapsible section of text on your page" 4 | --- 5 | 6 | The Expand shortcode displays an expandable/collapsible section of text on your page. 7 | Here is an example 8 | 9 | {{%expand%}} 10 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod 11 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 12 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 13 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 14 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non 15 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 16 | {{%/expand%}} 17 | 18 | 19 | ## Usage 20 | 21 | 22 | this shortcode takes exactly one optional parameter to define the text that appears next to the expand/collapse icon. (default is "Expand me...") 23 | 24 | {{%/*expand "Is this learn theme rocks ?" */%}}Yes !.{{%/* /expand*/%}} 25 | 26 | {{%expand "Is this learn theme rocks ?" %}}Yes !{{% /expand%}} 27 | 28 | # Demo 29 | 30 | {{%/*expand*/%}} 31 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod 32 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 33 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 34 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 35 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non 36 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 37 | {{%/* /expand*/%}} 38 | 39 | 40 | {{%expand%}}Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod 41 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 42 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 43 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 44 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non 45 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum.{{% /expand%}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/expand.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title : Expand 3 | description : "Affiche une section de texte qui se plie et se déplie" 4 | --- 5 | 6 | Le shortcode *Expand* affiche une section de texte qui se plie et se déplie. 7 | Ci-dessous un exemple. 8 | 9 | {{%expand%}} 10 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod 11 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 12 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 13 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 14 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non 15 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 16 | {{%/expand%}} 17 | 18 | 19 | ## Utilisation 20 | 21 | 22 | Ce shortcode prends exactement un paramètre optionel pour définir le texte à côté de l'icone. (valeur par défaut est "Déroulez-moi...") 23 | 24 | {{%/*expand "Est-ce que ce thème envoie du pâté ?" */%}}Oui !.{{%/* /expand*/%}} 25 | 26 | {{%expand "Est-ce que ce thème envoie du pâté ?" %}}Oui !{{% /expand%}} 27 | 28 | # Demo 29 | 30 | {{%/*expand*/%}} 31 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod 32 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 33 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 34 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 35 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non 36 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 37 | {{%/* /expand*/%}} 38 | 39 | 40 | {{%expand%}}Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod 41 | tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 42 | quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 43 | consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 44 | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non 45 | proident, sunt in culpa qui officia deserunt mollit anim id est laborum.{{% /expand%}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/notice.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Notice 3 | description : "Disclaimers to help you structure your page" 4 | --- 5 | 6 | The notice shortcode shows 4 types of disclaimers to help you structure your page. 7 | 8 | ### Note 9 | 10 | ``` 11 | {{%/* notice note */%}} 12 | A notice disclaimer 13 | {{%/* /notice */%}} 14 | ``` 15 | 16 | renders as 17 | 18 | {{% notice note %}} 19 | A notice disclaimer 20 | {{% /notice %}} 21 | 22 | ### Info 23 | 24 | ``` 25 | {{%/* notice info */%}} 26 | An information disclaimer 27 | {{%/* /notice */%}} 28 | ``` 29 | 30 | renders as 31 | 32 | {{% notice info %}} 33 | An information disclaimer 34 | {{% /notice %}} 35 | 36 | ### Tip 37 | 38 | ``` 39 | {{%/* notice tip */%}} 40 | A tip disclaimer 41 | {{%/* /notice */%}} 42 | ``` 43 | 44 | renders as 45 | 46 | {{% notice tip %}} 47 | A tip disclaimer 48 | {{% /notice %}} 49 | 50 | ### Warning 51 | 52 | ``` 53 | {{%/* notice warning */%}} 54 | A warning disclaimer 55 | {{%/* /notice */%}} 56 | ``` 57 | 58 | renders as 59 | 60 | {{% notice warning %}} 61 | A warning disclaimer 62 | {{% /notice %}} 63 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/notice.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Notice 3 | description : "Message pour vous aider à structurer votre contenu" 4 | --- 5 | 6 | Le shortcode *Notice* permet d'afficher 4 types de message pour vous aider à structurer votre contenu. 7 | 8 | ### Note 9 | 10 | ``` 11 | {{%/* notice note */%}} 12 | Une notice de type *note* 13 | {{%/* /notice */%}} 14 | ``` 15 | 16 | s'affiche comme 17 | 18 | {{% notice note %}} 19 | Une notice de type *note* 20 | {{% /notice %}} 21 | 22 | ### Info 23 | 24 | ``` 25 | {{%/* notice info */%}} 26 | Une notice de type *info* 27 | {{%/* /notice */%}} 28 | ``` 29 | 30 | s'affiche comme 31 | 32 | {{% notice info %}} 33 | Une notice de type *info* 34 | {{% /notice %}} 35 | 36 | ### Tip 37 | 38 | ``` 39 | {{%/* notice tip */%}} 40 | Une notice de type *tip* 41 | {{%/* /notice */%}} 42 | ``` 43 | 44 | s'affiche comme 45 | 46 | {{% notice tip %}} 47 | Une notice de type *tip* 48 | {{% /notice %}} 49 | 50 | ### Warning 51 | 52 | ``` 53 | {{%/* notice warning */%}} 54 | Une notice de type *warning* 55 | {{%/* /notice */%}} 56 | ``` 57 | 58 | s'affiche comme 59 | 60 | {{% notice warning %}} 61 | Une notice de type *warning* 62 | {{% /notice %}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Site param 3 | description : "Get value of site params variables in your page." 4 | --- 5 | 6 | `siteparam` shortcode is used to help you print values of site params. 7 | 8 | For instance, in this current site, the `editURL` variable is used in `config.toml` 9 | 10 | ```toml 11 | [params] 12 | editURL = "https://github.com/matcornic/hugo-theme-learn/edit/master/exampleSite/content/" 13 | ``` 14 | 15 | Use the `siteparam` shortcode to display its value. 16 | 17 | ``` 18 | `editURL` Value : {{%/* siteparam "editURL" */%}} 19 | ``` 20 | 21 | is displayed as 22 | 23 | `editURL` Value : {{% siteparam "editURL" %}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/shortcodes/siteparam.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Site param 3 | description : "Afficher la valeur d'un paramètre global du site dans votre page" 4 | --- 5 | 6 | Les shortcode `siteparam` est utilisé pour vous aider à afficher des valeurs provenant des paramètres globaux du site. 7 | 8 | Par exemple, dans ce site, le paramètre `editURL` est utilisé dans le fichier `config.toml` 9 | 10 | ```toml 11 | [params] 12 | editURL = "https://github.com/matcornic/hugo-theme-learn/edit/master/exampleSite/content/" 13 | ``` 14 | 15 | Utilisez le shortcode `siteparam` pour affichier sa valeur. 16 | 17 | ``` 18 | Valeur de `editURL` : {{%/* siteparam "editURL" */%}} 19 | ``` 20 | 21 | s'affiche comme 22 | 23 | Valeur de `editURL` : {{% siteparam "editURL" %}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/showcase.en.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Showcase 3 | disableToc: true 4 | --- 5 | 6 | #### [TAT](https://ovh.github.io/tat/overview/) by OVH 7 | ![TAT image](/images/showcase/tat.png?width=50pc) 8 | 9 | #### [Tshark.dev](https://tshark.dev) by Ross Jacobs 10 | ![Tshark.dev image](/images/showcase/tshark_dev.png?width=50pc) 11 | 12 | #### [inteliver](https://docs.inteliver.com) by Amir Lavasani 13 | ![docs.inteliver.com image](/images/showcase/inteliver_docs.png?width=50pc) -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/content/showcase.fr.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Vitrine 3 | disableToc: true 4 | slug: vitrine 5 | --- 6 | 7 | #### [TAT](https://ovh.github.io/tat/overview/) par OVH 8 | ![TAT image](/images/showcase/tat.png?width=50pc) 9 | 10 | #### [Tshark.dev](https://tshark.dev) par Ross Jacobs 11 | ![Tshark.dev image](/images/showcase/tshark_dev.png?width=50pc) 12 | 13 | #### [inteliver](https://docs.inteliver.com) by Amir Lavasani 14 | ![docs.inteliver.com image](/images/showcase/inteliver_docs.png?width=50pc) -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/layouts/partials/custom-footer.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/layouts/partials/menu-footer.html: -------------------------------------------------------------------------------- 1 |
    2 | 3 | Download 4 | 5 | 6 | Star 7 | 8 | 9 | Fork 10 | 11 |

    Built with from Grav and Hugo

    12 |
    13 | 14 | 15 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/layouts/shortcodes/ghcontributors.html: -------------------------------------------------------------------------------- 1 | 22 |
    23 | {{ $url := .Get 0 }} 24 | {{ range getJSON $url }} 25 |
    26 | 27 | 28 | {{.contributions}} commits 29 |
    30 | {{ end }} 31 |
    -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.woff2 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/static/images/showcase/inteliver_docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/static/images/showcase/inteliver_docs.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/static/images/showcase/tat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/static/images/showcase/tat.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/exampleSite/static/images/showcase/tshark_dev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/exampleSite/static/images/showcase/tshark_dev.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/ar.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "...البحث" 3 | 4 | [Clear-History] 5 | other = "مسح السجل" 6 | 7 | [Attachments-label] 8 | other = "مرفقات" 9 | 10 | [title-404] 11 | other = "خطأ" 12 | 13 | [message-404] 14 | other = ".¯\\_(ツ)_/¯أوبس. يبدو أن هذه الصفحة غير موجودة" 15 | 16 | [Go-to-homepage] 17 | other = "الذهاب إلى الصفحة الرئيسية" 18 | 19 | [Edit-this-page] 20 | other = "تعديل هذه الصفحة" 21 | 22 | [Shortcuts-Title] 23 | other = "المزيد" 24 | 25 | [Expand-title] 26 | other = "...قم بتوسيع" 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/de.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "Suchen..." 3 | 4 | [Clear-History] 5 | other = "Verlauf löschen" 6 | 7 | [Attachments-label] 8 | other = "Anhänge" 9 | 10 | [title-404] 11 | other = "Fehler" 12 | 13 | [message-404] 14 | other = "Huch. Diese Seite scheint nicht zu existieren ¯\\_(ツ)_/¯." 15 | 16 | [Go-to-homepage] 17 | other = "Gehe zur Homepage" 18 | 19 | [Edit-this-page] 20 | other = "Bearbeite diese Seite" 21 | 22 | [Shortcuts-Title] 23 | other = "Mehr" 24 | 25 | [Expand-title] 26 | other = "Erweitere mich..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/en.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "Search..." 3 | 4 | [Clear-History] 5 | other = "Clear History" 6 | 7 | [Attachments-label] 8 | other = "Attachments" 9 | 10 | [title-404] 11 | other = "Error" 12 | 13 | [message-404] 14 | other = "Woops. Looks like this page doesn't exist ¯\\_(ツ)_/¯." 15 | 16 | [Go-to-homepage] 17 | other = "Go to homepage" 18 | 19 | [Edit-this-page] 20 | other = "Edit this page" 21 | 22 | [Shortcuts-Title] 23 | other = "More" 24 | 25 | [Expand-title] 26 | other = "Expand me..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/es.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "Buscar..." 3 | 4 | [Clear-History] 5 | other = "Borrar Historial" 6 | 7 | [Attachments-label] 8 | other = "Adjuntos" 9 | 10 | [title-404] 11 | other = "Error" 12 | 13 | [message-404] 14 | other = "Ups. Parece que la página no existe ¯\\_(ツ)_/¯." 15 | 16 | [Go-to-homepage] 17 | other = "Ir al inicio" 18 | 19 | [Edit-this-page] 20 | other = "Editar esta página" 21 | 22 | [Shortcuts-Title] 23 | other = "Más" 24 | 25 | [Expand-title] 26 | other = "Expandir..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" 30 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/fr.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "Rechercher..." 3 | 4 | [Clear-History] 5 | other = "Supprimer l'historique" 6 | 7 | [Attachments-label] 8 | other = "Pièces jointes" 9 | 10 | [title-404] 11 | other = "Erreur" 12 | 13 | [message-404] 14 | other = "Oups. On dirait que cette page n'existe pas ¯\\_(ツ)_/¯" 15 | 16 | [Go-to-homepage] 17 | other = "Vers la page d'accueil" 18 | 19 | [Edit-this-page] 20 | other = "Modifier la page" 21 | 22 | [Shortcuts-Title] 23 | other = "Aller plus loin" 24 | 25 | [Expand-title] 26 | other = "Déroulez-moi..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "ko" -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/hi.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "खोजे..." 3 | 4 | [Clear-History] 5 | other = "इतिहास मिटाएँ" 6 | 7 | [Attachments-label] 8 | other = "संलग्नंक (अटैचमेंट)" 9 | 10 | [title-404] 11 | other = "त्रुटि" 12 | 13 | [message-404] 14 | other = "यह पृष्ठ अभि अनुपलब्ध है!" 15 | 16 | [Go-to-homepage] 17 | other = "मुख्य पृष्ठ पर जाऐ" 18 | 19 | [Edit-this-page] 20 | other = "यह पृष्ठ संपादित करें" 21 | 22 | [Shortcuts-Title] 23 | other = "अधिक सामग्री दिखाएं" 24 | 25 | [Expand-title] 26 | other = "विस्तार करे..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" 30 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/id.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "Telusuri..." 3 | 4 | [Clear-History] 5 | other = "Bersihkan Riwayat" 6 | 7 | [Attachments-label] 8 | other = "Lampiran" 9 | 10 | [title-404] 11 | other = "Kesalahan" 12 | 13 | [message-404] 14 | other = "Oops. Sepertinya halaman ini tidak ada ¯\\_(ツ)_/¯." 15 | 16 | [Go-to-homepage] 17 | other = "Ke halaman depan" 18 | 19 | [Edit-this-page] 20 | other = "Edit halaman ini" 21 | 22 | [Shortcuts-Title] 23 | other = "Lainnya" 24 | 25 | [Expand-title] 26 | other = "Bentangkan..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" 30 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/ja.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "検索..." 3 | 4 | [Clear-History] 5 | other = "履歴削除" 6 | 7 | [Attachments-label] 8 | other = "添付" 9 | 10 | [title-404] 11 | other = "エラー" 12 | 13 | [message-404] 14 | other = "おっと。ページが見当たりません。 ¯\\_(ツ)_/¯." 15 | 16 | [Go-to-homepage] 17 | other = "ホームページへ行く" 18 | 19 | [Edit-this-page] 20 | other = "このページを編集" 21 | 22 | [Shortcuts-Title] 23 | other = "更に" 24 | 25 | [Expand-title] 26 | other = "開く..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" 30 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/nl.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "Zoeken..." 3 | 4 | [Clear-History] 5 | other = "Wis geschiedenis" 6 | 7 | [Attachments-label] 8 | other = "Bijlagen" 9 | 10 | [title-404] 11 | other = "Error" 12 | 13 | [message-404] 14 | other = "Blijkbaar bestaat deze pagina niet ¯\\_(ツ)_/¯." 15 | 16 | [Go-to-homepage] 17 | other = "Naar startpagina" 18 | 19 | [Edit-this-page] 20 | other = "Deze pagina bewerken" 21 | 22 | [Shortcuts-Title] 23 | other = "Snelkoppelingen" 24 | 25 | [Expand-title] 26 | other = "Lees meer..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" 30 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/pt.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "Procurar..." 3 | 4 | [Clear-History] 5 | other = "Limpar Histórico" 6 | 7 | [Attachments-label] 8 | other = "Anexos" 9 | 10 | [title-404] 11 | other = "Erro" 12 | 13 | [message-404] 14 | other = "Ops. Parece que a página não existe ¯\\_(ツ)_/¯." 15 | 16 | [Go-to-homepage] 17 | other = "Ir para o início" 18 | 19 | [Edit-this-page] 20 | other = "Editar esta página" 21 | 22 | [Shortcuts-Title] 23 | other = "Mais" 24 | 25 | [Expand-title] 26 | other = "Expandir..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" 30 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/ru.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "Поиск..." 3 | 4 | [Clear-History] 5 | other = "Очистить историю" 6 | 7 | [Attachments-label] 8 | other = "Присоединенные файлы" 9 | 10 | [title-404] 11 | other = "Ошибка" 12 | 13 | [message-404] 14 | other = "Упс. Выглядит будто такой страницы нет ¯\\_(ツ)_/¯." 15 | 16 | [Go-to-homepage] 17 | other = "Перейти на главную" 18 | 19 | [Edit-this-page] 20 | other = "Редактировать" 21 | 22 | [Shortcuts-Title] 23 | other = "Еще" 24 | 25 | [Expand-title] 26 | other = "Развернуть..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "килобайт" -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/tr.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "Ara..." 3 | 4 | [Clear-History] 5 | other = "Geçmişi Temizle" 6 | 7 | [Attachments-label] 8 | other = "Ekler" 9 | 10 | [title-404] 11 | other = "Hata" 12 | 13 | [message-404] 14 | other = "Uups. Görünüşe göre böyle bir sayfa yok ¯\\_(ツ)_/¯" 15 | 16 | [Go-to-homepage] 17 | other = "Anasayfaya dön" 18 | 19 | [Edit-this-page] 20 | other = "Sayfayı düzenle" 21 | 22 | [Shortcuts-Title] 23 | other = "Dahası Var" 24 | 25 | [Expand-title] 26 | other = "Genişlet..." 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" 30 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/i18n/zh-cn.toml: -------------------------------------------------------------------------------- 1 | [Search-placeholder] 2 | other = "搜索..." 3 | 4 | [Clear-History] 5 | other = "清理历史记录" 6 | 7 | [Attachments-label] 8 | other = "附件" 9 | 10 | [title-404] 11 | other = "错误" 12 | 13 | [message-404] 14 | other = "哎哟。 看起来这个页面不存在 ¯\\_(ツ)_/¯。" 15 | 16 | [Go-to-homepage] 17 | other = "转到主页" 18 | 19 | [Edit-this-page] 20 | other = "编辑当前页" 21 | 22 | [Shortcuts-Title] 23 | other = "更多" 24 | 25 | [Expand-title] 26 | other = "展开" 27 | 28 | [BinaryPrefix-kilobyte] 29 | other = "kb" 30 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/images/screenshot.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/images/tn.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/_default/list.html: -------------------------------------------------------------------------------- 1 | {{ partial "header.html" . }} 2 | 3 | {{ if eq .Kind "section" }} 4 | {{ .Content }} 5 | {{end}} 6 | 7 | {{ if or (eq .Kind "taxonomy") (eq .Kind "term") }} 8 |
      9 | {{ range .Pages }} 10 |
    • {{.Title}}
    • 11 | {{ end }} 12 |
    13 | {{end}} 14 | 15 |
    16 | {{with .Params.LastModifierDisplayName}} 17 | {{ . }} {{with $.Date}} {{ .Format "02/01/2006" }}{{end}} 18 | 19 | {{end}} 20 |
    21 | 22 | {{ partial "footer.html" . }} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/_default/single.html: -------------------------------------------------------------------------------- 1 | {{ partial "header.html" . }} 2 | 3 | {{ .Content }} 4 | 5 |
    6 | {{with .Params.LastModifierDisplayName}} 7 | {{ . }} {{with $.Date}} {{ .Format "02/01/2006" }}{{end}} 8 | 9 | {{end}} 10 |
    11 | 12 | {{ partial "footer.html" . }} 13 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/index.html: -------------------------------------------------------------------------------- 1 | {{ partial "header.html" . }} 2 | 3 | navigation 4 | 5 | 6 | {{if .Site.Home.Content }} 7 | {{.Site.Home.Content}} 8 | {{else}} 9 | {{if eq .Site.Language.Lang "fr"}} 10 |

    Personaliser la page d'accueil

    11 |

    12 | Le site fonctionne. Ne pas oublier de personaliser cette page avec votre propre contenu. 3 manières de faire : 13 |

    14 |
      15 |
    • 1. Créer un fichier _index.md dans le dossier content et le remplir de Markdown
    • 16 |
    • 2. Créer un fichier index.html dans le dossier static et le remplir de code HTML
    • 17 |
    • 3. Configurer le serveur http pour rediriger automatiquement la homepage vers la page de votre choix dans le site
    • 18 |
    19 | {{else}} 20 |

    Customize your own home page

    21 |

    22 | The site is working. Don't forget to customize this homepage with your own. You typically have 3 choices : 23 |

    24 |
      25 |
    • 1. Create an _index.md document in content folder and fill it with Markdown content
    • 26 |
    • 2. Create an index.html file in the static folder and fill the file with HTML content
    • 27 |
    • 3. Configure your server to automatically redirect home page to one your documentation page
    • 28 |
    29 | {{end}} 30 | {{ end }} 31 | {{ partial "footer.html" . }} 32 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/index.json: -------------------------------------------------------------------------------- 1 | [{{ range $index, $page := .Site.Pages }} 2 | {{- if ne $page.Type "json" -}} 3 | {{- if and $index (gt $index 0) -}},{{- end }} 4 | { 5 | "uri": "{{ $page.Permalink }}", 6 | "title": "{{ htmlEscape $page.Title}}", 7 | "tags": [{{ range $tindex, $tag := $page.Params.tags }}{{ if $tindex }}, {{ end }}"{{ $tag| htmlEscape }}"{{ end }}], 8 | "description": "{{ htmlEscape .Description}}", 9 | "content": {{$page.Plain | jsonify}} 10 | } 11 | {{- end -}} 12 | {{- end -}}] -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/partials/custom-comments.html: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/partials/custom-footer.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/partials/custom-header.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/partials/favicon.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/partials/menu-footer.html: -------------------------------------------------------------------------------- 1 |

    Built with from Grav and Hugo

    2 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/partials/meta.html: -------------------------------------------------------------------------------- 1 | 2 | {{ with .Site.Params.author }}{{ end }} 3 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/partials/search.html: -------------------------------------------------------------------------------- 1 | 6 | {{ $assetBusting := not .Site.Params.disableAssetsBusting }} 7 | 8 | 9 | 16 | 17 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/partials/tags.html: -------------------------------------------------------------------------------- 1 | {{ if .Params.tags }} 2 |
    3 | {{range .Params.tags}} 4 | {{ . }} 5 | {{end}} 6 |
    7 | {{end}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/partials/toc.html: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | {{ .TableOfContents }} 4 |
    5 |
    6 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/attachments.html: -------------------------------------------------------------------------------- 1 | {{ $_hugo_config := `{ "version": 1 }` }} 2 |
    3 | 7 | {{if eq .Page.File.BaseFileName "index"}} 8 | {{$.Scratch.Add "filesName" "files"}} 9 | {{else}} 10 | {{$.Scratch.Add "filesName" (printf "%s.files" .Page.File.BaseFileName)}} 11 | {{end}} 12 |
    13 | {{ range (readDir (printf "./content/%s%s" .Page.File.Dir ($.Scratch.Get "filesName")) ) }} 14 | {{ $fileDir := replace $.Page.File.Dir "\\" "/" }} 15 | {{if ($.Get "pattern")}} 16 | {{if (findRE ($.Get "pattern") .Name)}} 17 |
  • 18 | 19 | {{.Name}} 20 | 21 | ({{div .Size 1024 }} {{T "BinaryPrefix-kilobyte"}}) 22 |
  • 23 | {{end}} 24 | {{else}} 25 |
  • 26 | 27 | {{.Name}} 28 | 29 | ({{div .Size 1024 }} {{T "BinaryPrefix-kilobyte"}}) 30 |
  • 31 | {{end}} 32 | {{end}} 33 |
    34 | {{.Inner}} 35 |
    36 | 37 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/button.html: -------------------------------------------------------------------------------- 1 | {{ $_hugo_config := `{ "version": 1 }` }} 2 | 3 | {{ $icon := .Get "icon" }} 4 | {{ $iconposition := .Get "icon-position" }} 5 | {{ if ($icon) }} 6 | {{ if or (not ($iconposition)) (eq $iconposition "left") }} 7 | 8 | {{ end }} 9 | {{ end }} 10 | {{ .Inner }} 11 | {{ if and ($icon) (eq $iconposition "right")}} 12 | 13 | {{ end }} 14 | 15 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/expand.html: -------------------------------------------------------------------------------- 1 | {{ $_hugo_config := `{ "version": 1 }` }} 2 |
    3 |
    4 | 5 | 6 | {{$expandMessage := T "Expand-title"}} 7 | {{ if .IsNamedParams }} 8 | {{.Get "default" | default $expandMessage}} 9 | {{else}} 10 | {{.Get 0 | default $expandMessage}} 11 | {{end}} 12 | 13 |
    14 | 17 |
    -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/mermaid.html: -------------------------------------------------------------------------------- 1 | {{ $_hugo_config := `{ "version": 1 }` }} 2 |
    {{ safeHTML .Inner }}
    3 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/notice.html: -------------------------------------------------------------------------------- 1 | {{ $_hugo_config := `{ "version": 1 }` }} 2 |
    {{ .Inner }}
    3 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/ref.html: -------------------------------------------------------------------------------- 1 | {{- if in (.Get 0) "/_index.md" -}} 2 | {{- $paths := (split (.Get 0) "_index.md") -}} 3 | {{- $pagepath := index $paths 0 -}} 4 | {{- $anchor := index $paths 1 -}} 5 | {{- with .Site.GetPage "section" (trim $pagepath "/") -}} 6 | {{- ( printf "%s%s" $pagepath $anchor ) | relLangURL -}} 7 | {{- end -}} 8 | {{- else -}} 9 | {{- with .Site.GetPage "section" (.Get 0) }} 10 | {{- .RelPermalink -}} 11 | {{- else -}} 12 | {{- .Get 0 | relref .Page -}} 13 | {{- end -}} 14 | {{- end -}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/relref.html: -------------------------------------------------------------------------------- 1 | {{- if in (.Get 0) "/_index.md" -}} 2 | {{- $paths := (split (.Get 0) "_index.md") -}} 3 | {{- $pagepath := index $paths 0 -}} 4 | {{- $anchor := index $paths 1 -}} 5 | {{- with .Site.GetPage "section" (trim $pagepath "/") -}} 6 | {{- ( printf "%s%s" $pagepath $anchor ) | relLangURL -}} 7 | {{- end -}} 8 | {{- else -}} 9 | {{- with .Site.GetPage "section" (.Get 0) }} 10 | {{- .RelPermalink -}} 11 | {{- else -}} 12 | {{- .Get 0 | relref .Page -}} 13 | {{- end -}} 14 | {{- end -}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/siteparam.html: -------------------------------------------------------------------------------- 1 | {{- $paramName := (.Get 0) -}} 2 | {{- $siteParams := .Site.Params -}} 3 | {{- with $paramName -}} 4 | {{- with $siteParams -}} 5 | {{- index . (lower $paramName) -}} 6 | {{- end -}} 7 | {{- end -}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/tab.html: -------------------------------------------------------------------------------- 1 | {{ if .Parent }} 2 | {{ $name := trim (.Get "name") " " }} 3 | {{ if not (.Parent.Scratch.Get "tabs") }} 4 | {{ .Parent.Scratch.Set "tabs" slice }} 5 | {{ end }} 6 | {{ with .Inner }} 7 | {{ $.Parent.Scratch.Add "tabs" (dict "name" $name "content" . ) }} 8 | {{ end }} 9 | {{ else }} 10 | {{- errorf "[%s] %q: tab shortcode missing its parent" site.Language.Lang .Page.Path -}} 11 | {{ end}} 12 | 13 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/layouts/shortcodes/tabs.html: -------------------------------------------------------------------------------- 1 | {{ with .Inner }}{{/* don't do anything, just call it */}}{{ end }} 2 | {{ $groupId := default "default" (.Get "groupId") }} 3 |
    4 |
    5 | {{ range $idx, $tab := .Scratch.Get "tabs" }} 6 | 12 | {{ end }} 13 |
    14 |
    15 | {{ range $idx, $tab := .Scratch.Get "tabs" }} 16 |
    17 | {{ .content }} 18 |
    19 | {{ end }} 20 |
    21 |
    22 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | publish = "exampleSite/public" 3 | command = "hugo -s exampleSite" 4 | 5 | [build.environment] 6 | HUGO_THEME = "repo" 7 | HUGO_THEMESDIR = "/opt/build" 8 | HUGO_VERSION = "0.72.0" 9 | 10 | [context.production.environment] 11 | HUGO_BASEURL = "https://learn.netlify.app/" 12 | 13 | [context.deploy-preview] 14 | command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL" 15 | 16 | [context.deploy-preview.environment] 17 | HUGO_ENABLEGITINFO = "true" 18 | 19 | [context.branch-deplpy] 20 | command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL" 21 | 22 | [context.branch-deploy.environment] 23 | HUGO_ENABLEGITINFO = "true" 24 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/css/atom-one-dark-reasonable.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage 4 | 5 | Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax 6 | 7 | */ 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | line-height: 1.3em; 13 | color: #abb2bf; 14 | background: #282c34; 15 | border-radius: 5px; 16 | } 17 | .hljs-keyword, .hljs-operator { 18 | color: #F92672; 19 | } 20 | .hljs-pattern-match { 21 | color: #F92672; 22 | } 23 | .hljs-pattern-match .hljs-constructor { 24 | color: #61aeee; 25 | } 26 | .hljs-function { 27 | color: #61aeee; 28 | } 29 | .hljs-function .hljs-params { 30 | color: #A6E22E; 31 | } 32 | .hljs-function .hljs-params .hljs-typing { 33 | color: #FD971F; 34 | } 35 | .hljs-module-access .hljs-module { 36 | color: #7e57c2; 37 | } 38 | .hljs-constructor { 39 | color: #e2b93d; 40 | } 41 | .hljs-constructor .hljs-string { 42 | color: #9CCC65; 43 | } 44 | .hljs-comment, .hljs-quote { 45 | color: #b18eb1; 46 | font-style: italic; 47 | } 48 | .hljs-doctag, .hljs-formula { 49 | color: #c678dd; 50 | } 51 | .hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst { 52 | color: #e06c75; 53 | } 54 | .hljs-literal { 55 | color: #56b6c2; 56 | } 57 | .hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string { 58 | color: #98c379; 59 | } 60 | .hljs-built_in, .hljs-class .hljs-title { 61 | color: #e6c07b; 62 | } 63 | .hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number { 64 | color: #d19a66; 65 | } 66 | .hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title { 67 | color: #61aeee; 68 | } 69 | .hljs-emphasis { 70 | font-style: italic; 71 | } 72 | .hljs-strong { 73 | font-weight: bold; 74 | } 75 | .hljs-link { 76 | text-decoration: underline; 77 | } 78 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/css/auto-complete.css: -------------------------------------------------------------------------------- 1 | .autocomplete-suggestions { 2 | text-align: left; 3 | cursor: default; 4 | border: 1px solid #ccc; 5 | border-top: 0; 6 | background: #fff; 7 | box-shadow: -1px 1px 3px rgba(0,0,0,.1); 8 | 9 | /* core styles should not be changed */ 10 | position: absolute; 11 | display: none; 12 | z-index: 9999; 13 | max-height: 254px; 14 | overflow: hidden; 15 | overflow-y: auto; 16 | box-sizing: border-box; 17 | 18 | } 19 | .autocomplete-suggestion { 20 | position: relative; 21 | cursor: pointer; 22 | padding: 7px; 23 | line-height: 23px; 24 | white-space: nowrap; 25 | overflow: hidden; 26 | text-overflow: ellipsis; 27 | color: #333; 28 | } 29 | 30 | .autocomplete-suggestion b { 31 | font-weight: normal; 32 | color: #1f8dd6; 33 | } 34 | 35 | .autocomplete-suggestion.selected { 36 | background: #333; 37 | color: #fff; 38 | } 39 | 40 | .autocomplete-suggestion:hover { 41 | background: #444; 42 | color: #fff; 43 | } 44 | 45 | .autocomplete-suggestion > .context { 46 | font-size: 12px; 47 | } 48 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/css/featherlight.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Featherlight - ultra slim jQuery lightbox 3 | * Version 1.7.13 - http://noelboss.github.io/featherlight/ 4 | * 5 | * Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com) 6 | * MIT Licensed. 7 | **/ 8 | html.with-featherlight{overflow:hidden}.featherlight{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;text-align:center;white-space:nowrap;cursor:pointer;background:#333;background:rgba(0,0,0,0)}.featherlight:last-of-type{background:rgba(0,0,0,.8)}.featherlight:before{content:'';display:inline-block;height:100%;vertical-align:middle}.featherlight .featherlight-content{position:relative;text-align:left;vertical-align:middle;display:inline-block;overflow:auto;padding:25px 25px 0;border-bottom:25px solid transparent;margin-left:5%;margin-right:5%;max-height:95%;background:#fff;cursor:auto;white-space:normal}.featherlight .featherlight-inner{display:block}.featherlight link.featherlight-inner,.featherlight script.featherlight-inner,.featherlight style.featherlight-inner{display:none}.featherlight .featherlight-close-icon{position:absolute;z-index:9999;top:0;right:0;line-height:25px;width:25px;cursor:pointer;text-align:center;font-family:Arial,sans-serif;background:#fff;background:rgba(255,255,255,.3);color:#000;border:0;padding:0}.featherlight .featherlight-close-icon::-moz-focus-inner{border:0;padding:0}.featherlight .featherlight-image{width:100%}.featherlight-iframe .featherlight-content{border-bottom:0;padding:0;-webkit-overflow-scrolling:touch}.featherlight iframe{border:0}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (max-width:1024px){.featherlight .featherlight-content{margin-left:0;margin-right:0;max-height:98%;padding:10px 10px 0;border-bottom:10px solid transparent}}@media print{html.with-featherlight>*>:not(.featherlight){display:none}} -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/css/hybrid.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) 4 | 5 | */ 6 | 7 | /*background color*/ 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #1d1f21; 13 | } 14 | 15 | /*selection color*/ 16 | .hljs::selection, 17 | .hljs span::selection { 18 | background: #373b41; 19 | } 20 | 21 | .hljs::-moz-selection, 22 | .hljs span::-moz-selection { 23 | background: #373b41; 24 | } 25 | 26 | /*foreground color*/ 27 | .hljs { 28 | color: #c5c8c6; 29 | } 30 | 31 | /*color: fg_yellow*/ 32 | .hljs-title, 33 | .hljs-name { 34 | color: #f0c674; 35 | } 36 | 37 | /*color: fg_comment*/ 38 | .hljs-comment, 39 | .hljs-meta, 40 | .hljs-meta .hljs-keyword { 41 | color: #707880; 42 | } 43 | 44 | /*color: fg_red*/ 45 | .hljs-number, 46 | .hljs-symbol, 47 | .hljs-literal, 48 | .hljs-deletion, 49 | .hljs-link { 50 | color: #cc6666 51 | } 52 | 53 | /*color: fg_green*/ 54 | .hljs-string, 55 | .hljs-doctag, 56 | .hljs-addition, 57 | .hljs-regexp, 58 | .hljs-selector-attr, 59 | .hljs-selector-pseudo { 60 | color: #b5bd68; 61 | } 62 | 63 | /*color: fg_purple*/ 64 | .hljs-attribute, 65 | .hljs-code, 66 | .hljs-selector-id { 67 | color: #b294bb; 68 | } 69 | 70 | /*color: fg_blue*/ 71 | .hljs-keyword, 72 | .hljs-selector-tag, 73 | .hljs-bullet, 74 | .hljs-tag { 75 | color: #81a2be; 76 | } 77 | 78 | /*color: fg_aqua*/ 79 | .hljs-subst, 80 | .hljs-variable, 81 | .hljs-template-tag, 82 | .hljs-template-variable { 83 | color: #8abeb7; 84 | } 85 | 86 | /*color: fg_orange*/ 87 | .hljs-type, 88 | .hljs-built_in, 89 | .hljs-builtin-name, 90 | .hljs-quote, 91 | .hljs-section, 92 | .hljs-selector-class { 93 | color: #de935f; 94 | } 95 | 96 | .hljs-emphasis { 97 | font-style: italic; 98 | } 99 | 100 | .hljs-strong { 101 | font-weight: bold; 102 | } 103 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/css/tabs.css: -------------------------------------------------------------------------------- 1 | #body .tab-nav-button { 2 | border-width: 1px 1px 1px 1px !important; 3 | border-color: #ccc !important; 4 | border-radius: 4px 4px 0 0 !important; 5 | background-color: #ddd !important; 6 | float: left; 7 | display: block; 8 | position: relative; 9 | margin-left: 4px; 10 | bottom: -1px; 11 | } 12 | #body .tab-nav-button:first-child { 13 | margin-left: 0px; 14 | } 15 | #body .tab-nav-button.active { 16 | background-color: #fff !important; 17 | border-bottom-color: #fff !important; 18 | } 19 | 20 | #body .tab-panel { 21 | margin-top: 32px; 22 | margin-bottom: 32px; 23 | } 24 | #body .tab-content { 25 | display: block; 26 | clear: both; 27 | padding: 8px; 28 | border-width: 1px; 29 | border-style: solid; 30 | border-color: #ccc; 31 | } 32 | #body .tab-content .tab-item{ 33 | display: none; 34 | } 35 | 36 | #body .tab-content .tab-item.active{ 37 | display: block; 38 | } 39 | 40 | #body .tab-item pre{ 41 | margin-bottom: 0; 42 | margin-top: 0; 43 | } 44 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/css/tags.css: -------------------------------------------------------------------------------- 1 | /* Tags */ 2 | 3 | #head-tags{ 4 | margin-left:1em; 5 | margin-top:1em; 6 | } 7 | 8 | #body .tags a.tag-link { 9 | display: inline-block; 10 | line-height: 2em; 11 | font-size: 0.8em; 12 | position: relative; 13 | margin: 0 16px 8px 0; 14 | padding: 0 10px 0 12px; 15 | background: #8451a1; 16 | 17 | -webkit-border-bottom-right-radius: 3px; 18 | border-bottom-right-radius: 3px; 19 | -webkit-border-top-right-radius: 3px; 20 | border-top-right-radius: 3px; 21 | 22 | -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); 23 | box-shadow: 0 1px 2px rgba(0,0,0,0.2); 24 | color: #fff; 25 | } 26 | 27 | #body .tags a.tag-link:before { 28 | content: ""; 29 | position: absolute; 30 | top:0; 31 | left: -1em; 32 | width: 0; 33 | height: 0; 34 | border-color: transparent #8451a1 transparent transparent; 35 | border-style: solid; 36 | border-width: 1em 1em 1em 0; 37 | } 38 | 39 | #body .tags a.tag-link:after { 40 | content: ""; 41 | position: absolute; 42 | top: 10px; 43 | left: 1px; 44 | width: 5px; 45 | height: 5px; 46 | -webkit-border-radius: 50%; 47 | border-radius: 100%; 48 | background: #fff; 49 | } 50 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Inconsolata.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Inconsolata.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Inconsolata.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Inconsolata.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Inconsolata.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Inconsolata.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.woff2 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.woff2 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_200.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_200.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_200.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_200.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_200.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_200.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_200.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_200.woff2 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_300.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_300.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_300.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_300.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_300.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_300.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_300.woff2 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_500.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_500.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_500.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_500.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_500.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_500.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/fonts/Work_Sans_500.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/fonts/Work_Sans_500.woff2 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/images/clippy.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/images/favicon.png -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/images/gopher-404.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/images/gopher-404.jpg -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-brands-400.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-brands-400.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-regular-400.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-regular-400.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-solid-900.eot -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-solid-900.woff -------------------------------------------------------------------------------- /themes/hugo-theme-learn/static/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bettercap/website/7599bc0ae2724309c13454a016a97af29874d181/themes/hugo-theme-learn/static/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /themes/hugo-theme-learn/theme.toml: -------------------------------------------------------------------------------- 1 | # theme.toml template for a Hugo theme 2 | # See https://github.com/spf13/hugoThemes#themetoml for an example 3 | 4 | name = "Learn" 5 | license = "MIT" 6 | licenselink = "https://github.com/matcornic/hugo-theme-learn/blob/master/LICENSE.md" 7 | description = "Documentation theme for Hugo, based on Grav Learn theme" 8 | homepage = "https://github.com/matcornic/hugo-theme-learn/" 9 | repo = "https://github.com/matcornic/hugo-theme-learn" 10 | tags = ["documentation", "grav", "learn", "doc", "search"] 11 | features = ["documentation", "menu", "nested sections", "search", "mermaid"] 12 | min_version = 0.25 13 | 14 | [author] 15 | name = "Mathieu Cornic" 16 | homepage = "https://matcornic.github.io/" 17 | 18 | [original] 19 | name = "Grav Learn" 20 | homepage = "https://learn.getgrav.org/" 21 | repo = "https://github.com/getgrav/grav-learn" 22 | -------------------------------------------------------------------------------- /themes/hugo-theme-learn/wercker.yml: -------------------------------------------------------------------------------- 1 | box: golang 2 | build: 3 | steps: 4 | # Gets the dependencies 5 | - script: 6 | name: get hugo 7 | code: | 8 | git clone https://github.com/gohugoio/hugo.git && cd hugo && go install 9 | # Sets the go workspace and places you package 10 | # at the right place in the workspace tree 11 | - setup-go-workspace 12 | # Build the project 13 | - script: 14 | name: build site 15 | code: | 16 | cd exampleSite && hugo --------------------------------------------------------------------------------