- Scans the provided directory
- Extracts Windows Metadata & TCP Information
- Inserts Data to MongoDB
-
Setup The Python Environment
$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt
-
Add MongoDB SRV URL To Environment Variables
$ export MONGO_SRV_URL="mongodb+srv://<....>"
-
Updated Directories_To_Run.json
-
Run TCP_Tool.py
$ python3 TCP_Tool.py
- Make sure owners are now showing on network drive.
- Do the Below.
TCP_MONGO = FILE_Mongo("tcp")
everyoneOwnerFiles = TCP_MONGO.get_everyone_owner()
for file in everyoneOwnerFiles:
process_single_file(file, Update=True)