Git Product home page Git Product logo

Comments (4)

diego-treitos avatar diego-treitos commented on August 16, 2024

I would need to know in what linux systems that error is appearing.

from linux-smart-enumeration.

robertstrom avatar robertstrom commented on August 16, 2024

I just experienced the same issue and can tell you that it was on:

CentOS release 5.6 (Final)
Linux version 2.6.18-238.12.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Tue May 31 13:23:01 EDT 2011

It looked like the first screenshot above. Yes, it's ancient but it is an OSCP system and I can tell you that I very recently experienced an interaction with a very old HPUX system that would probably behave similarly or worse (I have not had the opportunity to use the script on it (I may .. maybe get to do so in the next week or so).

I also tried using the -c argument which I would have thought would have gotten rid of all of the color code characters, but it did not.

from linux-smart-enumeration.

diego-treitos avatar diego-treitos commented on August 16, 2024

Thank you for reporting this @robertstrom . I have checked in a CentOS 5.6 and I could reproduce the problem. There are actually 2 separate problems:

  1. The -c option not working. I have fixed this and the next release (4.9nw) will have the patch.
  2. The color not working is due to the printf function in the sh shell does not support ANSI codes. This is solved if you execute the script with bash lse.sh to force the use of bash and its printf version.

I am closing this as this should solve the problems. Please feel free to reopen if you find any additional information.

from linux-smart-enumeration.

brightio avatar brightio commented on August 16, 2024

Hello, I made a pull request that fixes this issue (#82).

from linux-smart-enumeration.

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.