[SHEHZADE//ABDULLAH ANSARI]
Red Team Consultant @ Google | MS in Cybersecurity @ NYU
● Notice //GitHub (@shehzade) is temporarily suspended pending an automated false-positive review. All tools are hosted on this Code Mirror and available on request (contact); GitHub links will return once reinstated.
PUBLIC MIRRORGo v1.0
Multi-protocol network egress assessment and DLP verification framework featuring automated L4 sweeps, corporate proxy traversal, and covert protocol smuggling across 20+ channels.
$
git clone https://shehzade.io/repos/contraband.git
Copy
Source ZIP (1.93 MB)
21 lines · 566 B
| 1 | package client |
| 2 | |
| 3 | import ( |
| 4 | "context" |
| 5 | "fmt" |
| 6 | "time" |
| 7 | |
| 8 | "github.com/shehzade/contraband/pkg/client/proxy" |
| 9 | "github.com/shehzade/contraband/pkg/common" |
| 10 | ) |
| 11 | |
| 12 | func runStage2Proxy(ctx context.Context, cfg ClientConfig, logger common.Logger) *proxy.FallbackEngine { |
| 13 | logger.Info(fmt.Sprintf("Stage 2: Evaluating proxy traversal path (mode: %s, auth: %s)", cfg.Proxy, cfg.ProxyAuth)) |
| 14 | proxyOpts := proxy.Options{ |
| 15 | Mode: cfg.Proxy, |
| 16 | AuthType: proxy.AuthType(cfg.ProxyAuth), |
| 17 | Timeout: 10 * time.Second, |
| 18 | Logger: logger, |
| 19 | } |
| 20 | return proxy.NewFallbackEngine(proxyOpts) |
| 21 | } |