Skip to content

RITRedteam/Sangheili

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sangheili

Custom SOCKS proxy for redteam. Each outgoing connection gets a random ip address.

Setup

No libraries are needed to run the tool

python3 sangheili.py

Client Usage

It is recommended to set the porxy information in an environment variable

export SOCKS_SERVER=192.168.22.3
export SOCKS_PORT=1080

HTTP

export http_proxy="socks5://$SOCKS_SERVER:$SOCKS_PORT"
export https_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy

SSH

To proxy SSH traffic, make sure you have your environment variables installed.

For a permanant configuration, update your SSH client config with the following lines

#Host *  # Match all hosts
Host 10.*.*.*  # Match certain IPs
    ProxyCommand ncat --proxy $SOCKS_SERVER:$SOCKS_PORT --proxy-type socks5 %h %p

Then you may call SSH as normal.

For a one-time usage:

ssh -o ProxyCommand="ncat -x $SOCKS_SERVER:$SOCKS_PORT %h %p" [email protected]

About

Custom SOCKS proxy for redteam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages