Commit 20678c3
authored
[SECURITY] Fix unsafe subprocess invocation in Phunter integration (intelowlproject#3464)
* Refactor: Pass subprocess command arguments as a list directly to improve execution.
* chore: Add license header and remove unused `shlex` import.
* fix(phunter): use absolute path for python executable to satisfy security linter1 parent d81c62c commit 20678c3
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | | - | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
73 | | - | |
74 | 73 | | |
75 | | - | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
0 commit comments