crash.software
Projects
Pull Requests
Issues
Builds
scan4all
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scan4all
Files
🤬
Sign In
20a2fbca
ROOT
/
pkg
/
kscan
/
lib
/
gotelnet
/
telnet.go
Search
History
486 lines
|
UTF-8
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
TIME_DELAY_AFTER_WRITE
IAC
DONT
DO
WONT
WILL
SB
SE
NULL
EOF
SUSP
ABORT
REOR
NOP
DM
BRK
IP
AO
AYT
EC
EL
GA
BINARY
ECHO
RCP
SGA
NAMS
STATUS
TM
RCTE
NAOL
NAOP
NAOCRD
NAOHTS
NAOHTD
NAOFFD
NAOVTS
NAOVTD
NAOLFD
XASCII
LOGOUT
BM
DET
SUPDUP
SUPDUPOUTPUT
SNDLOC
TTYPE
EOR
TUID
OUTMRK
TTYLOC
VT3270REGIME
X3PAD
NAWS
TSPEED
LFLOW
LINEMODE
XDISPLOC
OLD_ENVIRON
AUTHENTICATION
ENCRYPT
NEW_ENVIRON
TN3270E
XAUTH
CHARSET
RSP
COM_PORT_OPTION
SUPPRESS_LOCAL_ECHO
TLS
KERMIT
SEND_URL
FORWARD_X
PRAGMA_LOGON
SSPI_LOGON
PRAGMA_HEARTBEAT
EXOPL
NOOPT
Closed
UnauthorizedAccess
OnlyPassword
UsernameAndPassword
Client
IPAddr
:
string
Port
:
int
UserName
:
string
Password
:
string
conn
:
net.Conn
LastResponse
:
string
ServerType
:
int
New
(addr string, port int)
:
*Client
loginFailedString
*Client
Connect
()
:
error
WriteContext
(s string)
ReadContext
()
:
string
Netloc
()
:
string
Close
()
SerializationResponse
(responseBuf []byte)
:
(displayBuf []byte, commandList [][]byte)
MakeReplyFromList
(list [][]byte)
:
[]byte
MakeReply
(command []byte)
:
[]byte
read
()
:
([]byte, error)
write
(buf []byte)
:
error
Login
()
:
error
MakeServerType
()
:
int
loginForOnlyPassword
()
:
error
loginForUsernameAndPassword
()
:
error
Clear
()
isLoginFailed
(responseString string)
:
bool
isLoginSucceed
(responseString string)
:
bool
All occurrences
Please wait...
Page is in error, reload to recover