Documentation ¶
Index ¶
- Variables
- func ExtractCertToTemp() (string, error)
- func InstallJavaCA(logger *zap.Logger, caPath string, pid uint32, isJavaServe bool)
- func JavaCAExists(alias, storepass, cacertsPath string) bool
- func Register(parserName string, parser DependencyHandler)
- type Conn
- type CustomConn
- type DependencyHandler
- type Option
- type ProxySet
Constants ¶
This section is empty.
Variables ¶
View Source
var Emoji = "\U0001F430" + " Keploy:"
View Source
var ParsersMap = make(map[string]DependencyHandler)
Functions ¶
func InstallJavaCA ¶
InstallJavaCA installs the CA in the Java keystore
func JavaCAExists ¶
JavaCAExists checks if the CA is already installed in the specified Java keystore
func Register ¶
func Register(parserName string, parser DependencyHandler)
Types ¶
type CustomConn ¶
type DependencyHandler ¶
type ProxySet ¶
type ProxySet struct { IP4 uint32 IP6 [4]uint32 Port uint32 FilterPid bool Listener net.Listener DnsServer *dns.Server DnsServerTimeout time.Duration PassThroughPorts []uint MongoPassword string // password to mock the mongo connection and pass the authentication requests // contains filtered or unexported fields }
func BootProxy ¶
func BootProxy(logger *zap.Logger, opt Option, appCmd, appContainer string, pid uint32, lang string, passThroughPorts []uint, h *hooks.Hook, ctx context.Context, delay uint64) *ProxySet
BootProxy starts proxy server on the idle local port, Default:16789
func (*ProxySet) StopProxyServer ¶
func (ps *ProxySet) StopProxyServer()
Click to show internal directories.
Click to hide internal directories.