MCPcopy Create free account

hub / github.com/ArturSS7/TukTuk / functions

Functions177 in github.com/ArturSS7/TukTuk

↓ 80 callersMethodWriteResponse
(code int, enhCode EnhancedCode, text ...string)
smtplistener/smtpserver/conn.go:961
↓ 66 callersMethodPrintln
(v ...interface{})
smtplistener/smtpserver/server.go:25
↓ 28 callersMethodlog
logging to database
ftplistener/ftp.go:99
↓ 17 callersMethodClose
()
smtplistener/smtpserver/conn.go:185
↓ 14 callersMethodcmd
cmd is a convenience function that sends a command and returns the response textproto.Error returned by c.Text.ReadResponse is converted into SMTPErro
smtplistener/smtpserver/client.go:144
↓ 13 callersMethodPrintf
(format string, v ...interface{})
smtplistener/smtpserver/server.go:24
↓ 11 callersMethodSession
()
smtplistener/smtpserver/conn.go:172
↓ 10 callersMethodError
()
smtplistener/smtpserver/data.go:31
↓ 10 callersMethodhello
hello runs a hello exchange if needed.
smtplistener/smtpserver/client.go:113
↓ 7 callersMethodState
()
smtplistener/smtpserver/conn.go:212
↓ 6 callersMethodTLSConnectionState
TLSConnectionState returns the connection's TLS connection state. Zero values are returned if the connection doesn't use TLS.
smtplistener/smtpserver/conn.go:204
↓ 6 callersMethodreset
()
smtplistener/smtpserver/conn.go:1000
↓ 6 callersFunctionvalidateLine
validateLine checks to see if a line has CR or LF as per RFC 5321
smtplistener/smtpserver/smtp.go:25
↓ 5 callersMethodData
Set currently processed message contents and send it.
smtplistener/smtpserver/backend.go:73
↓ 5 callersFunctiontoSMTPErr
toSMTPErr converts textproto.Error into SMTPError, parsing enhanced status code if it is present.
smtplistener/smtpserver/client.go:589
↓ 5 callersFunctiontoSMTPStatus
(err error)
smtplistener/smtpserver/conn.go:940
↓ 4 callersMethodClose
Close closes the connection.
smtplistener/smtpserver/client.go:108
↓ 4 callersMethodListenAndServe
ListenAndServe listens on the network address s.Addr and then calls Serve to handle requests on incoming connections. If s.Addr is blank and LMTP is
smtplistener/smtpserver/server.go:184
↓ 4 callersMethodRender
(w io.Writer, name string, data interface{}, c echo.Context)
backend/backend.go:37
↓ 4 callersMethodStop
()
ftplistener/ftp.go:55
↓ 4 callersMethodfillRemaining
fillRemaining sets status for all recipients SetStatus was not called for before.
smtplistener/smtpserver/conn.go:860
↓ 4 callersMethodrespond
(s string)
ftplistener/ftp.go:115
↓ 3 callersFunctionNewClient
NewClient returns a new Client using an existing connection and host as a server name to be used when authenticating.
smtplistener/smtpserver/client.go:67
↓ 3 callersFunctionRandStringBytes
(n int)
backend/tcp.go:133
↓ 3 callersMethodSetSession
Setting the user resets any message being generated
smtplistener/smtpserver/conn.go:179
↓ 3 callersMethodinit
()
smtplistener/smtpserver/conn.go:62
↓ 2 callersFunctionHandler
(w dns.ResponseWriter, req *dns.Msg)
dnslistener/dns.go:104
↓ 2 callersMethodLMTPData
LMTPData is the LMTP-specific version of Data method. It can be optionally implemented by the backend to provide per-recipient status information when
smtplistener/smtpserver/backend.go:90
↓ 2 callersMethodLogout
Free all resources associated with session.
smtplistener/smtpserver/backend.go:66
↓ 2 callersMethodMail
Set return path for currently processed message.
smtplistener/smtpserver/backend.go:69
↓ 2 callersMethodRcpt
Add recipient for currently processed message.
smtplistener/smtpserver/backend.go:71
↓ 2 callersMethodReadLine
Reads a line of input
smtplistener/smtpserver/conn.go:990
↓ 2 callersMethodServe
Serve accepts incoming connections on the Listener l.
smtplistener/smtpserver/server.go:110
↓ 2 callersMethodSetStatus
(rcptTo string, err error)
smtplistener/smtpserver/backend.go:94
↓ 2 callersMethodStartTLS
StartTLS sends the STARTTLS command and encrypts all further communication. Only servers that advertise the STARTTLS extension support this function.
smtplistener/smtpserver/client.go:205
↓ 2 callersFunctionanswerQuery
(m *dns.Msg, resolveIP bool)
dnslistener/dns.go:189
↓ 2 callersMethodcreateStatusCollector
()
smtplistener/smtpserver/conn.go:827
↓ 2 callersMethodehlo
ehlo sends the EHLO (extended hello) greeting to the server. It should be the preferred greeting for servers that support it.
smtplistener/smtpserver/client.go:172
↓ 2 callersFunctiongetLoginFromSession
(c echo.Context)
backend/login.go:60
↓ 2 callersFunctionlogSMTP
(db *sql.DB, RemoteAddr string)
smtplistener/smtpserver/conn.go:1019
↓ 2 callersFunctionmessageFormation
(ContentFormation content, ProtocolName string, id int64)
telegrambot/telegrambot.go:80
↓ 2 callersFunctionnewDataReader
(c *Conn)
smtplistener/smtpserver/data.go:53
↓ 2 callersFunctionparseDomainforlink
(str string)
telegrambot/telegrambot.go:98
↓ 2 callersFunctionparseHelloArgument
(arg string)
smtplistener/smtpserver/parse.go:61
↓ 2 callersMethodunrecognizedCommand
(cmd string)
smtplistener/smtpserver/conn.go:91
↓ 1 callersMethodAnonymousLogin
Called if the client attempts to send mail without logging in first. Return smtp.ErrAuthRequired if you don't want to support this.
smtplistener/smtpserver/backend.go:21
↓ 1 callersMethodAuth
Auth authenticates a client using the provided authentication mechanism. Only servers that advertise the AUTH extension support this function. If ser
smtplistener/smtpserver/client.go:262
↓ 1 callersFunctionCheckConfig
()
emailalert/emailalert.go:92
↓ 1 callersMethodClose
Close immediately closes all active listeners and connections. Close returns any error returned from closing the server's underlying listener(s).
smtplistener/smtpserver/server.go:229
↓ 1 callersFunctionDial
Dial returns a new Client connected to an SMTP server at addr. The addr must include a port, as in "mail.example.com:smtp".
smtplistener/smtpserver/client.go:45
↓ 1 callersFunctionDomainParse
(rcpt string)
smtplistener/smtpserver/conn.go:1035
↓ 1 callersMethodExtension
Extension reports whether an extension is support by the server. The extension name is case-insensitive. If the extension is supported, Extension also
smtplistener/smtpserver/client.go:520
↓ 1 callersFunctionFind
(slice []int64, val int64)
backend/dns.go:60
↓ 1 callersFunctionGetClientToken
()
emailalert/emailalert.go:108
↓ 1 callersMethodLogin
Authenticate a user. Return smtp.ErrAuthUnsupported if you don't want to support this.
smtplistener/smtpserver/backend.go:17
↓ 1 callersFunctionLookup
(req *dns.Msg)
dnslistener/dns.go:253
↓ 1 callersFunctionNewServer
(db *sql.DB)
ftplistener/ftp.go:41
↓ 1 callersFunctionNewServer
(db *sql.DB, message string, port string)
plaintcplistener/tcp.go:34
↓ 1 callersFunctionParseDomainDNS
(data string)
telegrambot/telegrambot.go:108
↓ 1 callersFunctionParseDomainSMTP
(data string)
telegrambot/telegrambot.go:115
↓ 1 callersMethodQuit
Quit sends the QUIT command and closes the connection to the server. If Quit fails the connection is not closed, Close should be used in this case.
smtplistener/smtpserver/client.go:559
↓ 1 callersMethodRead
(b []byte)
smtplistener/smtpserver/data.go:66
↓ 1 callersMethodReset
Discard currently processed message.
smtplistener/smtpserver/backend.go:63
↓ 1 callersMethodServer
()
smtplistener/smtpserver/conn.go:168
↓ 1 callersFunctionanswerAcme
(m *dns.Msg)
dnslistener/dns.go:168
↓ 1 callersFunctionanswerAcmeCAA
(m *dns.Msg)
dnslistener/dns.go:180
↓ 1 callersMethodauthAllowed
()
smtplistener/smtpserver/conn.go:226
↓ 1 callersFunctiondecodeXtext
(val string)
smtplistener/smtpserver/conn.go:425
↓ 1 callersFunctionencodeXtext
(raw string)
smtplistener/smtpserver/conn.go:451
↓ 1 callersFunctiongetClient
Retrieve a token, saves the token, then returns the generated client.
emailalert/emailalert.go:35
↓ 1 callersFunctiongetTokenFromWeb
Request a token from the web, then returns the retrieved token. Rewrite for the frontend /////////
emailalert/emailalert.go:51
↓ 1 callersMethodgreet
()
smtplistener/smtpserver/conn.go:957
↓ 1 callersMethodhandle
Commands are dispatched to the appropriate handler functions.
smtplistener/smtpserver/conn.go:102
↓ 1 callersMethodhandleAuth
(arg string)
smtplistener/smtpserver/conn.go:515
↓ 1 callersMethodhandleBdat
(arg string)
smtplistener/smtpserver/conn.go:679
↓ 1 callersMethodhandleConn
(c *Conn)
smtplistener/smtpserver/server.go:134
↓ 1 callersMethodhandleData
DATA
smtplistener/smtpserver/conn.go:633
↓ 1 callersMethodhandleDataLMTP
()
smtplistener/smtpserver/conn.go:891
↓ 1 callersMethodhandleFTP
main request handler if input differs from USER we just drop the connection and don't log it
ftplistener/ftp.go:125
↓ 1 callersMethodhandleGreet
GREET state -> waiting for HELO
smtplistener/smtpserver/conn.go:232
↓ 1 callersMethodhandleMail
READY state -> waiting for MAIL
smtplistener/smtpserver/conn.go:284
↓ 1 callersMethodhandlePanic
(err interface{}, status *statusCollector)
smtplistener/smtpserver/conn.go:818
↓ 1 callersMethodhandleRcpt
MAIL state -> waiting for RCPTs followed by DATA
smtplistener/smtpserver/conn.go:477
↓ 1 callersMethodhandleStartTLS
()
smtplistener/smtpserver/conn.go:597
↓ 1 callersMethodhandleTCP
(c *Conn)
plaintcplistener/tcp.go:76
↓ 1 callersMethodhelo
helo sends the HELO greeting to the server. It should be used only when the server does not support ehlo.
smtplistener/smtpserver/client.go:164
↓ 1 callersMethodlog
logging to database
plaintcplistener/tcp.go:112
↓ 1 callersFunctionlogDNS
(query string, sourceIp string)
dnslistener/dns.go:88
↓ 1 callersFunctionlogLDAP
(dn, remouteAddr string)
ldaplistener/ldap.go:56
↓ 1 callersFunctionloginSession
(c echo.Context, login string)
backend/login.go:41
↓ 1 callersFunctionnewConn
(c net.Conn, s *Server)
smtplistener/smtpserver/conn.go:52
↓ 1 callersFunctionnewConn
return new connection with parameters
ftplistener/ftp.go:90
↓ 1 callersFunctionnewConn
return new connection with parameters
plaintcplistener/tcp.go:101
↓ 1 callersFunctionparseArgs
Takes the arguments proceeding a command and files them into a map[string]string after uppercasing each key. Sample arg string: " BODY=8BITMIME SIZ
smtplistener/smtpserver/parse.go:42
↓ 1 callersFunctionparseCmd
(line string)
smtplistener/smtpserver/parse.go:8
↓ 1 callersFunctionparseConfig
()
config/config.go:41
↓ 1 callersFunctionparseDomainforlink
(str string)
discordbot/discordbot.go:34
↓ 1 callersFunctionparseEnhancedCode
(s string)
smtplistener/smtpserver/client.go:570
↓ 1 callersFunctionparsePort
(str string)
telegrambot/telegrambot.go:103
↓ 1 callersFunctionreadConfig
()
config/config.go:21
next →1–100 of 177, ranked by callers