8000 GitHub - arisinghackers/goxploit: Go client for Metasploit RPC with automatic method generation
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

arisinghackers/goxploit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goxploit

GoXploit is a modular Go client for interacting with the Metasploit RPC API.
It includes a code generator that scrapes official documentation and produces strongly-typed API wrappers.

Features

  • RPC client for Metasploit
  • Automatic method generation from Rapid7's API docs
  • Easy integration with other Go projects
  • Simple structure for extending or contributing

Installation

go get github.com/arisinghackers/goxploit

Usage

Authenticate and send a request

client := msfrpc.NewMsfRpcClient("your_password", "false", "your_username", "127.0.0.1", 55552, "/api")
token, err := client.MsfAuth()
if err != nil {
    log.Fatalf("Auth error: %v", err)
}
fmt.Println("Token:", token)

response, err := client.AuthenticatedRequest([]any{"core.version"})
if err != nil {
    log.Fatal(err)
}
fmt.Printf("Core Version: %+v\n", response)
See /examples folder

Contributing

Contributions are welcome. Please keep changes modular and follow idiomatic Go practices.

About

Go client for Metasploit RPC with automatic method generation

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0