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.
Easy and fast tool written in python 3 to get info about running ngrok tunnel. Supports HTTPS and TCP
python3 -m pip install ngrok_info
Add this to your script:
import ngrok_info
ngrok_info.get()
Now, if you run it, you will see output with some info. If ngrok is not running on your computer, it will output error. After you run it, you can acess the info as variables too!
If you are using config file to specify the tunnel preset, use ngrok_info.get("TUNNEL_NAME")
(Replace TUNNEL_NAME with your tunnel name. Please do not remove the quotation marks.)
If you do not want to print output, but only variables, use ngrok_info.get_notext()
If the tunnel is TCP, you have access these variables: ngrok_info.tnl_name
, ngrok_info.tnl_type
, ngrok_info.address
, ngrok_info.ip
and ngrok_info.port
.
With https tunnel, you can acess these variables: ngrok_info.tnl_name
, ngrok_info.tnl_type
, ngrok_info.address
and ngrok_info.ip
.
⚠️ The ngrok_info.get()
and ngrok_info.get_notext()
functions do not return anything when executed! ⚠️
Do you want to be reminded to update the package?
Run ngrok_info.allow_update()
RIGHT AFTER importing the package.
python3 -m pip uninstall ngrok-info
Do you like this? Hit that ⭐!
Use the star button as way to show us, that it works
Forks and pull requests are welcome of course
FAQs
Easy and fast tool written in python 3 to get info about running ngrok tunnel
We found that ngrok-info 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.