superhero / js.telnet

Telnet module
MIT License
2 stars 3 forks source link

Problem with login #2

Open goldenmusicent opened 5 years ago

goldenmusicent commented 5 years ago

HI!

I don't understand how longin to my telnet app. on Telnet it aske so :

Username: Password:

i attempt to log so:

.exec(/Username: $/i, 'xxx', 10000, (error, data) => {})
.exec(/Password: $/i, 'xxx', 10000, (error, data) => {})

but nothing append and connexion END...

socket: end socket: close argument:false

Do you have any issue?

superhero commented 5 years ago

Depends on your telnet prompt, can you paste me how it looks when you go through the command line?

My first thought is that the regex does not match the output.

If you also could paste your log output, it would help

goldenmusicent commented 5 years ago

Hi,

thanks to your answer!

On telnet y should connect like the "capture d'écran 2019...".

i think you have right, juste triyng to do my own socket without detect the regex is work...

i don't know with regex shoold y use with Username: and Password... Peraps coold you say me?

thks

Chears from swiss

Le jeu. 20 juin 2019 à 16:00, Erik Landvall notifications@github.com a écrit :

Depends on your telnet prompt, can you paste me how it looks when you go through the command line?

My first thought is that the regex does not match the output.

If you also could paste your log output, it would help

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/superhero/js.telnet/issues/2?email_source=notifications&email_token=AKTN5N2XEP3MOVIN33JXZSTP3OEQBA5CNFSM4HZRVH3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYFP7DA#issuecomment-504037260, or mute the thread https://github.com/notifications/unsubscribe-auth/AKTN5NZXEW32SUGR4DV5LOTP3OEQBANCNFSM4HZRVH3A .

-- Cordialement,

Vincent Roggo


Vincent Roggo Les Albergeux 16 1661 Le Pâquier +41 (0)77/251.95.51

superhero commented 5 years ago

I can not tell you, becouse you don't supply me with the information I need and asked for.

goldenmusicent commented 5 years ago

Sorry... I think i don’t understand which information do you need (I’m French) i give you a picture with the login infos.. it was not that do you need?

Chears

Envoyé de mon iPhone

Le 24 juin 2019 à 21:25, Erik Landvall notifications@github.com a écrit :

I can not tell you, becouse you don't supply me with the information I need and asked for.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.