diff --git a/app/templates/dev.html b/app/templates/dev.html
index 0939f07..f1bb0b0 100644
--- a/app/templates/dev.html
+++ b/app/templates/dev.html
@@ -13,14 +13,14 @@
- Build
+ Build
diff --git a/app/templates/devs.html b/app/templates/devs.html
index 84eee5b..54485eb 100644
--- a/app/templates/devs.html
+++ b/app/templates/devs.html
@@ -12,7 +12,7 @@
{% for item in data %}
- - {{ item['name'] }}
+
- {{ item['name'] }}
({{item["date"]}})
{% endfor %}
diff --git a/app/templates/navigation.html b/app/templates/navigation.html
index 7429231..2d660b5 100644
--- a/app/templates/navigation.html
+++ b/app/templates/navigation.html
@@ -25,8 +25,17 @@
-
- ShcDev
+ Shellcodes
+
+ -
+ EXE's
+
+
+ -
+ ShcDev
diff --git a/app/views.py b/app/views.py
index 42f20b5..78e5767 100644
--- a/app/views.py
+++ b/app/views.py
@@ -25,7 +25,7 @@ from phases.injector import verify_injected_exe
from phases.compiler import compile_dev
from phases.assembler import asm_to_shellcode
from helper import run_process_checkret
-from log import getlog
+from log import MyLog
views = Blueprint('views', __name__)
@@ -47,7 +47,7 @@ def projects_route():
return render_template('projects.html', data=storage.data)
-@views.route("/dev")
+@views.route("/shcdev")
def devs_route():
data = []
for filename in os.listdir(PATH_PAYLOAD):
@@ -61,7 +61,7 @@ def devs_route():
return render_template('devs.html', data=data)
-@views.route("/dev/")
+@views.route("/shcdev/")
def dev_route(name):
data = []
log = ""
@@ -98,7 +98,7 @@ def dev_route(name):
name=name, files=data, log=log)
-@views.route("/dev//build")
+@views.route("/shcdev//build")
def dev_build_route(name):
c_in = PATH_PAYLOAD + "{}/main.c".format(name)
@@ -111,7 +111,7 @@ def dev_build_route(name):
asm_to_shellcode(asm_out, build_exe, shellcode_out)
with open(log, "w") as f:
- for log_line in getlog():
+ for log_line in MyLog.getlog():
f.write("{}\n".format(log_line))
f.write("\n\n")
@@ -119,7 +119,7 @@ def dev_build_route(name):
for log in observer.logs:
f.write("{}".format(log))
- return redirect("/dev/{}".format(name), code=302)
+ return redirect("/shcdev/{}".format(name), code=302)
@views.route("/project/")