Created a new panel in the UI for auto run elements.

This commit is contained in:
root
2024-02-15 20:39:38 -05:00
parent aa030d6949
commit 920a5c5a5d
3 changed files with 31 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ module BeEF
ui/panel/tabs/ZombieTabRTC.js
ui/panel/Logout.js
ui/panel/WelcomeTab.js
ui/panel/AutoRunTab.js
ui/panel/ModuleSearching.js
]

View File

@@ -0,0 +1,19 @@
AutoRunTab = function() {
autoRunHtml = " \
<div style='font:11px tahoma,arial,helvetica,sans-serif;width:500px' > \
<p>My custom panel :)</p>\
</div>\
";
AutoRunTab.superclass.constructor.call(this, {
region:'center',
padding:'10 10 10 10',
html: autoRunHtml,
autoScroll: true,
border: false
});
};
Ext.extend(AutoRunTab, Ext.Panel, {});

View File

@@ -38,6 +38,8 @@ MainPanel = function(){
this.welcome_tab = new WelcomeTab;
this.auto_run_tab = new AutoRunTab;
MainPanel.superclass.constructor.call(this, {
id:'main-tabs',
activeTab:0,
@@ -76,6 +78,15 @@ MainPanel = function(){
items:[
this.zombies_grid
]
},
{
id:'autorun-view',
title:'Auto Run',
layout:'border',
hideMode:'offsets',
items:[
this.auto_run_tab
]
}]
});