Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

虚拟机版的系统配置接口出现编码错误了,不知道去哪里该 #24

Open
tao1tao opened this issue Nov 4, 2022 · 5 comments

Comments

@tao1tao
Copy link

tao1tao commented Nov 4, 2022

image
通过查询是需要配置utf-8

@tao1tao
Copy link
Author

tao1tao commented Nov 4, 2022

需要数据库密码,改一下编码配置

@iamyates
Copy link

iamyates commented Feb 3, 2023

同问, 在配置 VT token的时候出现了问题。

建议把README好好修改一下, 具体的用法和配置都没有。有点简陋啊。 最好再来个英文版的README

@iamyates
Copy link

iamyates commented Feb 3, 2023

我也遇到这个问题,解决了。 我是直接下载的虚拟机,无法运行。

  1. 打开虚拟机, 用户名root, password rootroot 登录本机mysql
  2. 运行下面的SQL命令:
mysql> use Apollo;

然后


ALTER TABLE Apollo.Assets_assetlist CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.Assets_assetlist CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.Assets_assettask CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.Assets_assettask CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.BruteScan_bruteregister CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.BruteScan_bruteregister CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.BruteScan_bruteresult CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.BruteScan_bruteresult CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.BruteScan_brutetasks CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.BruteScan_brutetasks CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.Configuration_configuration CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.Configuration_configuration CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.Configuration_services CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.Configuration_services CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.Configuration_serviceslog CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.Configuration_serviceslog CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.GithubScan_githubscanresult CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.GithubScan_githubscanresult CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.GithubScan_githubscantask CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.GithubScan_githubscantask CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.PathScan_pathscanresult CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.PathScan_pathscanresult CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.PathScan_pathscantask CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.PathScan_pathscantask CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.VulnerableScan_exploitregister CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.VulnerableScan_exploitregister CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.VulnerableScan_vulnerablescanresult CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.VulnerableScan_vulnerablescanresult CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.VulnerableScan_vulnerablescantasks CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.VulnerableScan_vulnerablescantasks CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.auth_group CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.auth_group CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.auth_group_permissions CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.auth_group_permissions CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.auth_permission CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.auth_permission CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.auth_user CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.auth_user CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.auth_user_groups CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.auth_user_groups CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.auth_user_user_permissions CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.auth_user_user_permissions CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.django_admin_log CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.django_admin_log CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.django_content_type CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.django_content_type CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.django_migrations CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.django_migrations CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE Apollo.django_session CHARACTER SET utf8 COLLATE utf8_general_ci;   ALTER TABLE Apollo.django_session CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;

@f1resky
Copy link

f1resky commented Feb 3, 2023

已成功,感谢师傅 @iamyates

@XingXiaoWu

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants