Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the Code Anti-leakage tool in Network Security

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)05/31 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report