Closed Louis-me closed 2 years ago
ssh shell windows
type connections will often not provide a prompt, this is due to the nature of the ssh service provided:
msf6 auxiliary(scanner/ssh/ssh_login) > sessions
Active sessions
===============
Id Name Type Information Connection
-- ---- ---- ----------- ----------
1 shell windows SSH vagrant:vagrant @ x.x.x.x:55198 -> x.x.x.x:22
(x.x.x.x)
msf6 auxiliary(scanner/ssh/ssh_login) > session -i 1
[-] Unknown command: session
msf6 auxiliary(scanner/ssh/ssh_login) > sessions -i 1
[*] Starting interaction with 1...
ls
AppData
Application Data
Contacts
Cookies
Desktop
Documents
Downloads
Favorites
Links
Local Settings
Music
My Documents
NTUSER.DAT
NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf
NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001.regtrans-ms
NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002.regtrans-ms
This it a metasploit-framework function and not controlled by this project.
Issue Description
auxiliary/scanner/ssh/ssh_login
run is success,use commadsessions -i 1
no response for a long timeHost System
please help me ,thanks.