Skip to content

Current working directory not respected #77

@lalvarezt

Description

@lalvarezt

I was working on a HTB box and after the initial foothold with user X I escalated to user Y, then I tried to upload a file but it kept the path that I was on from user X (not sure I managed to get the point across 😅)

  • User X was in /home/X
  • su Y
  • cd /tmp
  • detach and try to upload, it goes to /home/X instead of /tmp

A possible workaround is to allow to pass a second argument to upload/download to put the destination path. wdyt?

great tool btw!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions