Skip to content

Commit

Permalink
misc: small fix or general refactoring i did not bother commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Mar 9, 2019
1 parent 4d9b459 commit 197fa1e
Show file tree
Hide file tree
Showing 44 changed files with 1,024 additions and 1,015 deletions.
6 changes: 5 additions & 1 deletion content/basic-usage/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ Write memory profile file when exiting (used for debugging and benchmarking).

#### `-debug`

Enable debug messages, **must be used [to report bugs](/contributing/#reporting-bugs)**.
Enable debug messages (**must be used [to report bugs](/contributing/#reporting-bugs)**.

#### `-version`

Print version and build information, then exit (**must be used [to report bugs](/contributing/#reporting-bugs)**.

### Core Commands

Expand Down
2 changes: 1 addition & 1 deletion content/contributing/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ If you find bugs or inconsistencies while using bettercap, you can create an Iss

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:

* bettercap version you are using.
* bettercap version you are using ( `bettercap -version` ).
* Go version if building from sources.
* OS version and architecture you are using.
* Command line arguments you are using.
Expand Down
18 changes: 9 additions & 9 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
<title>404 Page not found</title>


<link href="/css/nucleus.css?1552143908" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552143908" rel="stylesheet">
<link href="/css/hybrid.css?1552143908" rel="stylesheet">
<link href="/css/featherlight.min.css?1552143908" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552143908" rel="stylesheet">
<link href="/css/horsey.css?1552143908" rel="stylesheet">
<link href="/css/theme.css?1552143908" rel="stylesheet">
<link href="/css/hugo-theme.css?1552143908" rel="stylesheet">
<link href="/css/nucleus.css?1552145077" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552145077" rel="stylesheet">
<link href="/css/hybrid.css?1552145077" rel="stylesheet">
<link href="/css/featherlight.min.css?1552145077" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552145077" rel="stylesheet">
<link href="/css/horsey.css?1552145077" rel="stylesheet">
<link href="/css/theme.css?1552145077" rel="stylesheet">
<link href="/css/hugo-theme.css?1552145077" rel="stylesheet">

<link href="/css/theme-green.css?1552143908" rel="stylesheet">
<link href="/css/theme-green.css?1552145077" rel="stylesheet">

<style type="text/css">
:root #header + #content > #left > #rlblock_left {
Expand Down
57 changes: 31 additions & 26 deletions docs/basic-usage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@



<link href="/css/nucleus.css?1552143908" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552143908" rel="stylesheet">
<link href="/css/hybrid.css?1552143908" rel="stylesheet">
<link href="/css/featherlight.min.css?1552143908" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552143908" rel="stylesheet">
<link href="/css/auto-complete.css?1552143908" rel="stylesheet">
<link href="/css/theme.css?1552143908" rel="stylesheet">
<link href="/css/hugo-theme.css?1552143908" rel="stylesheet">
<link href="/css/nucleus.css?1552145077" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552145077" rel="stylesheet">
<link href="/css/hybrid.css?1552145077" rel="stylesheet">
<link href="/css/featherlight.min.css?1552145077" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552145077" rel="stylesheet">
<link href="/css/auto-complete.css?1552145077" rel="stylesheet">
<link href="/css/theme.css?1552145077" rel="stylesheet">
<link href="/css/hugo-theme.css?1552145077" rel="stylesheet">

<link href="/css/theme-green.css?1552143908" rel="stylesheet">
<link href="/css/theme-green.css?1552145077" rel="stylesheet">


<script src="/js/jquery-2.x.min.js?1552143908"></script>
<script src="/js/jquery-2.x.min.js?1552145077"></script>

<style type="text/css">
:root #header + #content > #left > #rlblock_left{
Expand Down Expand Up @@ -129,14 +129,14 @@ <h1 style="margin:0; padding:0">
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>

<script type="text/javascript" src="/js/lunr.min.js?1552143908"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552143908"></script>
<script type="text/javascript" src="/js/lunr.min.js?1552145077"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552145077"></script>
<script type="text/javascript">

var baseurl = "https:\/\/bettercap.org\/";

</script>
<script type="text/javascript" src="/js/search.js?1552143908"></script>
<script type="text/javascript" src="/js/search.js?1552145077"></script>


</div>
Expand Down Expand Up @@ -1230,6 +1230,7 @@ <h3></h3>
<li><a href="#cpu-profile-filename"><code>-cpu-profile FILENAME</code></a></li>
<li><a href="#mem-profile-filename"><code>-mem-profile FILENAME</code></a></li>
<li><a href="#debug"><code>-debug</code></a></li>
<li><a href="#version"><code>-version</code></a></li>
</ul></li>
<li><a href="#core-commands">Core Commands</a>
<ul>
Expand Down Expand Up @@ -1381,7 +1382,11 @@ <h4 id="mem-profile-filename"><code>-mem-profile FILENAME</code></h4>

<h4 id="debug"><code>-debug</code></h4>

<p>Enable debug messages, <strong>must be used <a href="/contributing/#reporting-bugs">to report bugs</a></strong>.</p>
<p>Enable debug messages (<strong>must be used <a href="/contributing/#reporting-bugs">to report bugs</a></strong>.</p>

<h4 id="version"><code>-version</code></h4>

<p>Print version and build information, then exit (<strong>must be used <a href="/contributing/#reporting-bugs">to report bugs</a></strong>.</p>

<h3 id="core-commands">Core Commands</h3>

Expand Down Expand Up @@ -2283,20 +2288,20 @@ <h3 id="examples">Examples</h3>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1552143908"></script>
<script src="/js/perfect-scrollbar.min.js?1552143908"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552143908"></script>
<script src="/js/jquery.sticky.js?1552143908"></script>
<script src="/js/featherlight.min.js?1552143908"></script>
<script src="/js/html5shiv-printshiv.min.js?1552143908"></script>
<script src="/js/highlight.pack.js?1552143908"></script>
<script src="/js/clipboard.min.js?1552145077"></script>
<script src="/js/perfect-scrollbar.min.js?1552145077"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552145077"></script>
<script src="/js/jquery.sticky.js?1552145077"></script>
<script src="/js/featherlight.min.js?1552145077"></script>
<script src="/js/html5shiv-printshiv.min.js?1552145077"></script>
<script src="/js/highlight.pack.js?1552145077"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom.71422.js?1552143908"></script>
<script src="/js/learn.js?1552143908"></script>
<script src="/js/hugo-learn.js?1552143908"></script>
<script src="/js/modernizr.custom.71422.js?1552145077"></script>
<script src="/js/learn.js?1552145077"></script>
<script src="/js/hugo-learn.js?1552145077"></script>

<link href="/mermaid/mermaid.css?1552143908" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552143908"></script>
<link href="/mermaid/mermaid.css?1552145077" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552145077"></script>
<script>
mermaid.initialize({ startOnLoad: true });
</script>
Expand Down
50 changes: 25 additions & 25 deletions docs/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@



<link href="/css/nucleus.css?1552143908" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552143908" rel="stylesheet">
<link href="/css/hybrid.css?1552143908" rel="stylesheet">
<link href="/css/featherlight.min.css?1552143908" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552143908" rel="stylesheet">
<link href="/css/auto-complete.css?1552143908" rel="stylesheet">
<link href="/css/theme.css?1552143908" rel="stylesheet">
<link href="/css/hugo-theme.css?1552143908" rel="stylesheet">
<link href="/css/nucleus.css?1552145077" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552145077" rel="stylesheet">
<link href="/css/hybrid.css?1552145077" rel="stylesheet">
<link href="/css/featherlight.min.css?1552145077" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552145077" rel="stylesheet">
<link href="/css/auto-complete.css?1552145077" rel="stylesheet">
<link href="/css/theme.css?1552145077" rel="stylesheet">
<link href="/css/hugo-theme.css?1552145077" rel="stylesheet">

<link href="/css/theme-green.css?1552143908" rel="stylesheet">
<link href="/css/theme-green.css?1552145077" rel="stylesheet">


<script src="/js/jquery-2.x.min.js?1552143908"></script>
<script src="/js/jquery-2.x.min.js?1552145077"></script>

<style type="text/css">
:root #header + #content > #left > #rlblock_left{
Expand Down Expand Up @@ -129,14 +129,14 @@ <h1 style="margin:0; padding:0">
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>

<script type="text/javascript" src="/js/lunr.min.js?1552143908"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552143908"></script>
<script type="text/javascript" src="/js/lunr.min.js?1552145077"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552145077"></script>
<script type="text/javascript">

var baseurl = "https:\/\/bettercap.org\/";

</script>
<script type="text/javascript" src="/js/search.js?1552143908"></script>
<script type="text/javascript" src="/js/search.js?1552145077"></script>


</div>
Expand Down Expand Up @@ -1871,20 +1871,20 @@ <h1>Categories</h1>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1552143908"></script>
<script src="/js/perfect-scrollbar.min.js?1552143908"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552143908"></script>
<script src="/js/jquery.sticky.js?1552143908"></script>
<script src="/js/featherlight.min.js?1552143908"></script>
<script src="/js/html5shiv-printshiv.min.js?1552143908"></script>
<script src="/js/highlight.pack.js?1552143908"></script>
<script src="/js/clipboard.min.js?1552145077"></script>
<script src="/js/perfect-scrollbar.min.js?1552145077"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552145077"></script>
<script src="/js/jquery.sticky.js?1552145077"></script>
<script src="/js/featherlight.min.js?1552145077"></script>
<script src="/js/html5shiv-printshiv.min.js?1552145077"></script>
<script src="/js/highlight.pack.js?1552145077"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom.71422.js?1552143908"></script>
<script src="/js/learn.js?1552143908"></script>
<script src="/js/hugo-learn.js?1552143908"></script>
<script src="/js/modernizr.custom.71422.js?1552145077"></script>
<script src="/js/learn.js?1552145077"></script>
<script src="/js/hugo-learn.js?1552145077"></script>

<link href="/mermaid/mermaid.css?1552143908" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552143908"></script>
<link href="/mermaid/mermaid.css?1552145077" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552145077"></script>
<script>
mermaid.initialize({ startOnLoad: true });
</script>
Expand Down
52 changes: 26 additions & 26 deletions docs/contributing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@



<link href="/css/nucleus.css?1552143908" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552143908" rel="stylesheet">
<link href="/css/hybrid.css?1552143908" rel="stylesheet">
<link href="/css/featherlight.min.css?1552143908" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552143908" rel="stylesheet">
<link href="/css/auto-complete.css?1552143908" rel="stylesheet">
<link href="/css/theme.css?1552143908" rel="stylesheet">
<link href="/css/hugo-theme.css?1552143908" rel="stylesheet">
<link href="/css/nucleus.css?1552145077" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552145077" rel="stylesheet">
<link href="/css/hybrid.css?1552145077" rel="stylesheet">
<link href="/css/featherlight.min.css?1552145077" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552145077" rel="stylesheet">
<link href="/css/auto-complete.css?1552145077" rel="stylesheet">
<link href="/css/theme.css?1552145077" rel="stylesheet">
<link href="/css/hugo-theme.css?1552145077" rel="stylesheet">

<link href="/css/theme-green.css?1552143908" rel="stylesheet">
<link href="/css/theme-green.css?1552145077" rel="stylesheet">


<script src="/js/jquery-2.x.min.js?1552143908"></script>
<script src="/js/jquery-2.x.min.js?1552145077"></script>

<style type="text/css">
:root #header + #content > #left > #rlblock_left{
Expand Down Expand Up @@ -129,14 +129,14 @@ <h1 style="margin:0; padding:0">
<span data-search-clear=""><i class="fas fa-times"></i></span>
</div>

<script type="text/javascript" src="/js/lunr.min.js?1552143908"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552143908"></script>
<script type="text/javascript" src="/js/lunr.min.js?1552145077"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552145077"></script>
<script type="text/javascript">

var baseurl = "https:\/\/bettercap.org\/";

</script>
<script type="text/javascript" src="/js/search.js?1552143908"></script>
<script type="text/javascript" src="/js/search.js?1552145077"></script>


</div>
Expand Down Expand Up @@ -1257,7 +1257,7 @@ <h2 id="reporting-bugs">Reporting Bugs</h2>
<p>Once you&rsquo;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:</p>

<ul>
<li>bettercap version you are using.</li>
<li>bettercap version you are using ( <code>bettercap -version</code> ).</li>
<li>Go version if building from sources.</li>
<li>OS version and architecture you are using.</li>
<li>Command line arguments you are using.</li>
Expand Down Expand Up @@ -1952,20 +1952,20 @@ <h2 id="sending-a-pull-request">Sending a Pull Request</h2>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="/js/clipboard.min.js?1552143908"></script>
<script src="/js/perfect-scrollbar.min.js?1552143908"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552143908"></script>
<script src="/js/jquery.sticky.js?1552143908"></script>
<script src="/js/featherlight.min.js?1552143908"></script>
<script src="/js/html5shiv-printshiv.min.js?1552143908"></script>
<script src="/js/highlight.pack.js?1552143908"></script>
<script src="/js/clipboard.min.js?1552145077"></script>
<script src="/js/perfect-scrollbar.min.js?1552145077"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552145077"></script>
<script src="/js/jquery.sticky.js?1552145077"></script>
<script src="/js/featherlight.min.js?1552145077"></script>
<script src="/js/html5shiv-printshiv.min.js?1552145077"></script>
<script src="/js/highlight.pack.js?1552145077"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom.71422.js?1552143908"></script>
<script src="/js/learn.js?1552143908"></script>
<script src="/js/hugo-learn.js?1552143908"></script>
<script src="/js/modernizr.custom.71422.js?1552145077"></script>
<script src="/js/learn.js?1552145077"></script>
<script src="/js/hugo-learn.js?1552145077"></script>

<link href="/mermaid/mermaid.css?1552143908" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552143908"></script>
<link href="/mermaid/mermaid.css?1552145077" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552145077"></script>
<script>
mermaid.initialize({ startOnLoad: true });
</script>
Expand Down
Loading

0 comments on commit 197fa1e

Please sign in to comment.