Skip to content

Golang based RPC client to communicate with Metasploit. Based off Black Hat Go's example.

Notifications You must be signed in to change notification settings

wdahlenburg/msf-rpc-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

msf-rpc-client

Golang based RPC client to communicate with Metasploit. This is based off Black Hat Go's example

This modification allows for commands to be run on existing sessions.

Install

go get -u github.com/wdahlenburg/msf-rpc-client/...

Use

export MSFHOST=127.0.0.1:55552

export MSFPASS=password

go run client/main.go

go run client/main.go commands.txt

The additional parameter is a list of commands to be run delimited by newline characters: Ex:

whoami
id
hostname

Reference

https://wya.pl/2020/04/27/metasploits-rpc-api/

About

Golang based RPC client to communicate with Metasploit. Based off Black Hat Go's example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages