Posts

This setup allows you to continuously run the backend service, and every time you make a curl request, it performs the search and returns only the summary information

MongoDB Search Using Flask API Creating a MongoDB Search API Using Flask This post will guide you through setting up a Flask API to search through MongoDB collections based on a search string and return a summary of the results. Step 1: Setting Up the Flask API Create a Python script that sets up the Flask API and connects to MongoDB: Copy code from flask import Flask, request, jsonify from pymongo import MongoClient import re # MongoDB connection settings MONGO_URI = "mongodb://localhost:27017/" DB_NAME = "security_logs" # List of collections to search collections = [ "AlienVaultBlockedIPs", "AlienVaultIDSBlockedIPs", "CSFDenyLogs", "DDoSBlockedIPs", "IDSBlockedIPs", "maliciousDNSBlockedIPs", "OpenRestyAccessLogs", "OpenRestyErrorLogs", "SuricataFullFastLog", ...

YouTube Videos for Building Secure Web Gateway using OpenResty

 Refer my YouTube Channel link, https://www.youtube.com/channel/UCGBFp1bwadxjrA-MgwD2rTA having titles  Secure Web Gateway Part 1 to X in Tamil Keep Learning!!!

Refer Google Drive Links for YouTube Secure Web Gateway Part 1 to X in Tamil Learners

 Secure Web Gateway Part 8 in Tamil https://drive.google.com/file/d/1wKeGNnmGhzA7x_RUpdVUnAvhARMFjEV6/view?usp=sharing  Secure Web Gateway Part 9 in Tamil https://drive.google.com/file/d/1MYoPJij5qhOQIJpaMGniyhMGd2R0ZuCj/view?usp=sharing  Secure Web Gateway Part 10 in Tamil https://drive.google.com/file/d/1tkWrZjfmnzVycCL4S0zrkMIsxULahvxX/view?usp=sharing Secure Web Gateway Part 11 in Tamil https://drive.google.com/file/d/1_zrbY42YbcO-0zWgR7pSasKaC_x9icFU/view?usp=sharing Secure Web Gateway Part 12 in Tamil https://drive.google.com/file/d/1AG3d4pN9lCTVW1__s8Dy73UFVHdKUjzF/view?usp=sharing Secure Web Gateway Part 14 in Tamil https://drive.google.com/file/d/1_B3zqNoJn_bqCjBDQ_4mXM_F9LDsoQR9/view?usp=sharing Secure Web Gateway Part 15 in Tamil https://drive.google.com/file/d/1ewMvQkAd9MgkcaZMOgVeY-ceM_SGNmyD/view?usp=sharing Secure Web Gateway Part 16 in Tamil https://drive.google.com/file/d/1bbWTHwIgiuUj5QkGHUVzSWeyLh3IRbi0/view?usp=sharing Secure Web Gateway Part 17 in Tam...

Combination of https://ipapi.co/ , https://www.blacklistmaster.com/ and https://scamalytics.com/ for Web Application Security

Image
  https://ipapi.co/ , https://www.blacklistmaster.com/ and https://scamalytics.com/ Use case, For scripts/codes, refer, https://drive.google.com/file/d/1zxPAKQfNN9-Dga_oBbgDkmrzRpnF3Jez/view?usp=sharing For Support, support@ cybersecuritysolutions. raiseaticket.com

blacklistmaster.com Detection and Blocking for Web Application Security (Ubuntu 22.04 LTS)

  https://drive.google.com/file/d/1MEI-o2qRHXRSyfuXOZA9hhMBsYO2BvRN/view?usp=sharing For Support, support@ cybersecuritysolutions. raiseaticket.com

MongoDB Installation Ubuntu 22.04 LTS

https://drive.google.com/file/d/1OLBfJ6GpizGveXkhojzsAFV9aH-e-zNx/view?usp=sharing sudo apt-get install -y mongodb-mongosh For Support, support@ cybersecuritysolutions. raiseaticket.com Before Installation you have to do the below, wget  http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb sudo dpkg -i  libssl1.1_1.1.1f-1ubuntu2_amd64.deb sudo apt-get install -f dpkg -l | grep libssl1.1 Then, wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list sudo apt update sudo apt install -y mongodb-org sudo systemctl start mongod sudo systemctl status mongod sudo systemctl enable mongod

How to stop Linux Out-Of-Memory (OOM) Killer for NGINX

Image
  cat /proc/<MainPIDNumber>/oom_score OOMScoreAdjust =- 1000 systemctl daemon-reload systemctl restart nginx systemctl status nginx For Support, support@ cybersecuritysolutions. raiseaticket.com