-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Closed
Description
I love running msf as a service (msfd) an using netcat as a thin client rather than msfconsole, as nc is up in less than one second.
So, working with nc, I always set 'color false', and I came to realize that the prompt is not honouring the color false directive.
Steps to reproduce
msfd -q -a 0.0.0.0
nc 127.0.0.1 55554
nc>color false
nc>set PROMPT msf
After setting the prompt, you can see that nc receives from the server:
0x20 [blank]
0x01 [SOH, start of header]
0x02 [SOT, start of text]
0x3E [>]
0x20 [blank]
The issue lays on removing the 0x01 and 0x02 from the prompt when 'color false' has been stablished.
Expected behavior
0x20 [blank] 0x3E [>] 0x20 [blank]Current behavior
0x20 [blank] 0x01 [SOH, start of header] 0x02 [SOT, start of text] 0x3E [>] 0x20 [blank]System stuff
Metasploit version
framework: 4.16.7-dev
console: 4.16.7-dev
OS
kali 2017.2
thanks!
Metadata
Metadata
Assignees
Labels
No labels