file transfer

This commit is contained in:
2026-07-16 14:30:36 +05:30
parent 80e1bd8e3a
commit b9aeedc5ef
10 changed files with 1388 additions and 82 deletions

6
set_strict.py Normal file
View File

@@ -0,0 +1,6 @@
import urllib.request, json
from pymongo import MongoClient
db = MongoClient('mongodb://localhost:27017')['rmm_db']
db.config.update_one({'_id': 'agent_auth'}, {'$set': {'mode': 'strict'}}, upsert=True)
print("Set to strict")