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.
altf1be-sca-tork-easycube-api
Advanced tools
Wrapper for python developers to connect to SCA Tork EasyCube API built by www.alt-f1.be
Helpers for SCA Tork Easycube API facilitating the collection of data generated by the dispensers Built by http://www.alt-f1.be.
See https://bitbucket.org/altf1be/com_torkglobal_easycube_fm
Author: Abdelkrim BOUJRAF, http://www.alt-f1.be
cd web; ./run_web.sh
http://0.0.0.0:8000/api/dispensers/sca_tork_easycube/
Display actions required per dispenser:
export SCA_TORK_EASYCUBE_CLIENT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export SCA_TORK_EASYCUBE_CLIENT_SECRET=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
export SCA_TORK_EASYCUBE_GRANT_TYPE=client_credentials
export SCA_TORK_EASYCUBE_SCOPE=EasyCube.External.Api
export SCA_TORK_EASYCUBE_BASE_URL=https://easycube-external-api-web-c2m2jq5zkw6rc.azurewebsites.net
pip install -r requirements.txt
from dotenv import load_dotenv
load_dotenv()
python
import altf1be_sca_tork_easycube_api
print(dir(altf1be_sca_tork_easycube_api))
# ['AltF1BeHelpers', 'AltF1BeJSONHelpers', 'DISPENSER_TYPE_NOT_FOUND', 'Dispensers', 'DispensersModel', 'ERROR_UNKNOWN', 'SCATorkEasyCubeAPI', 'SCATorkEasyCubeAPIAuthentication', 'SCATorkEasyCubeAPIHelpers', 'STATUS_UNKNOWN', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'credentials_filename', 'datetime', 'dispensers', 'dispensers_model', 'glob', 'json', 'load_dotenv', 'log_filename', 'logger', 'logging', 'np', 'os', 'pd', 'requests', 'sca_tork_easycube_api', 'sca_tork_easycube_api_authentication', 'sca_tork_easycube_api_helpers', 'sys', 'time', 'timezone']
install the package on pypi.org :
pip install altf1be_sca_tork_easycube_api
pip install altf1be_sca_tork_easycube_api --upgrade
install the package on test.pypi.org :
pip install -i https://test.pypi.org/simple/altf1be_sca_tork_easycube_api
pip install -i https://test.pypi.org/simple/altf1be_sca_tork_easycube_api --upgrade
build the setup.py
python3 setup.py sdist bdist_wheel
python3 -m pip install --user --upgrade twine --use-feature=2020-resolver
upload the library on TEST pypi.org
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
upload the library on PROD pypi.org
python -m twine upload dist/*
Copyright (c) ALT-F1 SPRL, Abdelkrim BOUJRAF. All rights reserved.
This project IS NOT open sourced BUT the source code is freely available
See LICENSE in the project root for license information.
FAQs
Wrapper for python developers to connect to SCA Tork EasyCube API built by www.alt-f1.be
We found that altf1be-sca-tork-easycube-api 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.