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 SFTP helper functions to retrieve the current working directory and obtain the real absolute path of a relative path. #79

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

alien10086
Copy link

Added an sftp help function

  1. Obtain the real path of the directory eg "/opt/vulscan/.. -> /opt"
  2. Pass in ". "on initialization You can get the current working directory

…nd obtain the real absolute path of a relative path.
@Joannis Joannis merged commit 819bb80 into orlandos-nl:main Nov 8, 2024
1 check passed
@alien10086 alien10086 deleted the feature/sftptoolfuntion branch November 12, 2024 07:48
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