Repository navigation
Commit 30268bc
committed
Use git-shell in 'gitreceive run'.
gitreceive currently allows users to execute arbitrary commands on the system
eg: ssh git@whatever /bin/bash
This patch uses git-shell to evaluate the command sent by remote users,
restricting command execution to git-related programs.1 parent 783af2e commit 30268bc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments