Noraj Ctf Party Versions Save

:triangular_flag_on_post: A CLI tool & library to enhance and speed up script/exploit writing with string conversion/manipulation.

v3.0.0

4 months ago

Highlights

Decode a hexadecimal IPv6 string into a double-dotted hexadecimal format

carbon

Convert a binary string to decimal (binary to hexadecimal then hexadecimal to decimal)

carbon2

URL-encode the URL component string (RFC 3986)

carbon3

CHANGELOG

  • Breaking changes
    • Drop Ruby 2.7 support because there is no URI:WS and URI:WSS used for defang_uri and anyway official support has ended too
    • hex2bin now returns even number of chars (pad with 0) by default and add an option to disable it.
    • urlencode_component & urldecode_component were renamed to urlencode_data & urldecode_data, urlencode_component & urldecode_component are now new functions
  • Changes:
    • Renamed from_hexip to from_hexipv4 and created an aliases from_hexip for from_hexipv4. Same for to_hexipv4 and bang methods.
    • add options support for all decimal methods and aliases
  • New methods:
    • from_hexipv6 and from_hexipv6!
    • bin2dec and dec2bin
    • urlencode_component (see breaking change, the old urlencode_component was renamed urlencode_data)
    • urldecode_component (see breaking change, the old urldecode_component was renamed urldecode_data)
  • Chore:
    • Add support for Ruby 3.3 (up to Ruby < 4.0)
  • Fix:
    • bin2hex: fix odd byte cropping issue
    • fix documentation for base64

Media

v2.3.0

1 year ago

Highlights

Defang / Refang IP address

Defang / Refang IP address

Defang / Refang URI

Defang / Refang URI

Defang / Refang domain name

Defang / Refang domain name

Defang / Refang email address

Defang / Refang email address

Test IP address

Test IP address

Test URI, domain name, email address

Test URI, domain name, email address

Batch defang URIs with the CLI

Batch defang URIs with the CLI

CHANGELOG

  • 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

Media

v2.2.0

1 year ago

Highlights

🎈 Massive CLI improvement 🎈

Reading from STDIN

carbon01

Applying the commands on each row

carbon02 carbon03

Reading from a file directly

carbon04

Tons of new commands supported

carbon05

CHANGELOG

  • CLI:
    • Add urlencode_component and urldecode_component to the command whitelist
    • Now can read from STDIN
    • Add some commands from native String class: bytesize, capitalize, chomp, chop, downcase, dump, hex, inspect, length, lstrip, reverse, rstrip, scrub, shellescape, size, squeeze, strip, succ, swapcase, undump, unicode_normalize, upcase
    • Add --row option: apply the transformation to each row
    • Add --file option: interpret the string as a filename (read from file)
  • Fix:
    • dec2hex: fix odd byte cropping issue

Media

v2.1.0

2 years ago

v2.0.0

2 years ago

v1.5.0

3 years ago

v1.4.1

3 years ago

v1.4.0

3 years ago

v1.3.5

3 years ago

v1.3.4

3 years ago