Running a script file on victims box. – Digitalmunition




Home Forums Running a script file on victims box.

This topic contains 1 reply, has 2 voices, and was last updated by  grublets 1 month ago.

  • Author
    Posts
  • #321826

    anonymous
    Participant

    I have a linux vm im trying to do some privesc on and I’ve transferred a script called LinEnum which is just a massive script for the lazy pentester. The script when ran on my local kali box runs fine but it will not run on the victim box, I have given executable rights and it’s in the /tmp dir as this is the only place that I www-data have permission to write to. when I run it nothing happens.

    Any ideas guys?

    EDIT:

    Turns out /tmp isn’t mount executable…

    Does any of these SUID binaries look exploitable?

    ​

    https://preview.redd.it/dwioo22fftu51.png?width=517&format=png&auto=webp&s=532caa324bd836cf06d3b611faea03bc3c1ce8b8

  • #321827

    grublets

    Is /tmp mounted noexec?

You must be logged in to reply to this topic.