mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-11 01:28:57 +02:00
added script support in aitm proxy for setting dynamic upstream proxy
Signed-off-by: RonniSkansing <rskansing@gmail.com>
This commit is contained in:
10 files changed
+276
-12
No files matched your search
@@ -31,6 +31,12 @@ type ProxySession struct {
|
||||
|
||||
// client user-agent stored for analytics and logging
|
||||
UserAgent string
|
||||
|
||||
// UpstreamProxy is the forwarding proxy chosen for this session by the
|
||||
// session script. It is set once when the session is created, before the
|
||||
// session is stored, and read on every following request to build the
|
||||
// outbound client. Empty means use the proxy from the yaml config.
|
||||
UpstreamProxy string
|
||||
}
|
||||
|
||||
// ProxySessionManager manages proxy session lifecycle and storage
|
||||
|
||||
Reference in new issue
Block a user