Skip to content
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

DisablePayloadHandler has mind of its own when saving config #10240

Closed
1 of 4 tasks
bwatters-r7 opened this issue Jul 2, 2018 · 3 comments · Fixed by #10989
Closed
1 of 4 tasks

DisablePayloadHandler has mind of its own when saving config #10240

bwatters-r7 opened this issue Jul 2, 2018 · 3 comments · Fixed by #10989
Assignees
Labels

Comments

@bwatters-r7
Copy link
Contributor

Steps to reproduce

How'd you do it?

  1. rm /home/<user>/.msf4/config
  2. ./msfconsole
  3. set up for epic haxoring (do not set DisablePayloadHandler )
  4. show options and verify DisablePayloadHandler settings
  5. save
  6. exit msfconsole
  7. restart msfconsole
  8. show options
  9. Notice that **DisablePayloadHandler: True (RHOST and RPORT settings will be ignored!)**
  10. Cry
  11. try to fix it by running 'set DisablePayloadHandler False`
  12. show options
  13. Notice that **DisablePayloadHandler: True (RHOST and RPORT settings will be ignored!)**
  14. Cry harder.

Expected behavior

Not setting DisablePayloadHandler and saving means that it does not get set when you restart
Setting DisablePayloadHandler to False sets DisablePayloadHandler to False

Current behavior

Saving apparently automatically enables DisablePayloadHandler
Setting DisablePayloadHandler to False does nothing

System stuff

Metasploit version

msf5 exploit(windows/smb/psexec) > version
Framework: 5.0.0-dev-d322148
Console : 5.0.0-dev-d322148

I installed Metasploit with:

OS

What OS are you running Metasploit on?
Linux ubuntu 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

@bwatters-r7 bwatters-r7 added the bug label Jul 2, 2018
@wvu
Copy link
Contributor

wvu commented Jul 3, 2018

Is this the issue I complained about on Slack?

@wvu
Copy link
Contributor

wvu commented Jul 3, 2018

Looks like I created a ticket for it at #10179.

@sohosecsolutions
Copy link

I am having the same exact problem. Commenting so I may stay updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants