2021-09-05 14:49:38 +02:00
|
|
|
//go:build !linux
|
2021-02-02 12:05:47 +01:00
|
|
|
|
|
|
|
package iptables
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
type otherwiseShell struct{}
|
|
|
|
|
|
|
|
func (*otherwiseShell) createChains() error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) dropIfDestinationEquals(ip string) error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) rstIfDestinationEqualsAndIsTCP(ip string) error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) dropIfContainsKeywordHex(keyword string) error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) dropIfContainsKeyword(keyword string) error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) rstIfContainsKeywordHexAndIsTCP(keyword string) error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) rstIfContainsKeywordAndIsTCP(keyword string) error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) hijackDNS(address string) error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) hijackHTTPS(address string) error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) hijackHTTP(address string) error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
func (*otherwiseShell) waive() error {
|
|
|
|
return errors.New("not implemented")
|
|
|
|
}
|
|
|
|
|
|
|
|
func newShell() *otherwiseShell {
|
|
|
|
return &otherwiseShell{}
|
|
|
|
}
|