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 b351148 commit 4d9b459
Show file tree
Hide file tree
Showing 43 changed files with 1,021 additions and 1,010 deletions.
7 changes: 7 additions & 0 deletions content/modules/hid/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,23 @@ Start scanning for HID devices on the 2.4Ghz spectrum.
#### `hid.recon off`

Stop scanning for HID devices on the 2.4Ghz spectrum.

#### `hid.show`

Show a list of detected HID devices on the 2.4Ghz spectrum.

#### `hid.sniff ADDRESS`

Start sniffing a specific ADDRESS in order to collect payloads, use 'clear' to stop collecting.

#### `hid.inject ADDRESS LAYOUT FILENAME`

Parse the DuckyScript `FILENAME` and inject it as HID frames spoofing the device `ADDRESS`, using the `LAYOUT` keyboard mapping (available layouts: `BE BR CA CH DE DK ES FI FR GB HR IT NO PT RU SI SV TR US`).

{{% notice note %}}
The command `hid.inject` does not require the HID device to be visible via the `hid.show` command. If you know the address of the dongle already, you can simply set the `hid.force.type` parameter to one among `logitech` (the default value), `amazon` or `microsoft` and run the injection *"blindly"*.
{{% /notice %}}

### Parameters

| parameter | default | description |
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?1552143480" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552143480" rel="stylesheet">
<link href="/css/hybrid.css?1552143480" rel="stylesheet">
<link href="/css/featherlight.min.css?1552143480" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552143480" rel="stylesheet">
<link href="/css/horsey.css?1552143480" rel="stylesheet">
<link href="/css/theme.css?1552143480" rel="stylesheet">
<link href="/css/hugo-theme.css?1552143480" rel="stylesheet">
<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/theme-green.css?1552143480" rel="stylesheet">
<link href="/css/theme-green.css?1552143908" rel="stylesheet">

<style type="text/css">
:root #header + #content > #left > #rlblock_left {
Expand Down
50 changes: 25 additions & 25 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?1552143480" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552143480" rel="stylesheet">
<link href="/css/hybrid.css?1552143480" rel="stylesheet">
<link href="/css/featherlight.min.css?1552143480" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552143480" rel="stylesheet">
<link href="/css/auto-complete.css?1552143480" rel="stylesheet">
<link href="/css/theme.css?1552143480" rel="stylesheet">
<link href="/css/hugo-theme.css?1552143480" rel="stylesheet">
<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/theme-green.css?1552143480" rel="stylesheet">
<link href="/css/theme-green.css?1552143908" rel="stylesheet">


<script src="/js/jquery-2.x.min.js?1552143480"></script>
<script src="/js/jquery-2.x.min.js?1552143908"></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?1552143480"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552143480"></script>
<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">

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

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


</div>
Expand Down Expand Up @@ -2283,20 +2283,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?1552143480"></script>
<script src="/js/perfect-scrollbar.min.js?1552143480"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552143480"></script>
<script src="/js/jquery.sticky.js?1552143480"></script>
<script src="/js/featherlight.min.js?1552143480"></script>
<script src="/js/html5shiv-printshiv.min.js?1552143480"></script>
<script src="/js/highlight.pack.js?1552143480"></script>
<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>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom.71422.js?1552143480"></script>
<script src="/js/learn.js?1552143480"></script>
<script src="/js/hugo-learn.js?1552143480"></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>

<link href="/mermaid/mermaid.css?1552143480" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552143480"></script>
<link href="/mermaid/mermaid.css?1552143908" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552143908"></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?1552143480" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552143480" rel="stylesheet">
<link href="/css/hybrid.css?1552143480" rel="stylesheet">
<link href="/css/featherlight.min.css?1552143480" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552143480" rel="stylesheet">
<link href="/css/auto-complete.css?1552143480" rel="stylesheet">
<link href="/css/theme.css?1552143480" rel="stylesheet">
<link href="/css/hugo-theme.css?1552143480" rel="stylesheet">
<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/theme-green.css?1552143480" rel="stylesheet">
<link href="/css/theme-green.css?1552143908" rel="stylesheet">


<script src="/js/jquery-2.x.min.js?1552143480"></script>
<script src="/js/jquery-2.x.min.js?1552143908"></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?1552143480"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552143480"></script>
<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">

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

