我正在两个‘m上做实验,一个运行Kali,另一个运行Ubuntu。我对Meterpreter的“上传”命令有问题。特别是,我已经使用linux/x86/meterpreter_反向tcp有效载荷打开了一个反向tcp会话,并使用了剥削/多/处理程序攻击来处理它。
会话开始时,我尝试使用" upload“命令上载file.sh:
meterpreter > upload kali/path/to/file.sh ubuntu/destination/path我在Kali VM上收到的消息是:
[*] uploading : kali/path/to/file.sh -> ubuntu/destination/path
[*] 10.0.2.15 - Meterpreter session 3 closed. Reason: Died在ubuntu上,我收到一个分段错误。所有其他计量器命令都可以工作(甚至下载命令)。有人能帮我理解这个问题吗?
发布于 2018-05-22 22:32:03
为什么不使用Meterpreter来设置一个netcat侦听器,将接收到的数据保存为一个文件?
ubuntu:nc -l 4444 > file.sh (监听数据,保存到file.sh)
cat file.sh | nc [ubuntu ip] 4444 (将file.sh发送到指定端口)
要走相反的方向,做:
卡利:cat file.sh | nc -lp 4444 (听连接,服务file.sh)
ubuntu:nc [kali ip] 4444 > file.sh (连接到端口,将接收的数据保存为file.sh)
https://security.stackexchange.com/questions/186286
复制相似问题