New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed range array building to correctly parse ranges using - or .. #11329

Merged
merged 1 commit into from Jan 30, 2019

Conversation

Projects
None yet
4 participants
@yamitenshi
Copy link
Contributor

yamitenshi commented Jan 29, 2019

Fixes #11328

Verification

  • Start msfconsole
  • use exploit/multi/handler
  • set LHOST 127.0.0.1
  • exploit -j
  • (outside msfconsole): nc localhost 4444 (repeatedly)
  • (inside msfconsole): sessions -k 1-10 (adjust numbers as needed)

The sessions will be killed as expected.

@wvu-r7 wvu-r7 self-assigned this Jan 30, 2019

@wvu-r7 wvu-r7 merged commit 4059a5f into rapid7:master Jan 30, 2019

3 checks passed

Metasploit Automation - Sanity Test Execution Successfully completed all tests.
Details
Metasploit Automation - Test Execution Successfully completed all tests.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

wvu-r7 added a commit that referenced this pull request Jan 30, 2019

@wvu-r7

This comment has been minimized.

Copy link
Contributor

wvu-r7 commented Jan 30, 2019

Release Notes

This fixes a validation bug in killing a range of sessions with sessions -k. Now users can provide a range to sessions -k by using the - or .. specifiers.

msjenkins-r7 added a commit that referenced this pull request Jan 30, 2019

@wvu-r7

This comment has been minimized.

Copy link
Contributor

wvu-r7 commented Jan 30, 2019

Thanks for the fix!

@gdavidson-r7 gdavidson-r7 added the rn-fix label Feb 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment