Y
Hacker News
new
|
ask
|
show
|
jobs
by
krater23
18 days ago
Downloading this attachement doesn't executes it. Checking out a branch in this case executes the file in the branch. Thats a big difference.
1 comments
dev_daftly
18 days ago
In this case, if you just run a git command yourself it executes the file as well.
link
brookst
18 days ago
On windows I guess?
On Linux and MacOS you'd need to run ./git to execute a malicious binary in the cloned repo.
link