Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
update v1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Fadi002 committed Feb 1, 2024
1 parent 484816a commit d463671
Show file tree
Hide file tree
Showing 32 changed files with 2,098 additions and 91 deletions.
36 changes: 36 additions & 0 deletions GUI/css/plugins.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#plugins-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin: 20px;
}

.plugin-frame {
border: 2px solid #3498db;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 10px #0287CF;
text-align: center;
}

.plugin-info {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
color: #3498db;
}

.created-by {
color: #666;
margin-bottom: 20px;
}

.enter-button {
background-color: #3498db;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
2 changes: 1 addition & 1 deletion GUI/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,4 @@
border-color: #4ba3e2;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 0 12px #4ba3e2;
background-color: #444444;
}
}
14 changes: 10 additions & 4 deletions GUI/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/plugins.css">
<link rel="icon" type="image/png" href="/de4py.ico" />
<script type="text/javascript" src="/eel.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
Expand All @@ -25,6 +26,7 @@
<div onclick="navto('deobfuscator')" class="btn" style="background-image: url('feather/layers.svg');background-size: 24px 24px;background-repeat: no-repeat;background-position: 10px center;">Deobfuscator</div>
<div onclick="navto('pyshell')" class="btn" style="background-image: url('feather/terminal.svg');background-size: 24px 24px;background-repeat: no-repeat;background-position: 10px center;">PyShell</div>
<div onclick="navto('analyzer')" class="btn" style="background-image: url('feather/file-text.svg');background-size: 24px 24px;background-repeat: no-repeat;background-position: 10px center;">Analyzer</div>
<div onclick="navto('plugins')" class="btn" style="background-image: url('feather/grid.svg');background-size: 24px 24px;background-repeat: no-repeat;background-position: 10px center;">Plugins</div>
<div onclick="navto('about')" class="btn" style="background-image: url('feather/info.svg');background-size: 24px 24px;background-repeat: no-repeat;background-position: 10px center;">About</div>
</div>
<div class="menulol-container" id="menulol" style="left: 20px;">
Expand All @@ -35,7 +37,7 @@
<h1>Behavior Monitoring</h1>
<div class="frame" style="position: absolute; top: 120px;left:500px; width:400px; height:360px;">
<h1> Output: <button onclick="document.getElementById('outputwinapihooks').select(); document.execCommand('copy');createnotification('success', 'Copied');" style="margin-left: 150px;" class="btns">Copy Output</button></h1>
<textarea class="scroll-box" id="outputwinapihooks" style="height:250px;width: 380px; background-color:#1f1f1f; color: white;font-family: 'Share Tech Mono', monospace; resize:none;outline: none;"></textarea>
<textarea class="scroll-box" id="outputwinapihooks" style="height:250px;width: 380px;font-family: 'Share Tech Mono', monospace; resize:none;outline: none;"></textarea>
</div>
<div style="position: absolute; top: 120px; left: 50px; width: 350px; height: 150px;">
<div class="checkbox-container">
Expand Down Expand Up @@ -94,7 +96,7 @@ <h1>De4py deobfuscator</h1>
<div class="frame" style="position: absolute; top: 120px;left:500px; width:400px; height:350px;">
<h1> Output: <button onclick="document.getElementById('outputDEOBF').select(); document.execCommand('copy');createnotification('success', 'Copied');" style="margin-left: 150px;" class="btns">Copy Output</button>
</h1>
<textarea class="scroll-box" id="outputDEOBF" style="height:260px;width: 380px; background-color:#1f1f1f; color: white;font-family: 'Share Tech Mono', monospace; resize:none;outline: none;"></textarea>
<textarea class="scroll-box" id="outputDEOBF" style="height:260px;width: 380px; font-family: 'Share Tech Mono', monospace; resize:none;outline: none;"></textarea>
</div>
</section>
<section id="pyshell" class="center hidden">
Expand Down Expand Up @@ -124,7 +126,7 @@ <h1 style="margin-left:390px;">Commands</h1>
</div>
<div class="frame" style="position: absolute; top: 120px;left:500px; width:400px; height:85px;">
<h3>Output:</h3>
<textarea class="scroll-box" id="outputPYSHELL" style="height:5px;width: 380px; background-color:#1f1f1f; color: white;font-family: 'Share Tech Mono', monospace; resize:none;outline: none;overflow:hidden;"></textarea>
<textarea class="scroll-box" id="outputPYSHELL" style="height:5px;width: 380px;font-family: 'Share Tech Mono', monospace; resize:none;outline: none;overflow:hidden;"></textarea>
</div>
<div id="IDKWHATSHOULDINAMEIT" style="position: fixed;top: 0;left: 0;width: 100%;height: 100%;backdrop-filter: blur(5px);background-color: rgba(0, 0, 0, 0.5);z-index: 9999;display:none;">
<div style="padding-left: 800px;margin-top: 50px;">
Expand All @@ -148,7 +150,7 @@ <h1>Analyzer</h1>
</div>
<div class="frame" style="position: absolute; top: 120px;left:500px; width:400px; height:360px;">
<h1> Output: <button onclick="document.getElementById('outputanalyzer').select(); document.execCommand('copy');createnotification('success', 'Copied');" style="margin-left: 150px;" class="btns">Copy Output</button></h1>
<textarea class="scroll-box" id="outputanalyzer" style="height:250px;width: 380px; background-color:#1f1f1f; color: white;font-family: 'Share Tech Mono', monospace; resize:none;outline: none;"></textarea>
<textarea class="scroll-box" id="outputanalyzer" style="height:250px;width: 380px ;font-family: 'Share Tech Mono', monospace; resize:none;outline: none;"></textarea>
</div>
<div class="frame" style="position: absolute; top: 230px; left: 50px; width: 390px; height: 290px; padding:0px;">
<h1 style="margin-left:150px;">options</h1>
Expand All @@ -161,6 +163,10 @@ <h1 style="margin-left:150px;">options</h1>
</div>
</div>
</section>
<section id="plugins" class="center hidden">
<div id="plugins-container">
</div>
</section>
<section id="about" class="center hidden">
<div class="about-info frame">
<h1>About</h1>
Expand Down
25 changes: 25 additions & 0 deletions GUI/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ async function exec_command(command) {
}
}

async function loadPlugins() {
eel.load_plugins();
let pluginsContainer = document.getElementById('plugins-container');
let pluginsHtml = await eel.get_plugins()();
if (!pluginsHtml) {
document.getElementById('plugins').innerHTML = "<h1>No plugins where loaded</h1>";
}
pluginsContainer.innerHTML = pluginsHtml;
}


function pid_widget(method) {
if (!method) {
document.getElementById('IDKWHATSHOULDINAMEIT').style.display = 'none';
Expand Down Expand Up @@ -272,10 +283,24 @@ async function analyzer_command(command) {
return
}
}
eel.expose(applyCSS);
function applyCSS(cssCode) {
const styleElement = document.createElement("style");
styleElement.type = "text/css";
if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = cssCode;
} else {
styleElement.appendChild(document.createTextNode(cssCode));
}
document.head.appendChild(styleElement);
const bodyElement = document.getElementsByTagName('body')[0];
bodyElement.style.cssText += cssCode;
}

document.addEventListener('DOMContentLoaded', function() {
loadchangelog();
load_info();
loadPlugins();
setInterval(updatetime, 1000);
const navbar = document.getElementById('navbar');
const menuToggle = document.getElementById('menulol');
Expand Down
10 changes: 9 additions & 1 deletion INFO/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,13 @@
"changes": [
"Added CLI mode (use --cli to run it)"
]
}
},
{
"version": "1.0.7",
"changes": [
"Added plugins feature (https://bit.ly/de4pyplugins)",
"Improved WinAPI hooking",
"Added test feature (use --test to run it) "
]
}
]
2 changes: 1 addition & 1 deletion INFO/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
V1.0.6
V1.0.7
2 changes: 1 addition & 1 deletion TUI/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def signal_handler(sig, frame):

signal.signal(signal.SIGINT, signal_handler)
sys.excepthook = custom_error
tui.clear_console()
change_log = None
platform_info = None
file_path = None
Expand Down Expand Up @@ -349,4 +348,5 @@ def start():
home_tab()

if __name__ == "__main__":
tui.clear_console()
start()
Loading

0 comments on commit d463671

Please sign in to comment.