逆向环境搭建
常用工具
一、Alfred ---- 智能搜索软件
软件下载:链接:https://pan.baidu.com/s/1yxcHZ2fTs3Yy-gEUTgaZuw 密码:ngb1
或者http://www.sdifen.com/alfred32.html
软件使用:https://www.jianshu.com/p/e9f3352c785f
添加shell步骤:
1、“command + ,” 调出设置页面;
2、选择Features->Terminal/Shell,选择application为Custom,粘贴一下脚本:
on alfred_script(q)
if application "iTerm2" is running or application "iTerm" is running then
run script "
on run {q}
tell application \":Applications:iTerm.app\"
activate
try
select first window
set onlywindow to false
on error
create window with default profile
select first window
set onlywindow to true
end try
tell current session of the first window
if onlywindow is false then
tell split vertically with default profile
write text q
end tell
end if
end tell
end tell
end run
" with parameters {q}
else
run script "
on run {q}
tell application \":Applications:iTerm.app\"
activate
try
select first window
on error
create window with default profile
select first window
end try
tell the first window
tell current session to write text q
end tell
end tell
end run
" with parameters {q}
end if
end alfred_script
二、iTerm2 ---- 终端利器
软件下载:链接:https://pan.baidu.com/s/1jcavHXWeCRiQWg3To5OoAQ 密码:b7dk
字体下载:链接:https://pan.baidu.com/s/1JtbuZflji-QLVNjUidqRfQ 密码:p9q4
软件配置与使用:http://www.cnblogs.com/xishuai/p/mac-iterm2.html
修改主题:
1、选择Color -> Color Presents... ,选择Solarized Dark
2、“command + ,”显示设置页面,选择Profiles -> Text,选择Font底下Change Font -> Meslo LG M Regular for Powerline
三、Go2Shell ---- 打开Shell的工具
软件下载:链接:https://pan.baidu.com/s/1HofWxomnQlAJQMGkyVd3XQ 密码:aeek
软件配置:
1、Terminal application to use,选择Iterm2
2、open terminal in,选择New Window
3、Command to execute in terminal,填写:cd %PATH%; clear; pwd
4、install
Go2Shell加入文件夹顶部:
打开finder,在顶部右键,选择“自定义工具栏”,将需要的应用拉入finder顶部;或者按住command,用鼠标将应用拖到finder的顶部。
必备工具
MonkeyDev 和 cycript
MonkeyDev安装:https://github.com/AloneMonkey/MonkeyDev/wiki/安装
cycript安装:https://segmentfault.com/a/1190000011720125
配置:
1、打开iTerm2,输入vim ~/.zshrc
2、在底部添加以下代码:
export MonkeyDevPath=/opt/MonkeyDev
export MonkeyDevDeviceIP=
export PATH=/opt/MonkeyDev/bin:$PATH
export PATH=/opt/cycript_0.9.594:$PATH
source ~/.bash_profile
3、再次编辑bash_profile,iTerm2输入vim ~/.bash_profile
4、在底部输入以下代码:
export THEOS=/opt/theos/bin
export CY=/opt/cycript_0.9.594/
export PATH=/opt/theos/bin/:$CY:$PATH
注:以上的cycript版本根据实际安装的版本来填写
配置cycript配置遇到的问参考:https://note.youdao.com/share/?id=87a5e6bd63ad44e2193de5a2baaff810&type=note#/
网友评论