๐ŸˆPowerCat

PowerShell version of Netcat written by besimorhino

Installation

PowerShell

Load The Function From Downloaded .ps1

. .\powercat.ps1

Load The Function From URL (PS)

IEX (New-Object System.Net.Webclient).DownloadString('https://raw.githubusercontent.com/besimorhino/powercat/master/powercat.ps1')

Note:

  • It is worth noting that scripts loaded in this way will only be available in the current PowerShell instance and will need to be reloaded each time we restart PowerShell.

Kali

Installation (Kali)

apt install powercat
  • Path: /usr/share/windows-resources/powercat

File Transfer

Netcat Listener (attacker)

Code

Example

Powercat (victim)

Code

Example

  • -c: specifies client mode and sets the listening IP address

  • -p: specifies the port number

  • -i: indicates the local file that will be transferred remotely

Reverse Shell

Netcat Listener (attacker)

Code

Example

Powercat (victim)

Code

Example

  • -c: specifies client mode and sets the listening IP address

  • -e: specifies the application to execute

Powercat Bind Shells

To read more about it.

Note:

  • PDF page 93

Powercat Stand-Alone Payloads

To read more about it.

Note:

  • PDF page 93

Last updated