mirror of
https://github.com/dobin/SuperMega
synced 2026-06-03 01:27:11 +00:00
143 lines
6.0 KiB
HTML
143 lines
6.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{% include 'header.html' %}
|
|
</head>
|
|
<body>
|
|
{% include 'navigation.html' %}
|
|
|
|
<div class="indent">
|
|
|
|
<h2> {{project_name}} </h2>
|
|
<form method="POST" enctype="multipart/form-data" action="/add_project">
|
|
<input type="hidden" name="project_name" value="{{project_name}}">
|
|
|
|
<div class="row">
|
|
<div class="col-3">
|
|
<input type="text" name="comment" class="hidden form-control"
|
|
placeholder="Comment" value="{{project.comment}}"
|
|
aria-label="PROJECTNAME" aria-describedby="basic-addon1">
|
|
|
|
<select class="form-select" name="shellcode" aria-label="SHELLCODE">
|
|
{% for shellcode in shellcodes %}
|
|
<option value="{{shellcode}}"
|
|
{% if shellcode in project.settings.payload_path %} selected {% endif %}
|
|
>
|
|
{{shellcode}}
|
|
</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<select class="form-select" name="exe" aria-label="EXE">
|
|
{% for exe in exes %}
|
|
<option value="{{exe}}"
|
|
{% if exe in project.settings.inject_exe_in %} selected {% endif %}
|
|
>
|
|
{{exe}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
<div class="col-3">
|
|
|
|
<select class="form-select" name="source_style" aria-label="SOURCESTYLE">
|
|
{% for name, value in sourcestyles %}
|
|
<option value="{{name}}"
|
|
{% if name in project.settings.source_style.value %} selected {% endif %}
|
|
>{{value}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<select class="form-select" name="inject_style" aria-label="INJECTSTYLE">
|
|
{% for name, value in injectstyles %}
|
|
<option value="{{name}}"
|
|
{% if value in project.settings.inject_style.value %} selected {% endif %}
|
|
>{{value}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
</div>
|
|
<div class="col-3">
|
|
<select class="form-select" name="alloc_style" aria-label="ALLOCSTYLE">
|
|
{% for name, value in allocstyles %}
|
|
<option value="{{name}}"
|
|
{% if value in project.settings.alloc_style.value %} selected {% endif %}
|
|
>{{value}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<select class="form-select" name="decoder_style" aria-label="DECODERESTYLE">
|
|
{% for name, value in decoderstyles %}
|
|
<option value="{{name}}"
|
|
{% if value in project.settings.decoder_style.value %} selected {% endif %}
|
|
>{{value}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<select class="form-select" name="exec_style" aria-label="EXECSTYLE">
|
|
{% for name, value in execstyles %}
|
|
<option value="{{name}}"
|
|
{% if value in project.settings.exec_style.value %} selected {% endif %}
|
|
>{{value}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
|
|
<div class="col-3">
|
|
<div class="row">
|
|
<div class="col-6">
|
|
|
|
<button class="btn btn-primary" type="submit" value="save">Save Settings</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="col-6">
|
|
|
|
<form method="POST" enctype="multipart/form-data" action="/build_project">
|
|
<input type="hidden" name="project_name" value="{{project_name}}">
|
|
<button class="btn btn-primary" type="submit" value="start">Build</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<form method="POST" enctype="multipart/form-data" action="/exec_project">
|
|
<input type="hidden" name="project_name" value="{{project_name}}">
|
|
<button class="btn btn-primary" type="submit" value="start">Start Local</button>
|
|
</form>
|
|
|
|
<form method="POST" enctype="multipart/form-data" action="/exec_project?no_exec=true">
|
|
<input type="hidden" name="project_name" value="{{project_name}}">
|
|
<button class="btn btn-primary" type="submit" value="start">File Local</button>
|
|
</form>
|
|
</div>
|
|
<div class="col-6">
|
|
<form method="POST" enctype="multipart/form-data" action="/exec_project?remote=true">
|
|
<input type="hidden" name="project_name" value="{{project_name}}">
|
|
<button class="btn btn-primary" type="submit" value="start">Start Remote</button>
|
|
</form>
|
|
|
|
<form method="POST" enctype="multipart/form-data" action="/exec_project?remote=true&no_exec=true">
|
|
<input type="hidden" name="project_name" value="{{project_name}}">
|
|
<button class="btn btn-primary" type="submit" value="start">File Remote</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<div class="custom-line"></div> <!-- Here's the horizontal line -->
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
{% include 'files.html' %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |