MCPcopy Create free account

hub / github.com/ArturSS7/TukTuk / functions

Functions177 in github.com/ArturSS7/TukTuk

↓ 1 callersFunctionreadDB
(tableName string, db *sql.DB, id int64)
telegrambot/telegrambot.go:61
↓ 1 callersMethodrespond
(s string)
plaintcplistener/tcp.go:128
↓ 1 callersFunctionsaveToken
Saves a token to a file path.
emailalert/emailalert.go:82
↓ 1 callersMethodserve
(db *sql.DB)
ftplistener/ftp.go:61
↓ 1 callersMethodserve
(db *sql.DB, message string, port string)
plaintcplistener/tcp.go:54
↓ 1 callersFunctionstartServer
()
dnslistener/dns.go:47
↓ 1 callersFunctiontokenFromFile
Retrieves a token from a local file.
emailalert/emailalert.go:70
MethodAnonymousLogin
AnonymousLogin requires clients to authenticate using SMTP AUTH before sending emails
smtplistener/smtp.go:25
FunctionBotSendAlert
(data, source_ip, time, ProtocolName string, id int64)
discordbot/discordbot.go:14
FunctionBotSendAlert
(data, source_ip, time, ProtocolName string, id int64)
telegrambot/telegrambot.go:29
FunctionBotSendAlert_BD
BotSendAlert_BD function start the bot and sends the message read from the database
telegrambot/telegrambot.go:49
FunctionBotStart
BotStart Start Telegram Bot
telegrambot/telegrambot.go:23
MethodClose
()
smtplistener/smtpserver/client.go:376
FunctionConnect
()
database/db.go:19
FunctionConvertData
(r io.Reader)
smtplistener/smtpserver/conn.go:671
MethodData
(r io.Reader)
smtplistener/smtp.go:42
MethodData
Data issues a DATA command to the server and returns a writer that can be used to write the mail headers and body. The caller should close the writer
smtplistener/smtpserver/client.go:414
FunctionDialTLS
DialTLS returns a new Client connected to an SMTP server via TLS at addr. The addr must include a port, as in "mail.example.com:smtps".
smtplistener/smtpserver/client.go:56
FunctionEmailAlertStart
(Enabled_ bool, to_ string)
emailalert/emailalert.go:22
MethodEnableAuth
EnableAuth enables an authentication mechanism on this server. This function should not be called directly, it must only be used by libraries impleme
smtplistener/smtpserver/server.go:257
MethodForEachConn
ForEachConn iterates through all opened connections.
smtplistener/smtpserver/server.go:262
FunctionHandlerTCP
(w dns.ResponseWriter, req *dns.Msg)
dnslistener/dns.go:80
FunctionHandlerUDP
(w dns.ResponseWriter, req *dns.Msg)
dnslistener/dns.go:84
MethodHello
Hello sends a HELO or EHLO to the server as the given host name. Calling this method is only necessary if the client needs control over the host name
smtplistener/smtpserver/client.go:131
MethodLMTPData
LMTPData is the LMTP-specific version of the Data method. It accepts a callback that will be called for each status response received from the server.
smtplistener/smtpserver/client.go:430
MethodListenAndServeTLS
ListenAndServeTLS listens on the TCP network address s.Addr and then calls Serve to handle requests on incoming TLS connections. If s.Addr is blank,
smtplistener/smtpserver/server.go:207
MethodLogin
Login handles a login command with username and password.
smtplistener/smtp.go:17
MethodLogout
()
smtplistener/smtp.go:54
MethodMail
(from string, opts smtp.MailOptions)
smtplistener/smtp.go:32
MethodMail
Mail issues a MAIL command to the server using the provided email address. If the server supports the 8BITMIME extension, Mail adds the BODY=8BITMIME
smtplistener/smtpserver/client.go:316
FunctionNewClientLMTP
NewClientLMTP returns a new LMTP Client (as defined in RFC 2033) using an existing connector and host as a server name to be used when authenticating.
smtplistener/smtpserver/client.go:98
FunctionNewServer
New creates a new SMTP server.
smtplistener/smtpserver/server.go:78
MethodNoop
Noop sends the NOOP command to the server. It does nothing but check that the connection to the server is okay.
smtplistener/smtpserver/client.go:547
MethodRcpt
(to string)
smtplistener/smtp.go:37
MethodRcpt
Rcpt issues a RCPT command to the server using the provided email address. A call to Rcpt must be preceded by a call to Mail and may be followed by a
smtplistener/smtpserver/client.go:359
MethodRead
(b []byte)
smtplistener/smtpserver/lengthlimit_reader.go:21
MethodReject
()
smtplistener/smtpserver/conn.go:952
MethodReset
()
smtplistener/smtp.go:52
MethodReset
Reset sends the RSET command to the server, aborting the current mail transaction.
smtplistener/smtpserver/client.go:534
FunctionSendEmailAlert
(subject, msg string)
emailalert/emailalert.go:117
FunctionSendMail
nil, except for tests SendMail connects to the server at addr, switches to TLS if possible, authenticates with the optional mechanism a if possible, a
smtplistener/smtpserver/client.go:463
MethodSetStatus
(rcptTo string, err error)
smtplistener/smtpserver/conn.go:876
FunctionStartBack
start backend
backend/backend.go:46
FunctionStartDNS
(Domain string)
dnslistener/dns.go:36
FunctionStartFTP
(db *sql.DB)
ftplistener/ftp.go:32
FunctionStartHTTP
start http server
httplistener/http.go:23
FunctionStartHTTPS
same as https, just added cert
httpslistener/https.go:24
FunctionStartInit
StartInit domain and alert from Config.json.example
config/config.go:17
FunctionStartLDAP
(domain string)
ldaplistener/ldap.go:18
FunctionStartSMBAccept
(db *sql.DB)
smblistener/smb.go:19
FunctionStartSMTP
(db *sql.DB, Domain string)
smtplistener/smtp.go:58
FunctionStartTCP
(db *sql.DB, message string, port string)
plaintcplistener/tcp.go:25
MethodStop
()
plaintcplistener/tcp.go:48
MethodTLSConnectionState
TLSConnectionState returns the client's TLS connection state. The return values are their zero values if StartTLS did not succeed.
smtplistener/smtpserver/client.go:233
MethodTemporary
()
smtplistener/smtpserver/data.go:35
MethodVerify
Verify checks the validity of an email address on the server. If Verify returns nil, the address is valid. A non-nil return does not necessarily indic
smtplistener/smtpserver/client.go:247
FunctionacceptSMB
(c echo.Context)
smblistener/smb.go:32
FunctiondeleteDomain
(c echo.Context)
backend/dns.go:115
FunctiongenerateDomain
(c echo.Context)
backend/dns.go:22
FunctiongetAvailableDomains
(c echo.Context)
backend/dns.go:75
FunctiongetRequest
(c echo.Context)
backend/backend.go:135
FunctiongetRequests
handler for getting requests from database
backend/backend.go:93
FunctiongetRunningTCPServers
(c echo.Context)
backend/tcp.go:122
FunctiongetTCPResults
(c echo.Context)
backend/tcp.go:64
FunctionhandleBind
handleBind return Success if login == mysql
ldaplistener/ldap.go:43
FunctionhandleHTTP
handler for http requests we make request to look as it should and store it in the database unfortunately i found no way to dump raw request with echo
httplistener/http.go:47
FunctionhandleHTTPS
(c echo.Context)
httpslistener/https.go:46
FunctionhandleLogin
(c echo.Context)
backend/login.go:25
FunctionloginPage
(c echo.Context)
backend/login.go:17
FunctionloginRequired
(next echo.HandlerFunc)
backend/login.go:51
Functionmain
()
main.go:17
FunctionshutdownFTP
(c echo.Context)
backend/ftp.go:34
FunctionstartFTP
(c echo.Context)
backend/ftp.go:11
FunctionstartPlainTCP
(c echo.Context)
backend/tcp.go:23
FunctionstartSMBServer
(c echo.Context)
backend/smb.go:11
FunctionstopSMBServer
(c echo.Context)
backend/smb.go:32
FunctionstopTCPServer
(c echo.Context)
backend/tcp.go:93
← previous101–177 of 177, ranked by callers