最近小白做了一个逆向题目IDA之后出不来最后需要exp脚本算出最后的结果,
小白是在Kali Linux上操作的:首先需要确认是否安装,在Kali Linux上发现安装了,但是expect是在tcl上的,检查发现没有tcl所以我们先安装tcl
结束命令如下:
首先安装tcl
解压
tar -zxvf tcl8.4.11-src.tar.gz
cd tcl8.4.11/unix/
./configure
make && make install
安装expect
tar -zxvf expect5.45.tar.gz
cd expect5.45
./configure --with-tclinclude=/tmp/tcl8.4.11/generic --with-tclconfig=/usr/local/lib/
make && make install
检查
# expect
expect1.1>
expect1.1>