Giter VIP home page Giter VIP logo

Comments (6)

pyhoff avatar pyhoff commented on August 20, 2024 2

Script uses standard TMPDIR, it is not writable by account you are using. You need to find a writable path and change/create the
TMPDIR environmental variable.

find a writable path:
find . -writable

Change TMPDIR environmental variable to this path:
export TMPDIR=/new/writbl/path

runscript

from linux-exploit-suggester.

noraj avatar noraj commented on August 20, 2024

Don't you think it's more intuitive & natural to work in the current directory?
Even if working in tmpdir is more "stealth" and has more chance to work.

from linux-exploit-suggester.

mzet- avatar mzet- commented on August 20, 2024

@noraj, LES is using heredocs all over the places. Herdocs in Bash (and most other shells) are implemented through creation of temporary files in /tmp. So if your /tmp is not writable then IMO there's no easy workaround for this.

from linux-exploit-suggester.

noraj avatar noraj commented on August 20, 2024

So I should do TMPDIR=$(pwd) bash les.sh instead?

from linux-exploit-suggester.

mzet- avatar mzet- commented on August 20, 2024

Not sure if it works - try it. Also you can grab the output of uname -a command on your target and then run LES on your other machine: les.sh --uname <uname-string>. This is not ideal (as it does not conduct some additional checks) but it's better than nothing.

from linux-exploit-suggester.

noraj avatar noraj commented on August 20, 2024

I don't have access to this machine anymore, let's close this.

from linux-exploit-suggester.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.