Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
This program checks the expiration date of an ssl certificate. First set the url param that should contain the url address of a domain. The program returns a message and a status code based on a measurement result.
# using pip
pip install sslexp
# or if you are running multiple versions of python such as 2.7.x and 3.x
pip3 install sslexp
# from source using git clone
git clone https://github.com/patrikskrivanek/ssl_expiration.git
# from source using wget
wget https://github.com/patrikskrivanek/ssl_expiration/blob/master/sslexp
Argument | Description | Data type | Required |
---|---|---|---|
--url | URL of an ssl certificate for check | string | yes |
--warning | Number of days for warning output | integer | no [default: 30] |
--critical | Number of days for critical output | integer | no [default: 20] |
--port | SSL port | integer | no [default: 443] |
--timeout | Timeout in seconds for check | integer | no [default: 3] |
--output | Output format (text, json, nagios) | string | no [default: text] |
--version | Show program version | optional | |
-h --help | Show program help and usage | optional |
Status | Exit code |
---|---|
STATE_OK | 0 |
STATE_WARNING | 1 |
STATE_CRITICAL | 2 |
STATE_UNKNOWN | 3 |
# check an ssl cert of github
sslexp --url github.com
# check the cert with your own warning and critical params
sslexp --url github.com --warning 5 --critical 3
# check the ssl certificate on specific port
sslexp --url website.com --port 8085
# check the ssl cert with timeout
sslexp --url website.com --timeout 5
# check the ssl cert with specific output
sslexp --url website.com --output json
# show program help
sslexp --help
# show program version
sslexp --version
FAQs
A Python utility for checking states of ssl certificates
We found that sslexp 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.