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

Fix issue about REG_MULTI_SZ. #311

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@Green-m

Green-m commented Nov 5, 2018

Fix rapid7/metasploit-framework#10859

The REG_MULTI_SZ type is the same as REG_EXPAND_SZ and REG_SZ, should be converted by utf8_to_wchar

Before fix

meterpreter > reg setval -k HKCU\\Software\\Mozilla\\Firefox -t REG_MULTI_SZ -v "asddsad" -d 'string\0string2\0'
Successfully set asdd of REG_MULTI_SZ.

On victim side we got this:
image

After fix

meterpreter > reg setval -k HKCU\\Software\\Mozilla\\Firefox -t REG_MULTI_SZ -v "sdwqeqwd" -d 'string\0string2\0'
Successfully set sdwqeqwd of REG_MULTI_SZ.

On victim side we got this:

image

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