mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2024-12-18 19:06:09 +00:00
Update each tab to have a searchbar and filter present
This commit is contained in:
parent
888c4a9b97
commit
bec8fc847c
25
index.html
25
index.html
@ -202,9 +202,6 @@
|
||||
</li> -->
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
<!-- Reverse Shell Tab-->
|
||||
<div class="tab-pane active" id="reverse" role="tabpanel" aria-labelledby="reverse-tab">
|
||||
<div class="card shadow mb-5">
|
||||
<div class="card-body">
|
||||
<!-- Top configuration bar -->
|
||||
@ -240,6 +237,9 @@
|
||||
<!-- /Show all advanced switch -->
|
||||
</div>
|
||||
|
||||
<div class="tab-content">
|
||||
<!-- Reverse Shell Tab-->
|
||||
<div class="tab-pane active" id="reverse" role="tabpanel" aria-labelledby="reverse-tab">
|
||||
<div class="card-text mt-4">
|
||||
<div class="row">
|
||||
|
||||
@ -340,17 +340,11 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- /card-text -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Reverse Shell Tab -->
|
||||
|
||||
<!-- Bind Shell Tab -->
|
||||
<div class="tab-pane" id="bind" role="tabpanel" aria-labelledby="bind-tab">
|
||||
<div class="card shadow mb-5">
|
||||
<div class="card-body">
|
||||
<div class="card-text mt-4">
|
||||
<div class="row">
|
||||
<!-- Left column: Bind selection -->
|
||||
@ -395,15 +389,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Bind Shell Tab -->
|
||||
|
||||
<!-- MSFVenom Tab -->
|
||||
<div class="tab-pane" id="msfvenom" role="tabpanel" aria-labelledby="msfvenom-tab">
|
||||
<div class="card shadow mb-5">
|
||||
<div class="card-body">
|
||||
<img src="assets/floppy-disk-solid.svg" class="download-svg float-right" data-toggle="tooltip" title="Download Payload">
|
||||
<div class="card-text mt-4">
|
||||
<div class="row">
|
||||
<!-- Left column: MSFVenom selection -->
|
||||
@ -456,14 +445,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /MSFVenom Tab -->
|
||||
|
||||
<!-- HoaxShell Tab -->
|
||||
<div class="tab-pane" id="hoaxshell" role="tabpanel" aria-labelledby="hoaxshell-tab">
|
||||
<div class="card shadow mb-5">
|
||||
<div class="card-body">
|
||||
<div class="card-text mt-4">
|
||||
<div class="row">
|
||||
<!-- Left column: HoaxShell selection -->
|
||||
@ -507,10 +492,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /hoaxshell Tab -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- RSG data -->
|
||||
<script src="js/data.js"></script>
|
||||
|
@ -358,7 +358,14 @@ const rsg = {
|
||||
}
|
||||
);
|
||||
|
||||
const documentFragment = document.createDocumentFragment()
|
||||
const documentFragment = document.createDocumentFragment();
|
||||
if (filteredItems.length === 0) {
|
||||
const emptyMessage = document.createElement("button");
|
||||
emptyMessage.innerText = "No results found";
|
||||
emptyMessage.classList.add("list-group-item", "list-group-item-action", "disabled");
|
||||
|
||||
documentFragment.appendChild(emptyMessage);
|
||||
}
|
||||
filteredItems.forEach((item, index) => {
|
||||
const {
|
||||
name,
|
||||
|
Loading…
Reference in New Issue
Block a user