peass-ng / PEASS-ng

PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)
https://book.hacktricks.xyz
Other
16.14k stars 3.11k forks source link

LinPeas Error: peass{VARIABLES}: not found #310

Closed Billhazoide closed 2 years ago

Billhazoide commented 2 years ago

If you are going to suggest something, please remove the following template.

Issue description

LinPeas is giving the error appears "./linpeas.sh: 465: ./linpeas.sh: peass{VARIABLES}: not found", and stop the process.

Steps to reproduce the issue

  1. Tryhackme Basic Pentest Room (https://tryhackme.com/room/basicpentestingjt)
  2. Upload linpeas.sh to the remote machine via SSH in the folder /dev/shm/
  3. Make executable with command "chmod +x linpeas.sh" and execute

    OBS: I tried using Kali LTS version and Depin 20.6 (My host), target machine Ubuntu 5.4.0-6 (16.04.9)

Capturar_select-area_20220903182702

carlospolop commented 2 years ago

Hi @Billhazoide, Which linpeas.sh are you using?

Billhazoide commented 2 years ago

Hi!, I'm using the latest version, i believe, 2.6.8.

carlospolop commented 2 years ago

Hi @Billhazoide, I don't know where you got a linpeas.sh that triggers that error or where did you see that version (that kind of versions aren't used in this projects for years), but the releases of linpeas and winpeas are in https://github.com/carlospolop/PEASS-ng/releases/latest Downloading it from there should fix that error