GithubHelp home page GithubHelp logo

Comments (8)

wanghe-fit2cloud avatar wanghe-fit2cloud commented on June 21, 2024 1

@wanghe-fit2cloud

密码中确定存在$, 1panel中密码输入框中存在不合法字符的校验, 我这边无法确定操作,也就无法添加仓库了。
在linux终端中含有$的密码是可login success的。
这块是否可以去除对$的校验 或者 有其他临时办法

去除 $ 字符的校验会存在命令注入的风险,因此目前你先尝试手动修改一下仓库密码。

from 1panel.

wanghe-fit2cloud avatar wanghe-fit2cloud commented on June 21, 2024

感谢反馈,上述校验是为了防止后端命令注入添加的。

发一下密码包含的所有特殊字符。

from 1panel.

georgeJzzz avatar georgeJzzz commented on June 21, 2024

感谢反馈,上述校验是为了防止后端命令注入添加的。

发一下密码包含的所有特殊字符。

我这边密码特殊字符有【#$】

from 1panel.

wanghe-fit2cloud avatar wanghe-fit2cloud commented on June 21, 2024

$ 字符被拦截了,由于涉及到 docker 命令的执行,所以只能考虑将仓库密码种包含的 $ 去掉,之后再来添加仓库。

from 1panel.

georgeJzzz avatar georgeJzzz commented on June 21, 2024

@wanghe-fit2cloud

密码中确定存在$, 1panel中密码输入框中存在不合法字符的校验, 我这边无法确定操作,也就无法添加仓库了。
在linux终端中含有$的密码是可login success的。
这块是否可以去除对$的校验 或者 有其他临时办法

from 1panel.

georgeJzzz avatar georgeJzzz commented on June 21, 2024

@wanghe-fit2cloud
密码中确定存在$, 1panel中密码输入框中存在不合法字符的校验, 我这边无法确定操作,也就无法添加仓库了。
在linux终端中含有$的密码是可login success的。
这块是否可以去除对$的校验 或者 有其他临时办法

去除 $ 字符的校验会存在命令注入的风险,因此目前你先尝试手动修改一下仓库密码。

明白了,非常感谢。

from 1panel.

georgeJzzz avatar georgeJzzz commented on June 21, 2024

再次叨唠,这边修改密码有点繁琐,有临时改文件的方法使得可以确定登录仓库吗?

感谢 ~

from 1panel.

wanghe-fit2cloud avatar wanghe-fit2cloud commented on June 21, 2024

再次叨唠,这边修改密码有点繁琐,有临时改文件的方法使得可以确定登录仓库吗?

感谢 ~

docker 仓库密码是存储在数据库中,手动修改失败状态的仓库密码也是不可行的,因为创建、编辑仓库都需要用户手动输入用户密码

from 1panel.

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.