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

318 implement pivotssh copy #323

Merged
merged 8 commits into from
Oct 13, 2023
Merged

318 implement pivotssh copy #323

merged 8 commits into from
Oct 13, 2023

Conversation

hulto
Copy link
Collaborator

@hulto hulto commented Oct 12, 2023

What type of PR is this?

/kind feature
/kind eldritch-function

What this PR does / why we need it:

This PR adds the pivot.ssh_copy function to eldritch. This function is helpful for us so we can move files from one host to another allowing for initial deployment during Red v Blue training events.

Which issue(s) this PR fixes:

Fixes #318

@hulto hulto requested a review from jabbate19 October 12, 2023 22:43
@hulto hulto linked an issue Oct 12, 2023 that may be closed by this pull request
Copy link
Collaborator

@jabbate19 jabbate19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We ball

@hulto
Copy link
Collaborator Author

hulto commented Oct 12, 2023

Prolly need to implement a remove function in the ssh test server.

@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

Merging #323 (a19927a) into main (4d18ec8) will decrease coverage by 0.19%.
The diff coverage is 70.56%.

@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
- Coverage   74.93%   74.75%   -0.19%     
==========================================
  Files          94       95       +1     
  Lines        6121     6346     +225     
==========================================
+ Hits         4587     4744     +157     
- Misses       1447     1515      +68     
  Partials       87       87              
Files Coverage Δ
implants/lib/eldritch/src/lib.rs 92.75% <100.00%> (ø)
implants/lib/eldritch/src/pivot/ssh_exec_impl.rs 70.67% <100.00%> (ø)
implants/lib/eldritch/src/pivot.rs 62.58% <94.11%> (+3.80%) ⬆️
implants/lib/eldritch/src/pivot/ssh_copy_impl.rs 67.94% <67.94%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hulto hulto merged commit c22cee4 into main Oct 13, 2023
6 of 8 checks passed
@hulto hulto deleted the 318-implement-pivotssh_copy branch October 13, 2023 01:34
hulto added a commit that referenced this pull request Oct 15, 2023
KCarretto pushed a commit that referenced this pull request Feb 1, 2024
 
318 implement pivotssh copy (#323)
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.

Implement pivot.ssh_copy
2 participants