UTF-8 characters allow deletion of command prompt

Open
#7,986 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
ruby
Domain
cli

Research direction

Start by reproducing the linked asciinema example using Metasploit v4.13.20-dev-a9ea09a17930ba61f61139a592e08b995c8db031 on OSX El Capitan, focusing on UTF-8 input and the command prompt. Done means the evil cursor no longer deletes or consumes the prompt; the issue does not name a source file or test.

Written by the indexing model from the issue text.

Description

ascii-utf8-issues bug msfconsole

Steps to reproduce

Video example:

asciicast

This section should also tell us any relevant information about the
environment; for example, if an exploit that used to work is failing,
tell us the victim operating system and service versions.

Expected behavior

The prompt shouldn't get eaten by the evil cursor

Current behavior

The prompt gets eaten by the evil cursor

System stuff

OSX El Capitan

Metasploit version

v4.13.20-dev-a9ea09a17930ba61f61139a592e08b995c8db031

I installed Metasploit with:
  • Omnibus OSX installer
Dominant language
Ruby
Stars
39k
Forks
15k
Avg merge
5d 6h
Merged PRs (30d)
32

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rapid7/metasploit-framework

All issues in rapid7/metasploit-framework

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.