From b6816604b27bbb491696d6e7d20b5f6e58675647 Mon Sep 17 00:00:00 2001 From: Dobin Date: Thu, 28 Mar 2024 20:26:34 +0000 Subject: [PATCH] small bugfixes --- README.md | 15 +++++++++++++++ app/templates/project_add_get.html | 2 +- app/templates/projects.html | 2 +- log.py | 3 --- model/defs.py | 2 ++ 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d22a7e7..698af09 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,22 @@ your own shellcode loader. ### Environment Variables +It needs all the Microsoft Visual Studio specific paths as environment +variables. Either start the "visual studio developer console", or if you are sane, +use the following commandline to get all the damn env right. +Use this when `Cannot find Windows.h`. + +``` +cmd.exe /c "`"C:\Program Files (x86)\Microsoft Visual Studio\\\Common7\Tools\VsDevCmd.bat`" && powershell" +``` + +Also make sure radare2 is in path: +``` $Env:PATH += ";C:\Tools\radare2-5.8.8-w64\bin" +``` + + +### Alternative Use ``` diff --git a/app/templates/project_add_get.html b/app/templates/project_add_get.html index cf926f6..296df01 100644 --- a/app/templates/project_add_get.html +++ b/app/templates/project_add_get.html @@ -12,7 +12,7 @@
-
+
diff --git a/app/templates/projects.html b/app/templates/projects.html index f7ab355..15e2653 100644 --- a/app/templates/projects.html +++ b/app/templates/projects.html @@ -16,7 +16,7 @@ {% endfor %} - Add Project + Add Project
\ No newline at end of file diff --git a/log.py b/log.py index a45ded4..b533cb7 100644 --- a/log.py +++ b/log.py @@ -3,9 +3,6 @@ import logging from model.defs import * - -# Logging - # ANSI escape sequences for colors class LogColors: HEADER = '\033[95m' diff --git a/model/defs.py b/model/defs.py index 53fa919..f2980a9 100644 --- a/model/defs.py +++ b/model/defs.py @@ -15,6 +15,8 @@ PATH_PAYLOAD = "data/source/payload/" PATH_DECODER = "data/source/carrier/decoder/" PATH_WEB_PROJECT = "app/projects/" +PATH_WORKING = "working/" + # Correlated with real template files # in data/plugins/