개발 세션 - 최종 Process Test

goldenGlow_21·2024년 12월 20일
0

기능 점검

  • 도커 컴포즈
  • 이후 도커 컨테이너 잘 도는지 확인

docker-compose up -d

  • MongoDB 확인
  • MongoSh 사용
  • mongodb://mongo1:30001 주소로 접속
  • 레플리카 세트 활성화
rs.initiate({
  _id: "my-rs",
  members: [
    { _id: 0, host: "mongo1:30001" },
    { _id: 1, host: "mongo2:30002" },
    { _id: 2, host: "mongo3:30003" }
  ]
});
  • 레플리카 세트 상태 확인

rs.status();

  • 이후 문제 없다면 main.py 실행시켜 log 검사
  • 약 1시간 내외 소요 예상

결과

OSINT

Dark Web



2차 테스트

OSINT

Dark Web



  • 전부 정상 작동
  • Github은 토큰 안 넣어서 안 들어옴

프론트 통합 테스트


문서화 - System Architecture

문서화 - README

Overview

This project is a Dark Web and OSINT Data Monitoring System that continuously collects, processes, and alerts critical information from various sources, such as darknet forums and OSINT feeds. By leveraging automation, the system integrates web crawling, data analysis, and real-time monitoring, storing the results in a MongoDB database and providing timely alerts via email and Discord notifications.


Key Feature

  • Real-Time Data Collection: The system employs multiple crawlers to collect data from OSINT and Dark Web leak sources, accessed via Tor (9050 proxy).
  • Database Management: MongoDB serves as the central storage for all collected data, utilizing separate collections for each crawler source.
  • Change Monitoring: DB streams monitor updates and trigger email or Discord alerts for timely notifications.
  • User Access: A Flask web interface allows users to search and fetch the latest information stored in the database.
  • Scalable & Automated: The entire system can be deployed and managed with Docker Compose, enabling seamless integration and execution.

Notes

  • Data Segregation: Collected data is stored in different collections depending on the crawler source.
  • Proxy Security: Tor (9050) is used to access Dark Web sites securely and anonymously.
  • Alert System: Real-time alerts are sent via email and Discord upon detecting DB updates or new entries.

Guide For Operation

  1. Navigate to the Project directory:
~/.../darkweb_and_osint_viewer
  1. Use generate_configs.py to config. your Token settings. Answering following questions will automatically set config files for each crawlers and alarm utils.
./generate_configs.py
  1. After configuring Token info ends, use Docker Compose:
docker-compose up -d
  1. You can then access localhost:5000 to view Web Page displaying DB's components.
localhost:5000
  1. Enjoy!

Tech. Stack Info

  • Backend: Python (Flask, asyncio)
  • Database: MongoDB (Replica Set)
  • Web Crawling: Playwright, BeautifulSoup
  • Proxy: Tor (9050 SOCKS5)
  • Containerization: Docker Compose
  • Alerts: Email and Discord Integration
  • Frontend: HTML (Flask templates)
profile
안드로이드는 리눅스의 꿈을 꾸는가

0개의 댓글