frida 解决一些报错问题
遇到的一些问题
第一个问题
Unable to start: Error binding to address 127.0.0.1:27042: Address already in use
解决方法
ps -e | grep frida
然后
kill 24071 frida的进程id
再次启动
第二个问题
frida有两种启动方式
第一种使用attach启动的
第一种启动方式
``` process = frida.get_usb_device(-1).attach('rock_paper_scissors') script = process.create_script(test) script.on('message', on_message) script.load() sys.stdin.read() ```第二种使用spawn启动的
第二种启动方式
device = frida.get_usb_device(-1)
pid = device.spawn(['com.example.seccon2015.rock_paper_scissors'])
process = device.attach(pid)
script = process.create_script(test)
script.on('message', on_message)
print('[*] Running')
script.load()
device.resume(pid)
sys.stdin.read()
frida-ps -U -a 查看进程
第一种要用name识别
process = frida.get_usb_device(-1).attach(' rock_paper_scissorss')
第二种用 Identifier识别
device.spawn(['com.example.seccon2015.rock_paper_scissors'])


浙公网安备 33010602011771号