Giter VIP home page Giter VIP logo

Comments (8)

SuperYoko avatar SuperYoko commented on May 30, 2024 1

Yes, it may leak user info. What's the behavior of other shells?

Other shells? Do you mean that nebula-console behave different in different shell?
Does it rely on any function of shells?

I'll try zsh and on windows powershell/cmd and give a report if you think it's necessary.

from nebula-console.

jievince avatar jievince commented on May 30, 2024

Yes, it may leak user info.
What's the behavior of other shells?

from nebula-console.

jievince avatar jievince commented on May 30, 2024

Yes, I wonder what the behaviour of zsh,bash and other database's console

from nebula-console.

SuperYoko avatar SuperYoko commented on May 30, 2024

Yes, I wonder what the behaviour of zsh,bash and other database's console

Tested, zsh's behavior is the same as bash's.

from nebula-console.

jievince avatar jievince commented on May 30, 2024

Yes, it may leak user info. What's the behavior of other shells?

Other shells? Do you mean that nebula-console behave different in different shell? Does it rely on any function of shells?

I'll try zsh and on windows powershell/cmd and give a report if you think it's necessary.

Sorry, I didn't make it clear. Actually, I want to know what is the difference between nebula-console and other databases console or other shells in recording historical commands that contain passwords.

from nebula-console.

jievince avatar jievince commented on May 30, 2024
  1. nebula-console;
  2. other database's console: MySQL, neo4j's console;
  3. linux shell: bash, zsh;

from nebula-console.

SuperYoko avatar SuperYoko commented on May 30, 2024
  • other database's console: MySQL, neo4j's console;

Get it.

  1. "nebula-console" will show history (include command with password) to any user loged in.
  2. Mysql will filter out user create command. Maybe we should consider more command that may leak info(username, password, table/graph name, etc.)
  3. Both linux shell will only show history of current users' past login, most password is asked after command and will not record, some inline password will leak from current user's history, while users can manually remove it.

Neo4j not deployed now, will try that later.

from nebula-console.

HarrisChu avatar HarrisChu commented on May 30, 2024

image

As we save the history in file, user can read the password in file directly.
same behavior with mycli.

from nebula-console.

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.