You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
dependabot[bot] b8e177d8ef Bump bl from 1.2.2 to 1.2.3 1 month ago
.github/ISSUE_TEMPLATE Update issue templates 1 year ago
assets Switch to xterm 2 years ago
views Fix XSS vulnerability 2 years ago
.drone.yml Update .drone.yml 2 years ago
.gitignore Update to bootstrap 4.0.0 3 years ago
Dockerfile Add command tool and Dockerfile 3 years ago
Dockerfile.env Update Dockerfile.env 2 years ago
Dockerfile.pwn Add pwn 2 years ago
LICENSE Create LICENSE 2 years ago
README.md Better interface 3 years ago
index.js Switch to xterm 2 years ago
package.json Bump socket.io from 2.1.0 to 2.4.0 1 month ago
yarn.lock Bump bl from 1.2.2 to 1.2.3 1 month ago

README.md

file-manager

A basic node.js file manager.

Features

Screenshots

These screenshots are not up-to-date.

Usage

docker run --rm -it -v $PWD:/data -p 8080:8080 registry.labs.0x.no/file-manager

OR

git clone https://github.com/ambrosechua/file-manager.git ~/path/to/file-manager
node ~/path/to/file-manager/index.js
# or
npm i -g https://github.com/ambrosechua/file-manager.git
file-manager

Options

Options are currently only suppliable via ENV variables.

SHELL=

Set to login to enable accessing a login shell, or your shell binary (example: bash). Be careful when enabling this feature.

CMD=

Set to shell binary to enable an alternative command-based execution. Be careful when enabling this feature.

PORT=

Listen on $PORT. Default: 8080

KEY=

Setting this variable enables authentication using TOTP (RFC6238). $KEY is a base32 encoded shared secret. This key is only a weak means of protection as it is succeptable to brute-force. You can generate one from here or manually.