Files
jaytiwari05 df9f51c449 expose PE/loader keys in SMB UI container
PR #40 added pe_section, custom_section_name, encryption_technique,
and injection_technique fields to AgentConfig with a server-side check
that custom_section_name be 1-8 bytes. The KharonHTTP container puts
them through the PE Settings tab, but the KharonSMB UI early-return
path didn't put them in container_smb. SMB Exe/Dll/Svc builds therefore
sent an empty CustomSectionName and AgentGenerateBuild rejected with
'section name must be 1-8 bytes, got 0'.

Add the four container_smb.put calls. The widgets (section_combo,
encryption_combo, injection_combo, textCustomSection) are created
unconditionally at the top of GenerateUI and have safe defaults
(.text, None, Module Stomp, .kharon), so SMB beacons compile cleanly
without exposing PE Settings widgets in the SMB form.
2026-04-27 00:31:37 +05:30
..