GO-2022-0418 : Opened exploitable ports in default docker-compose.yaml in go-ipfs in github.com/ipfs/go-ipfs
Discover Packages
github.com/ipfs/go-ipfs
assets
dir-index-html
package
Version:
v0.12.0
Opens a new window with list of versions in this module.
Published: Feb 18, 2022
License: Apache-2.0, MIT, Apache-2.0, + 1 more
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
dir-index-html
Directory listing HTML for go-ipfs
gateways
Updating
When making updates to the directory listing page template, please note the following:
Make your changes to the (human-friendly) source documents in the src
directory and run npm run build
Before testing or releasing, go to the top-level ./assets
directory and make sure to run the go generate .
script to update the bindata version
Testing
Make sure you have Go installed
Start the test server, which lives in its own directory:
> cd test
> go run .
This will listen on localhost:3000
and reload the template every time you refresh the page.
If you get a "no such file or directory" error upon trying go run .
, make sure you ran npm run build
to generate the minified artifact that the test is looking for.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.