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

Some modules using Msf::Exploit::Remote::SMB::Client are printing the rhost:rport twice #6948

Closed
wchen-r7 opened this issue Jun 8, 2016 · 1 comment
Assignees

Comments

@wchen-r7
Copy link
Contributor

wchen-r7 commented Jun 8, 2016

Reproducing it is very easy. Just run the module and you should see something like this:

msf auxiliary(smb_version) > run

[*] 192.168.1.109:445     - 192.168.1.109:445 is running Windows 2003 SP2 (build:3790) (name:SINN3R-QIXN9TA2) (domain:WORKGROUP)
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed

As you can see, the rhost:rport is repeated.

It looks like this is because the module is using the TCP mixin, which automatically prints the rhost:rport when printing a message, and then the module is printing peer again.

@wchen-r7 wchen-r7 self-assigned this Jun 8, 2016
@wchen-r7
Copy link
Contributor Author

wchen-r7 commented Jun 8, 2016

It looks like there are more modules affected by this type of bug.

@wchen-r7 wchen-r7 changed the title smb_version is printing the rhost:rport twice Some modules using Msf::Exploit::Remote::SMB::Client are printing the rhost:rport twice Jun 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant