Skip to content

Commit

Permalink
Version 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
six-two committed Aug 31, 2024
1 parent 54b2ad9 commit 9189353
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: six-two/self-unzip-html # ${{ github.repository }}

jobs:
build-and-push-image:
Expand Down
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,20 @@ A Python script to generate self extracting web pages is under `python/main.py`.
It just requires a modern Python version (probably Python3.9+) and has no mandatory external dependencies.
But if you want to use the encryption feature, you need to install `pycryptodomex` with pip.

You can install it with `pip`:
You can install it with `pip` or docker.

#### pip

To install the latest release:
```bash
python3 -m pip install -U self-unzip-html
```

If you want to have the bleeding edge version (`main` branch), you can clone the repository and run:
```bash
python3 -m pip install .
```

Example usage of the pip package:
```bash
self-unzip-html --download -o psexec.html ~/Downloads/SysinternalsSuite/PsExec.exe
Expand All @@ -57,7 +65,14 @@ Or if you wanted to password-protect the output:
self-unzip-html --download -o psexec.html -p YourPasswordHere ~/Downloads/SysinternalsSuite/PsExec.exe
```

Alternatively, you can also the `Dockerfile`:
#### Docker

You can use the image pushed to ghcr.io:
```bash
docker run --rm -v "$PWD:/share" ghcr.io/six-two/self-unzip-html --download -o psexec.html ./PsExec.exe
```

To use the bleeding edge version (`main` branch), you can build the `Dockerfile`:
```bash
docker build -t self-unzip-html .
```
Expand Down Expand Up @@ -154,8 +169,9 @@ closure-compiler output/main.js --js_output_file output/main.min.js

## Notable changes

### Head
### Version 0.2.1

- Added `Dockerfile` and published image `docker pull ghcr.io/six-two/self-unzip-html`
- Added `--show-text` action, which shows the payload as plain text

### Version 0.2.0
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = self-unzip-html
version = 0.2.0
version = 0.2.1
author = six-two
author_email = [email protected]
description = Create self-extracting and/or password protected HTML pages with arbitrary contents
Expand Down

0 comments on commit 9189353

Please sign in to comment.