Skip to content

Commit

Permalink
Defang & network (#102)
Browse files Browse the repository at this point in the history
v2.3.0
  • Loading branch information
noraj authored Jan 21, 2023
1 parent 960d477 commit 46242e3
Show file tree
Hide file tree
Showing 32 changed files with 5,481 additions and 2,139 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ctf-party (2.2.0)
ctf-party (2.3.0)
docopt (~> 0.6)

GEM
Expand Down
8 changes: 8 additions & 0 deletions bin/ctf-party
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ cmd_whitelist = {
bin2str: 'Alias for from_bin',
dec2hex: 'Encode an decimal string to a hexadecimal string',
dec2str: 'Alias for from_dec',
defang_domain: 'Defang domain name',
defang_email: 'Defang email address',
defang_ip: 'Defang IP address',
defang_uri: 'Defang URI',
from_b64: 'Decode the string from base64',
from_bin: 'Decode a binary string',
from_dec: 'Decode a decimal string (decimal to hexadecimal then hexadecimal to string)',
Expand All @@ -30,6 +34,10 @@ cmd_whitelist = {
leet: 'Transform into leet speak (l337 5p34k)',
md5: 'Calculate the md5 hash of the string',
randomcase: 'Change the case of characters randomly',
refang_domain: 'Refang domain name',
refang_email: 'Refang email address',
refang_ip: 'Refang IP address',
refang_uri: 'Refang URI',
rmd160: 'Calculate the RIPEMD-160 hash of the string',
rot13: 'Encrypt / Decrypt the string with Caesar cipher with a shift of 13',
sha1: 'Calculate the sha1 hash of the string',
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
version: '3'
services:
ctf-party:
image: noraj/ctf-party:2.2.0
image: noraj/ctf-party:2.3.0
user: noraj
container_name: ctf-party
read_only: false
build:
context: .
dockerfile: Dockerfile
args:
CTF_PARTY_VERSION: 2.2.0
CTF_PARTY_VERSION: 2.3.0
12 changes: 12 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [2.3.0]

- New defang methods:
- `defang_ip` & `refang_ip` & bang version
- `defang_domain` & `refang_domain` & bang version
- `defang_uri` & `refang_uri` & bang version
- `defang_email` & `refang_email` & bang version
- New network methods:
- `ipv4?`, `ipv6?`, `ip?`, `uri?`, `domain?`, `email?`
- Chore:
- Add support for Ruby 3.2

## [2.2.0]

- CLI:
Expand Down
8 changes: 4 additions & 4 deletions docs/pages/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $ git clone https://github.com/noraj/ctf-party.git
$ cd ctf-party
$ docker-compose build
# alternatively without docker compose
$ docker build -f Dockerfile -t ctf-party --build-arg ctf-party_VERSION=2.2.0 .
$ docker build -f Dockerfile -t ctf-party --build-arg ctf-party_VERSION=2.3.0 .
```

Usage examples:
Expand All @@ -77,7 +77,7 @@ host: `docker.io`
$ docker pull noraj/ctf-party
# specific tag
$ docker pull noraj/ctf-party:2.2.0
$ docker pull noraj/ctf-party:2.3.0
```

Repository: [noraj/ctf-party](https://hub.docker.com/r/noraj/ctf-party).
Expand All @@ -93,7 +93,7 @@ host: `ghcr.io`
$ docker pull ghcr.io/noraj/ctf-party
# specific tag
$ docker pull ghcr.io/noraj/ctf-party:2.2.0
$ docker pull ghcr.io/noraj/ctf-party:2.3.0
```

Repository: [noraj/ctf-party](https://github.com/noraj/ctf-party/pkgs/container/ctf-party)
Expand All @@ -109,7 +109,7 @@ host: `registry-intl.eu-central-1.aliyuncs.com`
$ docker pull registry-intl.eu-central-1.aliyuncs.com/noraj/ctf-party
# specific tag
$ docker pull registry-intl.eu-central-1.aliyuncs.com/noraj/ctf-party:2.2.0
$ docker pull registry-intl.eu-central-1.aliyuncs.com/noraj/ctf-party:2.3.0
```

Repository: [the overview page is not public](https://cr.console.aliyun.com/repository/eu-central-1/noraj/ctf-party/details)
Expand Down
Loading

0 comments on commit 46242e3

Please sign in to comment.