You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(admin node) >>>
[+]Remote connection: 127.0.0.1:6754
[+]A new node connect to admin node success
(admin node) >>> shell
you should select node first
(admin node) >>> goto 1
node 1
(node 1) >>> shell
You can execute commands in this shell :D, 'exit' to exit.
Microsoft Windows [Version 10.0.17134.765]
(c) 2018 Microsoft Corporation。保留所有权利。
E:\GoWorkplace\src\github.com\Dliv3\Venom\agent>ls
ls
agent.exe
agent.go
cli
dispather
init
E:\GoWorkplace\src\github.com\Dliv3\Venom\agent>node disconnect: read tcp 127.0.0.1:4444->127.0.0.1:6754: wsarecv: An existing connection was forcibly closed by the remote host.
Ctrl-C
Ctrl-C
Ctrl-C
Ctrl-C
当victim关闭tcp连接后,admin节点卡死。研究后发现是因为通信的channel阻塞:
ifshellPacketRet.Success==1 {
c:=make(chanbool, 2)
goCopyStdin2Node(os.Stdin, peerNode, c)
goCopyNode2Stdout(peerNode, os.Stdout, c)
<-c<-c...funcCopyNode2Stdout(input*node.Node, outputio.Writer, cchanbool) {
for {
varpacketHeader protocol.PacketHeadervarshellPacketRet protocol.ShellPacketReterr:=node.CurrentNode.CommandBuffers[protocol.SHELL].ReadPacket(&packetHeader, &shellPacketRet)
...func (buffer*Buffer) ReadLowLevelPacket() (protocol.Packet, error) {
packet:=<-buffer.Chan// blocking here
hey,感谢您的工具,很不错
我在使用时发现了一些小bug
ENV:
admin node: Windows
victim node: Windows
当victim关闭tcp连接后,admin节点卡死。研究后发现是因为通信的channel阻塞:
我试着修复了该bug,已提交pr #2
还添加了
goto
命令的节点0,与admin节点绑定。场景:当某个victim节点退出时命令行会继续显示(node 1)
,可以通过goto 0
跳转回(node admin)
,不过建议未来能根据路由动态更新命令提示符The text was updated successfully, but these errors were encountered: