Commit e607f02
authored
fix(cupp): remove cd in wrapper script that prevents writing output to cwd (#4918)
The wrapper script does 'cd /usr/share/cupp' before exec, causing cupp
to write output files (wordlists) to the install directory instead of
the user's working directory. This results in PermissionError since
/usr/share/cupp is owned by root.
The cd is unnecessary — cupp.py already resolves its config path
absolutely via os.path.dirname(os.path.realpath(__file__)).
Also update depends from python2 to python since cupp uses Python 3
syntax and the wrapper already invokes python3.1 parent ce2ad4c commit e607f02
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
0 commit comments