南溟丷

在这浩瀚星河的你是什么

0%

关于MacBookPro的环境配置

整理一下日常配置。

JetBrains全家桶

Typora

微信防撤回

QQ防撤回

Docker

VMware Fusion Pro

  • 激活码 XKZYV-PK9CC-A1Y0X-K5HZL-Y65ZV

Microsoft Remote Desktop

Termius

Burpsuite

AntSword

ITerm2

Bartender

OCRKit Pro

ClashX

Wireshark

1
brew install --cask wireshark

iTerm2

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
oh my zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sudo chsh -s /bin/bash
vim ~/.zshrc
ZSH_THEME="agnoster"
字体
wget https://github.com/powerline/fonts/raw/master/Meslo%20Slashed/Meslo%20LG%20M%20Regular%20for%20Powerline.ttf
其他IDE的终端字体需同步设置
高亮
brew install zsh-syntax-highlighting
echo 'source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrc
补全
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
vim ~/.zshrc
plugins=(git zsh-autosuggestions)

sudo easy_install pip
brew install automake autoconf libtool
brew install pkgconfig
brew install icu4c
brew install leptonica
brew install gcc
brew install proxychains-ng
brew install grep
brew install findutils

APK反编译

1
brew install apktool

Go

1
brew install go

Node

1
brew install node

Nmap

1
brew install nmap

JD-GUI

1
brew install --cask jd-gui

MSF

1
2
3
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
chmod 755 msfinstall && \
./msfinstall
1
/opt/metasploit-framework/bin/msfconsole
1
sudo ln -s /opt/metasploit-framework/bin/msfconsole /usr/bin/msfconsole

Masscan

1
brew install masscan

Pwntools

1
2
3
4
brew install pwntools
/usr/local/Cellar/pwntools/3.13.0/libexec/lib/python2.7/site-packages
sudo vim /Library/Python/3.7/site-packages/mypkpath.pth
sudo vim /usr/local/lib/python3.7/site-packages/mypkpath.pth

Kenlm

1
2
3
4
5
6
7
8
9
brew install boost 

wget -O - https://kheafield.com/code/kenlm.tar.gz | tar xz
mkdir kenlm/build
cd kenlm/build
cmake ..
make -j2

pip install https://github.com/kpu/kenlm/archive/master.zip

Gmpy2

1
2
3
4
5
6
7
brew install libmpc
brew install mpfr
pip install gmpy2
sudo pip3 install gmpy2

sudo pip3 install libnum
sudo pip3 install colorlog

pycrypto

1
2
3
brew install gmp
brew install openssl
sudo pip3 install pycrypto

Maven

vim ~/.m2/settings.xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<!-- 阿里云仓库 -->
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
<!-- 中央仓库1 -->
<mirror>
<id>repo1</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo1.maven.org/maven2/</url>
</mirror>
<!-- 中央仓库2 -->
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
</mirrors>
</settings>

node-sass

1
2
npm install -g node-gyp
npm install node-sass

zookeeper

1
brew install zookeeper