Skip to content

sunnoy/socks-proxy-over-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socks proxy over ssh

Many intranet penetration projects have been blocked by firewalls. What is certain is that the ssh protocol will not be intercepted. So this project uses the ssh protocol as the sock channel

build

go mod tidy


#### cross compile ####
# Linux build
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build main.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go


# macos build
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o scoksOverSSH-x86-linux main.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o scoksOverSSH.exe main.go


# windows build
SET CGO_ENABLED=0
SET GOOS=darwin
SET GOARCH=amd64
go build main.go

SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build main.go

Windows build need cgo

# 1
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/

# 2
# download x86_64-posix-seh 

# 3 move to c disk
C:\mingw64

# 4
# add system env

About

socks proxy over ssh,penetrate the firewall

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages