LangSrcCurise asset monitoring system is an automated asset monitoring and management system that monitors its designated domain names through a network search engine and can collect and organize continuous information. It is developed based on Django.
链接:https://github.com/LangziFun/LangSrcCurise
System Configuration
- ubuntu server 18.04
If you are a cloud server, it should be the same system as me
Environment configuration
Demand environment:
python==3.6
mysql==8.0
nmap==7.8
django==2.1.1
-
Python
comes with python version 3.6.9 to meet the conditions#安装下pip apt install python3-pip # 配置软链接 cd /usr/bin ln -s pip pip3 # 修改pip3源 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U # 将 pip 升级到最新版本 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
-
nmap
one commandapt install nmap
-
django
one commandpip install django==2.1.1
-
mysql8 installation
参考链接:https://www.cnblogs.com/luoli-/p/9249769.html
Install LangSrcCurise
First git
look at the code
git clone https://github.com/LangziFun/LangSrcCurise.git
cd
Enter the clone directory and pip
install the environment
pip install -r ./requirement.txt
Modify the mysql configuration file
# 路径 /etc/mysql/mysql.conf.d
vim mysqld.cnf
service mysql restart
The modified screenshot is as follows:
text version:
[mysql]
default-character-set=utf8
[mysqld]
port=3306
character-set-server=utf8
default-storage-engine=InnoDB
max_connections=512
max_connect_errors=10
max_allowed_packet = 200M
log-error="xxx/error.log"
# 这里的日志输出自己修改路径
default_authentication_plugin=mysql_native_password
The next configuration LangSrcCurise
profile in the home directory config.ini
modify mysql login information file and to securitytrails
register the account to fill in their API
[Server]
host = 127.0.0.1
# mysql登陆的ip,linux下设置为localhost,也可以填写服务器远程IP
port = 3306
# mysql 端口
username = root
# mysql账号
password = root
dbname = LangSrcCurise
# 你要是用的数据库名字,数据库自动创建
[API]
securitytrails = PWOSUIBIANXIEDE886X
# https://securitytrails.com 注册,免费账户一个月可以查询50次
In the main directory LangSrcCurise folder, execute the following commands in sequence:
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser # 按照提示注册生成管理员账号密码
At this point, the installation is complete, run, scan refer to the author github instructions