
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
vimagination.zapto.org/reverseproxy
Advanced tools
-- import "vimagination.zapto.org/reverseproxy"
Package reverseproxy implements a basic HTTP/TLS connection forwarder based either the passed Host header or SNI extension.
var (
ErrClosed = errors.New("closed")
)
Error.
var (
ErrInvalidPort = errors.New("cannot register on port 0")
)
Errors.
type HostName string
HostName represents an exact hostname to match on.
func (h HostName) MatchService(serviceName string) bool
MatchService implements the MatchServiceName interface.
type HostNameSuffix string
HostNameSuffix represents a partial hostname to match the end on.
func (h HostNameSuffix) MatchService(serviceName string) bool
MatchService implements the MatchServiceName interface.
type Hosts []MatchServiceName
Hosts represents a list of service names to match against.
func (h Hosts) MatchService(serviceName string) bool
MatchService implements the MatchServiceName interface.
type MatchServiceName interface {
MatchService(string) bool
}
MatchServiceName allows differing ways of matching a service name to a service.
type Port struct {
}
Port represents a service waiting on a port.
func AddRedirect(serviceName MatchServiceName, port uint16, to net.Addr) (*Port, error)
AddRedirect sets a port to be redirected to an external service.
func (p *Port) Close() error
Close closes this port connection.
func (p *Port) Closed() bool
Closed returns whether the port has been closed or not.
func (p *Port) Status() Status
Status retrieves the status of a Port.
type Status struct {
Ports []uint16
Closing, Active bool
}
Status constains the status of a Port.
type UnixCmd struct {
}
UnixCmd holds the information required to control (close) a server and its resources.
func RegisterCmd(msn MatchServiceName, cmd *exec.Cmd) (*UnixCmd, error)
RegisterCmd runs the given command and waits for incoming listeners from it.
func (u *UnixCmd) Close() error
Close closes all ports for the server and sends a signal to the server to close.
func (u *UnixCmd) Status() Status
Status retrieves the Status of the UnixCmd.
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.