</script>
<script type="text/javascript" src="/js/search.js?1552143480"></script>
<script type="text/javascript" src="/js/search.js?1552143908"></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?1552143480"></script>
<script src="/js/perfect-scrollbar.min.js?1552143480"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552143480"></script>
<script src="/js/jquery.sticky.js?1552143480"></script>
<script src="/js/featherlight.min.js?1552143480"></script>
<script src="/js/html5shiv-printshiv.min.js?1552143480"></script>
<script src="/js/highlight.pack.js?1552143480"></script>
<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>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom.71422.js?1552143480"></script>
<script src="/js/learn.js?1552143480"></script>
<script src="/js/hugo-learn.js?1552143480"></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>

<link href="/mermaid/mermaid.css?1552143480" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552143480"></script>
<link href="/mermaid/mermaid.css?1552143908" type="text/css" rel="stylesheet" />
<script src="/mermaid/mermaid.js?1552143908"></script>
<script>
mermaid.initialize({ startOnLoad: true });
</script>
Expand Down
50 changes: 25 additions & 25 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?1552143480" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552143480" rel="stylesheet">
<link href="/css/hybrid.css?1552143480" rel="stylesheet">
<link href="/css/featherlight.min.css?1552143480" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552143480" rel="stylesheet">
<link href="/css/auto-complete.css?1552143480" rel="stylesheet">
<link href="/css/theme.css?1552143480" rel="stylesheet">
<link href="/css/hugo-theme.css?1552143480" rel="stylesheet">
<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/theme-green.css?1552143480" rel="stylesheet">
<link href="/css/theme-green.css?1552143908" rel="stylesheet">


<script src="/js/jquery-2.x.min.js?1552143480"></script>
<script src="/js/jquery-2.x.min.js?1552143908"></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?1552143480"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552143480"></script>
<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">

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

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


</div>
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?1552143480"></script>
<script src="/js/perfect-scrollbar.min.js?1552143480"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552143480"></script>
<script src="/js/jquery.sticky.js?1552143480"></script>
<script src="/js/featherlight.min.js?1552143480"></script>
<script src="/js/html5shiv-printshiv.min.js?1552143480"></script>
<script src="/js/highlight.pack.js?1552143480"></script>
<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>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom.71422.js?1552143480"></script>
<script src="/js/learn.js?1552143480"></script>
<script src="/js/hugo-learn.js?1552143480"></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>

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



<link href="/css/nucleus.css?1552143480" rel="stylesheet">
<link href="/css/fontawesome-all.min.css?1552143480" rel="stylesheet">
<link href="/css/hybrid.css?1552143480" rel="stylesheet">
<link href="/css/featherlight.min.css?1552143480" rel="stylesheet">
<link href="/css/perfect-scrollbar.min.css?1552143480" rel="stylesheet">
<link href="/css/auto-complete.css?1552143480" rel="stylesheet">
<link href="/css/theme.css?1552143480" rel="stylesheet">
<link href="/css/hugo-theme.css?1552143480" rel="stylesheet">
<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/theme-green.css?1552143480" rel="stylesheet">
<link href="/css/theme-green.css?1552143908" rel="stylesheet">


<script src="/js/jquery-2.x.min.js?1552143480"></script>
<script src="/js/jquery-2.x.min.js?1552143908"></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?1552143480"></script>
<script type="text/javascript" src="/js/auto-complete.js?1552143480"></script>
<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">

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

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


</div>
Expand Down Expand Up @@ -1858,20 +1858,20 @@ <h3></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?1552143480"></script>
<script src="/js/perfect-scrollbar.min.js?1552143480"></script>
<script src="/js/perfect-scrollbar.jquery.min.js?1552143480"></script>
<script src="/js/jquery.sticky.js?1552143480"></script>
<script src="/js/featherlight.min.js?1552143480"></script>
<script src="/js/html5shiv-printshiv.min.js?1552143480"></script>
<script src="/js/highlight.pack.js?1552143480"></script>
<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>hljs.initHighlightingOnLoad();</script>
<script src="/js/modernizr.custom.71422.js?1552143480"></script>
<script src="/js/learn.js?1552143480"></script>
<script src="/js/hugo-learn.js?1552143480"></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>

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

0 comments on commit 4d9b459

Please sign in to comment.