How to use the Code Anti-leakage tool in Network Security
This article mainly introduces how to use the code anti-disclosure tool in network security, which is very detailed and has a certain reference value. Friends who are interested must read it!
X-patrol
Docker installation
# dockerfileFROM ubuntu:14.04ENV GOAPTH / opt/goRUN apt update-yRUN apt install-y wget golang mysql-server git RUN cd / opt & & git clone https://github.com/MiSecurity/x-patrol.git & & cd x-patrol & & wget https://github.com/MiSecurity/x-patrol/releases/download/0.3/x-patrol_linux_amd64RUN service mysql start & & mysql- e "create database xsec;GRANT ALL PRIVILEGES ON *. * TO 'root'@'%' IDENTIFIED BY' root' WITH GRANT OPTION;use mysql UPDATE user SET Password=PASSWORD ('123456') WHERE User='root' AND Host='localhost';flush privileges "RUN mv / opt/x-patrol / opt/x & & mv / opt/x/x-patrol_linux_amd64 / opt/x/run & & chmod + x / opt/x/runCOPY app.ini / opt/x/conf/app.iniENTRYPOINT service mysql start & & cd / opt/x/ & &. / run web#app.iniHTTP_HOST = 0.0.0.0HTTP_PORT = 8000MAX_INDEXERS = 2DEBUG_MODE = trueREPO_PATH = reposMAX_Concurrency_REPOS = 1 [database] Support sqlite3, mysql, postgresDB_TYPE = mysqlHOST = 127.0.0.1PORT = 3306NAME = xsecUSER = rootPASSWD = 123456 SSL_MODE = disablePATH = data
According to other people's tutorials, it cannot be detected.
Hawkeye
Docker start
Docker run-ti-p 80:80-e MONGODB_URI=mongodb://ip:27017-it hawkeye
Started successfully
Add a monitoring item
The above is all the contents of this article entitled "how to use Code Anti-leakage tools in Network Security". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!