mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
feature: select if add missing IAT entries
This commit is contained in:
@@ -137,7 +137,18 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<!-- Row 5 -->
|
||||
<div class="col-2">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" value="YES" id="flexCheckDefault"
|
||||
name="fix_missing_iat" onchange="this.form.submit()" {{ 'checked' if fix_missing_iat }}>
|
||||
<label class="form-check-label" for="flexCheckDefault">
|
||||
Add missing IAT entries
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@@ -123,6 +123,7 @@ def project(name):
|
||||
has_rodata_section=has_rodata_section,
|
||||
|
||||
has_remote=has_remote,
|
||||
fix_missing_iat=project.settings.fix_missing_iat,
|
||||
)
|
||||
|
||||
|
||||
@@ -170,6 +171,8 @@ def add_project():
|
||||
settings.inject_exe_in = request.form['exe']
|
||||
settings.inject_exe_out = request.form['exe'].replace(".exe", ".infected.exe")
|
||||
|
||||
settings.fix_missing_iat = True if request.form.get('fix_missing_iat') != None else False
|
||||
|
||||
source_style = request.form['source_style']
|
||||
settings.source_style = FunctionInvokeStyle[source_style]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user