Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@warren-bank/dash-to-hls
Advanced tools
Node.js server to convert DASH video stream manifests to HLS
&dump=1
&VOD=1
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-ENDLIST
MPD@type="dynamic"
&playlist=bandwidth
&group_type=(AUDIO|SUBTITLES)&group_id=id&group_lang=lang&group_index=0
npm install --global "@warren-bank/dash-to-hls"
dash-to-hls [--help] [--version] [--tls] [--host <ip_address>] [--port <number>] [--req-headers <filepath>] [--origin <header>] [--referer <header>] [--useragent <header>] [--header <name=value>] [--req-options <filepath>] [--req-secure-honor-server-cipher-order] [--req-secure-ciphers <string>] [--req-secure-protocol <string>] [--req-secure-curve <string>] [-v <number>] [--acl-whitelist <ip_address_list>]
print help
dash-to-hls --help
print version
dash-to-hls --version
start HTTP server at default host:port
dash-to-hls
start HTTP server at default host and specific port
dash-to-hls --port "8080"
start HTTP server at specific host:port
dash-to-hls --host "192.168.0.100" --port "8080"
start HTTPS server at default host:port
dash-to-hls --tls
start HTTPS server at specific host:port
dash-to-hls --tls --host "192.168.0.100" --port "8081"
start HTTPS server at default host:port and send specific HTTP headers
dash-to-hls --tls --req-headers "/path/to/request/headers.json"
192.168.0.100
8080
80
443
tls.createSecureContext(options)
honorCipherOrder
false
ciphers
secureProtocol
"TLS_method"
ecdhCurve
tls.DEFAULT_ECDH_CURVE
"prime256v1"
"auto"
{honorCipherOrder: true}
{ciphers: value}
{secureProtocol: value}
{ecdhCurve: value}
-1
:
0
(default):
1
:
2
:
3
:
"192.168.1.100,192.168.1.101,192.168.1.102"
git
Repogit clone "https://github.com/warren-bank/DASH-to-HLS.git"
cd "DASH-to-HLS"
npm install
# ----------------------------------------------------------------------
# If using a port number >= 1024 on Linux, or
# If using Windows:
# ----------------------------------------------------------------------
npm start [-- [--help] [--version] [--tls] [--host <ip_address>] [--port <number>] [--req-headers <filepath>] [--origin <header>] [--referer <header>] [--useragent <header>] [--header <name=value>] [--req-options <filepath>] [--req-secure-honor-server-cipher-order] [--req-secure-ciphers <string>] [--req-secure-protocol <string>] [--req-secure-curve <string>] [-v <number>] ]
# ----------------------------------------------------------------------
# https://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html
#
# Linux considers port numbers < 1024 to be privileged.
# Use "sudo":
# ----------------------------------------------------------------------
npm run sudo [-- [--help] [--version] [--tls] [--host <ip_address>] [--port <number>] [--req-headers <filepath>] [--origin <header>] [--referer <header>] [--useragent <header>] [--header <name=value>] [--req-options <filepath>] [--req-secure-honor-server-cipher-order] [--req-secure-ciphers <string>] [--req-secure-protocol <string>] [--req-secure-curve <string>] [-v <number>] ]
print help
npm start -- --help
start HTTP server at specific host:port
npm start -- --host "192.168.0.100" --port "8080"
start HTTPS server at specific host:port
npm start -- --host "192.168.0.100" --port "8081" --tls
start HTTP server at default host:port with escalated privilege
npm run sudo -- --port "80"
start HTTPS server at default host:port with escalated privilege
npm run sudo -- --port "443" --tls
start HTTP server at specific port and send custom request headers
headers_file="${TMPDIR}/headers.json"
echo '{"Origin" : "http://XXX:80", "Referer": "http://XXX:80/page.html"}' > "$headers_file"
npm start -- --port "8080" --req-headers "$headers_file"
headers_file="${TMPDIR}/headers.json"
echo '{"Origin" : "http://XXX:80", "Referer": "http://XXX:80/page.html"}' > "$headers_file"
npm start -- --port "8081" --req-headers "$headers_file" --tls -v 1
h_origin='http://XXX:80'
h_referer='http://XXX:80/page.html'
h_useragent='Chromium'
h_custom_1='X-Foo: 123'
h_custom_2='X-Bar: baz'
npm start -- --port "8081" --origin "$h_origin" --referer "$h_referer" --useragent "$h_useragent" --header "$h_custom_1" --header "$h_custom_2" --tls -v 1
FAQs
Node.js server to convert DASH video stream manifests to HLS
The npm package @warren-bank/dash-to-hls receives a total of 0 weekly downloads. As such, @warren-bank/dash-to-hls popularity was classified as not popular.
We found that @warren-bank/dash-to-hls demonstrated a not healthy version release cadence and project activity because the last version was released 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.