The tmp file doesn’t exist after i clicked cancel

  • Cosmic Cleric
    link
    English
    11
    edit-2
    10 hours ago

    Confirm that you looked in “/bin/sh/tmp/” and not “/bin/sh /tmp” (notice the single space ’ ’ after the ‘h’).

    Ignore my previous comment, I was incorrect. Apologies. I had thought it was malware trying to look like something else, and that the who thing quoted was the single command, and not a command and an argument/parameter.

    • @andrewth09
      link
      5
      edit-2
      11 hours ago

      /bin/sh is the shell binary. The other part of that string is the argument being passed to the shell. The whole thing looks sus.

      • Cosmic Cleric
        link
        English
        5
        edit-2
        11 hours ago

        Reread what I wrote. There may be two subdirectories named ‘../tmp/’ on your machine.

        Edit: For anyone else, how do I type just two periods? When I do, it displays as an ellipsis, three periods.

        • @calamityjanitor
          link
          411 hours ago

          Surely the space is part of the command. It’s running sh with the file in /tmp as the parameter (run this file).

          • Cosmic Cleric
            link
            English
            2
            edit-2
            4 hours ago

            You’re right. I assumed the whole thing is a single command, and not a command with an argument/parameter. My bad.

            Didn’t realize ‘sh’ was a shortcut to bash in and of itself. Thought you had to mark a file as an executable, like “.sh” files.

            This comment is licensed under CC BY-NC-SA 4.0