
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
smartbear-tunnel-python
Advanced tools
A Python package for automating the Smartbear SecureTunnel
pip install smartbear-tunnel-python
SmartbearTunnel()
(type: SmartbearTunnel): returns an instance of the SmartbearTunnel class
Arguments:
name
(type: str): for naming your tunnel, this enables you to run multiple tunnels in paralleldirectory
(type: str): path to files that should be statically hosted by the tunnelproxyIp
(type: str): the ip/host of a proxy server to use with the tunnelproxyPort
(type: int): the port of a proxy server to use with the tunnelbypass
(type: bool): whether to bypass the tunnel for public traffic - defaults to True, may speed up traffic when usedverbose
(type: bool): for debugging the tunnel client, enables verbose logging to stdoutSmartbearTunnel.tunnel_id
(type: str): the tunnel ID corresponding with your active tunnelSmartbearTunnel.tunnel_type
(type: str): the type of tunnel generated by the clientSmartbearTunnel.run()
: starts an active tunnel, must be called to startSmartbearTunnel.is_active()
(type: bool): queries whether the current tunnel is still activeSmartbearTunnel.stop()
: stops the active tunnelYou can authenticate by passing your username and authorization key when creating the SmartbearTunnel:
tunnel = SmartbearTunnel(username='myusername', authkey='myauthkey')
You can also use the environment variables:
from bash...
export SMARTBEAR_USERNAME=myusername
export SMARTBEAR_AUTHKEY=myauthkey
python test.py
from test.py...
tunnel = SmartbearTunnel()
This package currently only works for CrossBrowserTesting but will work for Bitbar in the future.
SMARTBEAR_USERNAME=<TESTING_USERNAME> SMARTBEAR_AUTHKEY=<TESTING_AUTHKEY> python -m unittest tests/test_smartbear_tunnel.py
FAQs
A Python package for automating the Smartbear SecureTunnel
We found that smartbear-tunnel-python 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.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.