Skip to content

Dangerous behavior to keep user and password in a command instead of a protected secret file #8

Open

Description

@sub3stinger

Since
AUTH="--user=${USERNAME} --password=${PASSWORD}"
will expose the user and password information in the system by ps and in the command history, strongly suggested to rewrite related code by using wgetrc or other ways for downloading the files in the data hubs.
Especially for those large files, the user and password is visible through easy ps ax | grep wget which is very dangerous.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions