mirror of
https://github.com/dobin/SuperMega
synced 2026-06-03 01:27:11 +00:00
small bugfixes
This commit is contained in:
@@ -104,7 +104,22 @@ your own shellcode loader.
|
|||||||
|
|
||||||
### Environment Variables
|
### 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\<year>\<edition>\Common7\Tools\VsDevCmd.bat`" && powershell"
|
||||||
|
```
|
||||||
|
|
||||||
|
Also make sure radare2 is in path:
|
||||||
|
```
|
||||||
$Env:PATH += ";C:\Tools\radare2-5.8.8-w64\bin"
|
$Env:PATH += ";C:\Tools\radare2-5.8.8-w64\bin"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Alternative
|
||||||
|
|
||||||
Use
|
Use
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
|
|
||||||
<form method="POST" enctype="multipart/form-data" action="/api/project">
|
<form method="POST" enctype="multipart/form-data" action="/project_add">
|
||||||
|
|
||||||
<div class="row row-cols-lg-auto g-3">
|
<div class="row row-cols-lg-auto g-3">
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a href="/add_project">Add Project</a>
|
<a href="/project_add">Add Project</a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -3,9 +3,6 @@ import logging
|
|||||||
from model.defs import *
|
from model.defs import *
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Logging
|
|
||||||
|
|
||||||
# ANSI escape sequences for colors
|
# ANSI escape sequences for colors
|
||||||
class LogColors:
|
class LogColors:
|
||||||
HEADER = '\033[95m'
|
HEADER = '\033[95m'
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ PATH_PAYLOAD = "data/source/payload/"
|
|||||||
PATH_DECODER = "data/source/carrier/decoder/"
|
PATH_DECODER = "data/source/carrier/decoder/"
|
||||||
|
|
||||||
PATH_WEB_PROJECT = "app/projects/"
|
PATH_WEB_PROJECT = "app/projects/"
|
||||||
|
PATH_WORKING = "working/"
|
||||||
|
|
||||||
|
|
||||||
# Correlated with real template files
|
# Correlated with real template files
|
||||||
# in data/plugins/
|
# in data/plugins/
|
||||||
|
|||||||
Reference in New Issue
Block a user