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

Update nessus.rb for Issue #16556 #16559

Closed
wants to merge 1 commit into from

Conversation

Ronni3X
Copy link
Contributor

@Ronni3X Ronni3X commented May 11, 2022

Changed the line that parses the input for the nessus_connect password. It will now split the user input by the last occurrence of the at sign (@) instead of the first occurrence. This will prevent improperly parsed passwords due to an at sign (@) in the password.

Verification

  • change a password for a nessus user to something that contains an at sign (@)
  • start nessus
  • start msfconsole
  • load nessus
  • connect to nessus using the following example
  • nessus_connect test:tester@testing@localhost:8834 ssl_ignore
  • it should connect properly

Changed the line that parses the input for the nessus_connect password. It will now split the user input by the last occurrence of the at sign (@) instead of the first occurrence. This will prevent improperly parsed passwords due to an at sign (@) in the password.
@Ronni3X Ronni3X closed this May 11, 2022
@Ronni3X Ronni3X deleted the Ronni3X-nessus-plugin-patch-1 branch May 11, 2022 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant