Kali 安装中国蚁剑(antSword)

注: 该方法适合1.1版本,1.3版本以后可能不适合!

#
项目地址:https://github.com/antoor/antSword

kali 版本

root@z:~/Documents/antSword# uname -a
Linux z 4.4.0-kali1-amd64 #1 SMP Debian 4.4.2-3kali1 (2016-02-23) x86_64 GNU/Linux

git

# git clone https://github.com/antoor/antSword.git
# cd antSword

依赖包

# apt -y install npm

安装npm的同时也安装了nodejs,在debian中已有一个软件叫node,所以node.jsnodejs,这里修改一下连接或改包里的命令

# ln -s `which nodejs` /usr/bin/node

不然会报以下一段错误

root@z:~/Documents/antSword# npm install
/
> electron-prebuilt@0.36.11 postinstall /root/Documents/antSword/node_modules/electron-prebuilt
> node install.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian                                                              

npm ERR! electron-prebuilt@0.36.11 postinstall: `node install.js`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the electron-prebuilt@0.36.11 postinstall script.
npm ERR! This is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.4.0-kali1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /root/Documents/antSword
npm ERR! node -v v4.3.1
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /root/Documents/antSword/npm-debug.log
npm ERR! not ok code 0

安装模块

# npm install

编译源码

# npm run build

启动应用

# npm start

效果

Kali 安装中国蚁剑(antSword)_第1张图片

你可能感兴趣的:(Kali,Linux,kali,antSword,蚁剑)