Documentation ¶
Overview ¶
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
* Copyleft 2017, Simone Margaritelli <evilsocket at protonmail dot com> * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of ARM Inject nor the names of its contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE.
Index ¶
- Constants
- Variables
- func Register(channel Channel) error
- func Registered() map[string]Channel
- type Channel
- type Console
- func (c *Console) Copy() interface{}
- func (c *Console) Description() string
- func (c *Console) HasReader() bool
- func (c *Console) HasWriter() bool
- func (c *Console) Name() string
- func (c *Console) Read(b []byte) (n int, err error)
- func (c *Console) Register() error
- func (c *Console) Setup(direction Direction, args string) error
- func (c *Console) Start() error
- func (c *Console) Stats() Stats
- func (c *Console) Write(b []byte) (n int, err error)
- type DNSChannel
- func (c *DNSChannel) Copy() interface{}
- func (c *DNSChannel) Description() string
- func (c *DNSChannel) HasReader() bool
- func (c *DNSChannel) HasWriter() bool
- func (c *DNSChannel) Lookup(fqdn string) error
- func (c *DNSChannel) Name() string
- func (c *DNSChannel) Read(b []byte) (n int, err error)
- func (c *DNSChannel) Register() error
- func (c *DNSChannel) Setup(direction Direction, args string) (err error)
- func (c *DNSChannel) Start() error
- func (c *DNSChannel) Stats() Stats
- func (c *DNSChannel) Write(b []byte) (n int, err error)
- type Direction
- type ICMPChannel
- func (c *ICMPChannel) Copy() interface{}
- func (c *ICMPChannel) Description() string
- func (c *ICMPChannel) HasReader() bool
- func (c *ICMPChannel) HasWriter() bool
- func (c *ICMPChannel) Name() string
- func (c *ICMPChannel) Read(b []byte) (n int, err error)
- func (c *ICMPChannel) Register() error
- func (c *ICMPChannel) Setup(direction Direction, args string) (err error)
- func (c *ICMPChannel) Start() (err error)
- func (c *ICMPChannel) Stats() Stats
- func (c *ICMPChannel) Write(b []byte) (n int, err error)
- type Paste
- type Pastebin
- func (c *Pastebin) Copy() interface{}
- func (c *Pastebin) Description() string
- func (c *Pastebin) HasReader() bool
- func (c *Pastebin) HasWriter() bool
- func (c *Pastebin) Name() string
- func (c *Pastebin) Read(b []byte) (n int, err error)
- func (c *Pastebin) Register() error
- func (c *Pastebin) Setup(direction Direction, args string) error
- func (c *Pastebin) Start() error
- func (c *Pastebin) Stats() Stats
- func (c *Pastebin) Write(b []byte) (n int, err error)
- type PastebinAPI
- func (api *PastebinAPI) CreatePaste(paste Paste) (resp string, err error)
- func (api *PastebinAPI) DeletePaste(paste XmlPaste) (resp string, err error)
- func (api *PastebinAPI) GetPaste(key string) (body string, err error)
- func (api *PastebinAPI) GetPastes() (pastes []XmlPaste, err error)
- func (api *PastebinAPI) Request(page string, values url.Values) (body string, err error)
- type Stats
- type TCPChannel
- func (c *TCPChannel) Copy() interface{}
- func (c *TCPChannel) Description() string
- func (c *TCPChannel) GetClient() net.Conn
- func (c *TCPChannel) HasReader() bool
- func (c *TCPChannel) HasWriter() bool
- func (c *TCPChannel) Name() string
- func (c *TCPChannel) Read(b []byte) (n int, err error)
- func (c *TCPChannel) Register() error
- func (c *TCPChannel) SetClient(con net.Conn)
- func (c *TCPChannel) Setup(direction Direction, args string) (err error)
- func (c *TCPChannel) Start() (err error)
- func (c *TCPChannel) Stats() Stats
- func (c *TCPChannel) WaitForClient()
- func (c *TCPChannel) Write(b []byte) (n int, err error)
- type TLSChannel
- func (c *TLSChannel) Copy() interface{}
- func (c *TLSChannel) Description() string
- func (c *TLSChannel) GetClient() net.Conn
- func (c *TLSChannel) HasReader() bool
- func (c *TLSChannel) HasWriter() bool
- func (c *TLSChannel) Name() string
- func (c *TLSChannel) Read(b []byte) (n int, err error)
- func (c *TLSChannel) Register() error
- func (c *TLSChannel) SetClient(con net.Conn)
- func (c *TLSChannel) Setup(direction Direction, args string) (err error)
- func (c *TLSChannel) Start() (err error)
- func (c *TLSChannel) Stats() Stats
- func (c *TLSChannel) WaitForClient()
- func (c *TLSChannel) Write(b []byte) (n int, err error)
- type UDPChannel
- func (c *UDPChannel) Copy() interface{}
- func (c *UDPChannel) Description() string
- func (c *UDPChannel) HasReader() bool
- func (c *UDPChannel) HasWriter() bool
- func (c *UDPChannel) Name() string
- func (c *UDPChannel) Read(b []byte) (n int, err error)
- func (c *UDPChannel) Register() error
- func (c *UDPChannel) Setup(direction Direction, args string) (err error)
- func (c *UDPChannel) Start() (err error)
- func (c *UDPChannel) Stats() Stats
- func (c *UDPChannel) Write(b []byte) (n int, err error)
- type XmlPaste
Constants ¶
const ( ProtocolICMP = 1 /* from iana.ProtocolICMP which being internal I can't use -.- */ ICMPChunkSize = 128 ICMPBufferSize = 512 )
const ( Never = "N" TenMinutues = "10M" Hour = "1H" Day = "1D" Week = "1W" TwoWeeks = "2W" Month = "1M" Public = "0" Unlisted = "1" Private = "2" )
const ( UDPChunkSize = 128 UDPBufferSize = 512 )
const (
DefaultStreamName = "PBSTREAM"
)
Variables ¶
var ( DNSChunkSize = 16 DNSHostAddressParser = regexp.MustCompile("^([^@]+)@([^:]+):([\\d]+)$") DNSAddressParser = regexp.MustCompile("^([^:]+):([\\d]+)$") DNSQuestionParser = regexp.MustCompile("^([a-fA-F0-9]+)\\.(.+)\\.$") )
Functions ¶
func Registered ¶
Types ¶
type Channel ¶
type Console ¶
type Console struct {
// contains filtered or unexported fields
}
func NewConsoleChannel ¶
func NewConsoleChannel() *Console
func (*Console) Description ¶
type DNSChannel ¶
type DNSChannel struct {
// contains filtered or unexported fields
}
func NewDNSChannel ¶
func NewDNSChannel() *DNSChannel
func (*DNSChannel) Copy ¶
func (c *DNSChannel) Copy() interface{}
func (*DNSChannel) Description ¶
func (c *DNSChannel) Description() string
func (*DNSChannel) HasReader ¶
func (c *DNSChannel) HasReader() bool
func (*DNSChannel) HasWriter ¶
func (c *DNSChannel) HasWriter() bool
func (*DNSChannel) Lookup ¶
func (c *DNSChannel) Lookup(fqdn string) error
func (*DNSChannel) Name ¶
func (c *DNSChannel) Name() string
func (*DNSChannel) Register ¶
func (c *DNSChannel) Register() error
func (*DNSChannel) Start ¶
func (c *DNSChannel) Start() error
func (*DNSChannel) Stats ¶
func (c *DNSChannel) Stats() Stats
type ICMPChannel ¶
type ICMPChannel struct {
// contains filtered or unexported fields
}
func NewICMPChannel ¶
func NewICMPChannel() *ICMPChannel
func (*ICMPChannel) Copy ¶
func (c *ICMPChannel) Copy() interface{}
func (*ICMPChannel) Description ¶
func (c *ICMPChannel) Description() string
func (*ICMPChannel) HasReader ¶
func (c *ICMPChannel) HasReader() bool
func (*ICMPChannel) HasWriter ¶
func (c *ICMPChannel) HasWriter() bool
func (*ICMPChannel) Name ¶
func (c *ICMPChannel) Name() string
func (*ICMPChannel) Register ¶
func (c *ICMPChannel) Register() error
func (*ICMPChannel) Setup ¶
func (c *ICMPChannel) Setup(direction Direction, args string) (err error)
func (*ICMPChannel) Start ¶
func (c *ICMPChannel) Start() (err error)
func (*ICMPChannel) Stats ¶
func (c *ICMPChannel) Stats() Stats
type Pastebin ¶
type Pastebin struct {
// contains filtered or unexported fields
}
func NewPastebinChannel ¶
func NewPastebinChannel() *Pastebin
func (*Pastebin) Description ¶
type PastebinAPI ¶
func NewPastebinAPI ¶
func NewPastebinAPI(ApiKey, UserKey string) *PastebinAPI
func (*PastebinAPI) CreatePaste ¶
func (api *PastebinAPI) CreatePaste(paste Paste) (resp string, err error)
func (*PastebinAPI) DeletePaste ¶
func (api *PastebinAPI) DeletePaste(paste XmlPaste) (resp string, err error)
func (*PastebinAPI) GetPaste ¶
func (api *PastebinAPI) GetPaste(key string) (body string, err error)
func (*PastebinAPI) GetPastes ¶
func (api *PastebinAPI) GetPastes() (pastes []XmlPaste, err error)
type TCPChannel ¶
type TCPChannel struct {
// contains filtered or unexported fields
}
func NewTCPChannel ¶
func NewTCPChannel() *TCPChannel
func (*TCPChannel) Copy ¶
func (c *TCPChannel) Copy() interface{}
func (*TCPChannel) Description ¶
func (c *TCPChannel) Description() string
func (*TCPChannel) GetClient ¶
func (c *TCPChannel) GetClient() net.Conn
func (*TCPChannel) HasReader ¶
func (c *TCPChannel) HasReader() bool
func (*TCPChannel) HasWriter ¶
func (c *TCPChannel) HasWriter() bool
func (*TCPChannel) Name ¶
func (c *TCPChannel) Name() string
func (*TCPChannel) Register ¶
func (c *TCPChannel) Register() error
func (*TCPChannel) SetClient ¶
func (c *TCPChannel) SetClient(con net.Conn)
func (*TCPChannel) Start ¶
func (c *TCPChannel) Start() (err error)
func (*TCPChannel) Stats ¶
func (c *TCPChannel) Stats() Stats
func (*TCPChannel) WaitForClient ¶
func (c *TCPChannel) WaitForClient()
type TLSChannel ¶
type TLSChannel struct {
// contains filtered or unexported fields
}
func NewTLSChannel ¶
func NewTLSChannel() *TLSChannel
func (*TLSChannel) Copy ¶
func (c *TLSChannel) Copy() interface{}
func (*TLSChannel) Description ¶
func (c *TLSChannel) Description() string
func (*TLSChannel) GetClient ¶
func (c *TLSChannel) GetClient() net.Conn
func (*TLSChannel) HasReader ¶
func (c *TLSChannel) HasReader() bool
func (*TLSChannel) HasWriter ¶
func (c *TLSChannel) HasWriter() bool
func (*TLSChannel) Name ¶
func (c *TLSChannel) Name() string
func (*TLSChannel) Register ¶
func (c *TLSChannel) Register() error
func (*TLSChannel) SetClient ¶
func (c *TLSChannel) SetClient(con net.Conn)
func (*TLSChannel) Start ¶
func (c *TLSChannel) Start() (err error)
func (*TLSChannel) Stats ¶
func (c *TLSChannel) Stats() Stats
func (*TLSChannel) WaitForClient ¶
func (c *TLSChannel) WaitForClient()
type UDPChannel ¶
type UDPChannel struct {
// contains filtered or unexported fields
}
func NewUDPChannel ¶
func NewUDPChannel() *UDPChannel
func (*UDPChannel) Copy ¶
func (c *UDPChannel) Copy() interface{}
func (*UDPChannel) Description ¶
func (c *UDPChannel) Description() string
func (*UDPChannel) HasReader ¶
func (c *UDPChannel) HasReader() bool
func (*UDPChannel) HasWriter ¶
func (c *UDPChannel) HasWriter() bool
func (*UDPChannel) Name ¶
func (c *UDPChannel) Name() string
func (*UDPChannel) Register ¶
func (c *UDPChannel) Register() error
func (*UDPChannel) Start ¶
func (c *UDPChannel) Start() (err error)
func (*UDPChannel) Stats ¶
func (c *UDPChannel) Stats() Stats