Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A simple Python lib for manage remote server configuration.
pip install rtconfig
You can start server directly by single process.
python -m rtconfig.server
Command options:
Create a new python module conf.py
, then write code like this:
from rtconfig import RtConfigClient
client = RtConfigClient('demo',ws_url='ws://127.0.0.1:8089',config_module=globals())
So, you can use real time configuration like this:
conf.config_name
You can create service.py
python config file, And add file path to params --config=services.py
.
Configuration options:
config name | type | default | description |
---|---|---|---|
DEBUG | bool | false | debug mode |
MAX_CONNECTION | int | 1024 | max client connections |
STORE_TYPE | string | json_file | data store type |
BROKER_URL | string | data store broker url | |
LOGIN_DISABLED | bool | false | server disable login |
OPEN_CLIENT_AUTH_TOKEN | bool | false | data store broker url |
json_file
BROKER_URL = "~/rtconfig" (默认可不填)
redis
BROKER_URL = "redis://127.0.0.1:6379/0"
mongodb
BROKER_URL = "mongodb://127.0.0.1:27017/demo?connect=false"
rtconfig
not support multiprocess deploy now.FAQs
A simple python real-time remote configuration framework.
We found that rtconfig demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.