:triangular_flag_on_post: A CLI tool & library to enhance and speed up script/exploit writing with string conversion/manipulation.
Decode a hexadecimal IPv6 string into a double-dotted hexadecimal format
Convert a binary string to decimal (binary to hexadecimal then hexadecimal to decimal)
URL-encode the URL component string (RFC 3986)
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 functionsfrom_hexip
to from_hexipv4
and created an aliases from_hexip
for from_hexipv4
. Same for to_hexipv4
and bang 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
)Defang / Refang IP address
Defang / Refang URI
Defang / Refang domain name
Defang / Refang email address
Test IP address
Test URI, domain name, email address
Batch defang URIs with the CLI
defang_ip
& refang_ip
& bang versiondefang_domain
& refang_domain
& bang versiondefang_uri
& refang_uri
& bang versiondefang_email
& refang_email
& bang versionipv4?
, ipv6?
, ip?
, uri?
, domain?
, email?
🎈 Massive CLI improvement 🎈
Reading from STDIN
Applying the commands on each row
Reading from a file directly
Tons of new commands supported
urlencode_component
and urldecode_component
to the command whitelistbytesize
, capitalize
, chomp
, chop
, downcase
, dump
, hex
, inspect
, length
, lstrip
, reverse
, rstrip
, scrub
, shellescape
, size
, squeeze
, strip
, succ
, swapcase
, undump
, unicode_normalize
, upcase
--row
option: apply the transformation to each row--file
option: interpret the string as a filename (read from file)