bin/ctf-party in ctf-party-2.2.0 vs bin/ctf-party in ctf-party-2.3.0

- old
+ new

@@ -1,10 +1,9 @@ #!/usr/bin/env ruby # frozen_string_literal: true # Ruby internal -require 'pp' require 'shellwords' # for shellescape cmd # Project internal require 'ctf_party' require 'ctf_party/version' # External @@ -15,10 +14,14 @@ alternatecase: 'Change one characte on two upcase and the other downcase', bin2hex: 'Encode an binary string to a hexadecimal string', 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)', from_hex: 'Decode a hexadecimal string', from_hexip: 'Decode a hexadecimal IP string into a dotted decimal one', @@ -29,9 +32,13 @@ htmlunescape: 'HTML unescape the string', istrip: 'Remove leading and trailing whitespace but also all inner whitespace', 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', sha2: 'Calculate the sha2 hash of the string', sha2_256: 'Alias for sha2 with bitlen of 256',