regeorgo

package module
v0.0.0-...-d6c70e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 8 Imported by: 1

README

regeorgo

Implementation of regeorg tunnel in golang (victim side).

Usage: binary

build binary:

git clone https://github.com/kost/regeorgo
cd regeorgo/regeorgo
go get
go build

run binary:

./regeorgo

it will listen on port 8111 for reGeorgSocksProxy.py to connect to.

Usage in your code

If you want to embed regeorgo in your code/executable:

package main

import (
	"net/http"
	"github.com/kost/regeorgo"
)

func main() {
	// initialize regeorgo
	gh := &regeorgo.GeorgHandler{}
	gh.InitHandler()

	// use it as standard handler for http
	http.HandleFunc("/regeorgo", gh.RegHandler)
	http.ListenAndServe(":8111", nil)
}
Requirement

You need to have:

  • golang

License

Distributed under MIT license

Credits

Initial development of regeorgo in Go by kost.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomString

func RandomString(n int) string

Types

type GeorgHandler

type GeorgHandler struct {
	LogLevel int
	// contains filtered or unexported fields
}

func (*GeorgHandler) InitHandler

func (gh *GeorgHandler) InitHandler()

func (*GeorgHandler) RegHandler

func (gh *GeorgHandler) RegHandler(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL