从vscode下载vscode-server时候的log里面抓到commit_id值
commit_id=3866c3553be8b268c8a7f8c0482c0c0177aa8bfa

Download url is:

用代理的各种手段下载到本地
https://update.code.visualstu...${commit_id}/server-linux-x64/stable

curl -sSL "https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable" -o vscode-server.tar.gz
或者
https://az764295.vo.msecnd.ne... -o vscode-server.tar.gz

找到目标机wget的线程号, ps aux | grep wget
然后杀死线程运行下面的脚本。

kill 4735 && cp -r ../vscode-server.tar.gz . && touch vscode-scp-done.flag


Carlos
35 声望8 粉丝

嵌入式 \ Linux \ ARM \ Security