How maeking/geospy works
GeoSpy is a Python web service and browser-side monitoring panel presented as an OSINT research tool. The main documented flow is operator configuration and launch, server startup, browser-side collection, server-side recording, and panel review. Sampled source confirms the CLI-to-server and Flask/database relationships; the README describes additional capabilities whose wiring is not visible in the excerpts, so those links are marked unverified. The browser scripts and terminal-color support are shown as product/runtime components, not a deployment map.
Main entry points: user.py Visitor routes · geospy.py GeoSpy controller · stats.py Panel API · sockets.py Socket service
Components 22
Launch and control
- CLI launcher
geospy.py - GeoSpy controller
core/geospy.py
Web service
- Panel API
core/stats.py - Visitor routes
core/user.py - Socket service
core/sockets.py - Public tunnel
core/ngrok.py
Collection and storage
- SQLite database
core/db.py - Visitor data models
core/user_objects.py - Network scanning
core/utils.py
Browser capabilities
- Browser monitoring
static/js/GeoSpy.js - Browser base scripts
static/js/base.js - Injection scripts
static/js/inject.js - Collection payload
static/js/payload.js - Visitor script
static/js/vscript.js - Panel login
static/js/login.js
Runtime support
- URL client
core/dependence/urllib2.py - ANSI codes
core/colorama/ansi.py - ANSI conversion
core/colorama/ansitowin32.py - Windows terminal
core/colorama/winterm.py - Windows console API
core/colorama/win32.py - Color initialization
core/colorama/initialise.py
Other components
- Operator
Connections 26
- Operator → CLI launcher: starts
README.md - CLI launcher → GeoSpy controller: loads
geospy.py - CLI launcher → SQLite database: initializes
geospy.py - GeoSpy controller → Socket service: starts
core/geospy.py - Socket service → Visitor routes: uses
core/sockets.py - Socket service → SQLite database: uses
core/sockets.py - Socket service → Panel API: uses
core/sockets.py - Visitor routes → Visitor data models: creates records
core/user.py - Visitor routes → SQLite database: stores data
core/user.py - Visitor routes → Panel API: uses statistics
core/user.py - Panel API → SQLite database: queries
core/stats.py - GeoSpy controller → URL client: uses
core/geospy.py - GeoSpy controller → Public tunnel: uses
core/geospy.py - GeoSpy controller → Network scanning: uses
core/geospy.py - Operator → Panel API: reviews activity
README.md - Browser monitoring → Visitor routes: reports visitor data
README.md - Collection payload → Visitor routes: sends collected data
README.md - Injection scripts → Visitor routes: supports injection
README.md - Visitor script → Visitor routes: supports hooks
README.md - Panel login → Panel API: authenticates
README.md - GeoSpy controller → Public tunnel: publishes service
README.md - ANSI conversion → ANSI codes: uses codes
core/colorama/ansitowin32.py - ANSI conversion → Windows terminal: calls terminal
core/colorama/ansitowin32.py - ANSI conversion → Windows console API: checks API
core/colorama/ansitowin32.py - Windows terminal → Windows console API: calls console API
core/colorama/winterm.py - Color initialization → ANSI conversion: initializes
core/colorama/initialise.py