meigea / kali-penetration-testing

个人kali渗透测试的相关笔记
5 stars 2 forks source link

git clone 出现 error: RPC failed; result=18, HTTP code = 200.00 KiB/s #9

Closed meigea closed 5 years ago

meigea commented 5 years ago

错误展示

(27)  ? attempt golang.org/x/crypto with 1 pkgs; at least 1 versions to try
(34)      try golang.org/x/crypto@master
(34)  ✗   failed to fetch source for https://go.googlesource.com/crypto: unable to get repository: 正克隆到 '/root/go/pkg/dep/sources/https---go.googlesource.com-crypto'...
(34)    POST git-upload-pack (242 bytes)
error: RPC failed; result=18, HTTP code = 200.00 KiB/s   
(34)    fatal: The remote end hung up unexpectedly
(34)    fatal: 过早的文件结束符(EOF)
(34)    fatal: index-pack failed
(34)    : command failed: [git clone --recursive -v --progress https://go.googlesource.com/crypto /root/go/pkg/dep/sources/https---go.googlesource.com-crypto]: exit status 128
(34)      try golang.org/x/crypto@master
(34)  ✗   failed to fetch source for https://go.googlesource.com/crypto: unable to get repository: 正克隆到 '/root/go/pkg/dep/sources/https---go.googlesource.com-crypto'...
(34)    POST git-upload-pack (242 bytes)
(34)    fatal: git fetch_pack: expected ACK/NAK, got 'error: Access denied from Google AppEngine'
(34)    fatal: The remote end hung up unexpectedly
(34)    : command failed: [git clone --recursive -v --progress https://go.googlesource.com/crypto /root/go/pkg/dep/sources/https---go.googlesource.com-crypto]: exit status 128
(34)      try golang.org/x/crypto@release-branch.go1.11
(35)  ✗   golang.org/x/crypto@release-branch.go1.11 not allowed by constraint master:
(35)      master from github.com/labstack/echo@v3.3.2
(34)    ← no more versions of golang.org/x/crypto to try; begin backtrack

尝试解决

git config --global user.name "xxx"
git config --global user.email "xxx@mail.com"
git config http.sslVerify "false"
git config --global http.postBuffer 524288000
ssh-keygen 

更新 git

wget https://www.kernel.org/pub/software/scm/git/git-2.15.1.tar.xz &&cd git-2.15.1 \ 
&& ./configure --prefix=/usr/local/git/ && make && make install \ 
&&  echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/profile && source  /etc/profile 

目前都试过了还是没有用

meigea commented 5 years ago

还是没解决,正在尝试重新装系统进行测试。开始用的是 centos7。4; 我替换成7.6试试看

meigea commented 5 years ago

场连接 问题;