- Nodejs
- TypeScript
- PostgreSql
- Redis
- Nginx
- Check status website from host
- Check status website from multiple hosts
- Check status website from hosts of the others ADSL providers
- Detect expired domain or hacked domain
- Detect trojans "coinhive" (which is poison script support illegal coin miner)
- Trace action of account, send to user email
-
Install Nginx and PostgreSQL
-
Install Nodejs
-
Install Redis
-
Clone source code:
git clone https://github.com/Dohuy/botnet.git
-
Migrate database:
psql -U postgres -h localhost < botnet/data/store/migrate/db.psql
node botnet/utils/crawlGatherProxy/crawlGatherProxy.js
node botnet/utils/crawlGatherProxy/insertToDb.js
node botnet/utils/crawlGatherProxy/updateDetails.js (press Ctrl+Z)
-
Config Nginx
-
server { listen 80; `# root /var/www/example.com;` `# index index.html;` location / { proxy_pass "http://127.0.0.1:8080"; } }``
sudo ln -s app.vnist.vn ../sites-enable/
node botnet/server.js & (sau đó ấn Ctrl+C)
systemctl restart nginx
-