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

Add support for non-interactive shell to nasl_ssh_shell_open(). (backport #744) #753

Merged
merged 4 commits into from
Jun 2, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 2, 2021

This is an automatic backport of pull request #744 done by Mergify.
Cherry-pick of 9cf482e has failed:

On branch mergify/bp/openvas-21.04/pr-744
Your branch is ahead of 'origin/openvas-21.04' by 2 commits.
  (use "git push" to publish your local commits)

You are currently cherry-picking commit 9cf482ef.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   CHANGELOG.md

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

…led).

Currently there are two options:

- an interactive shell with pty enabled, which responses are quite verbose (cmds, prompt, etc).
- one shot cmd exec which close the channel, with the response of the command only.

The new option allows to run multiple commands and only get the answer of this command, whitout the extra data like prompts and commands sent to the target.

(cherry picked from commit ef022b4)
(cherry picked from commit aabedb7)
(cherry picked from commit 9cf482e)

# Conflicts:
#	CHANGELOG.md
@mergify mergify bot requested a review from a team as a code owner June 2, 2021 08:03
@mergify mergify bot added the conflicts This backport pull request has merge conflicts that need to be resolved label Jun 2, 2021
@ArnoStiefvater ArnoStiefvater removed the conflicts This backport pull request has merge conflicts that need to be resolved label Jun 2, 2021
@ArnoStiefvater ArnoStiefvater merged commit 7d6eff8 into openvas-21.04 Jun 2, 2021
@mergify mergify bot deleted the mergify/bp/openvas-21.04/pr-744 branch June 2, 2021 09: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.

2 participants