diff --git a/Gemfile.lock b/Gemfile.lock index e0e0012..2275297 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - ctf-party (1.4.0) + ctf-party (1.4.1) docopt (~> 0.6) GEM @@ -59,4 +59,4 @@ DEPENDENCIES yard (~> 0.9) BUNDLED WITH - 2.1.4 + 2.2.15 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 38bdd89..b5ed1fb 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,8 +1,9 @@ # Changelog -## [1.4.1] Unreleased +## [1.4.1] - Support more ruby versions +- Support Ruby 3 - Fix some linting ## [1.4.0] diff --git a/docs/yard/String.html b/docs/yard/String.html index be082d4..26929d6 100644 --- a/docs/yard/String.html +++ b/docs/yard/String.html @@ -5397,9 +5397,9 @@

def rot(opts = {}) opts[:shift] ||= 13 alphabet = Array('a'..'z') - lowercase = Hash[alphabet.zip(alphabet.rotate(opts[:shift]))] + lowercase = alphabet.zip(alphabet.rotate(opts[:shift])).to_h alphabet = Array('A'..'Z') - uppercasecase = Hash[alphabet.zip(alphabet.rotate(opts[:shift]))] + uppercasecase = alphabet.zip(alphabet.rotate(opts[:shift])).to_h encrypter = lowercase.merge(uppercasecase) chars.map { |c| encrypter.fetch(c, c) }.join end @@ -7464,9 +7464,9 @@

diff --git a/docs/yard/Version.html b/docs/yard/Version.html index 853c700..871a017 100644 --- a/docs/yard/Version.html +++ b/docs/yard/Version.html @@ -95,7 +95,7 @@

VERSION =
-
'1.3.5'
+
'1.4.1'
@@ -111,9 +111,9 @@

diff --git a/docs/yard/_index.html b/docs/yard/_index.html index 3444e56..4289283 100644 --- a/docs/yard/_index.html +++ b/docs/yard/_index.html @@ -113,9 +113,9 @@

Namespace Listing A-Z

diff --git a/docs/yard/file.LICENSE.html b/docs/yard/file.LICENSE.html index 40be74a..addfba8 100644 --- a/docs/yard/file.LICENSE.html +++ b/docs/yard/file.LICENSE.html @@ -60,9 +60,9 @@
The MIT License (MIT)

Copyright (c) 2020-2020 Alexandre ZANNI
Copyright (c) 2019-2020 Alexandre ZANNI at Orange Cyberdefense

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
diff --git a/docs/yard/file.README.html b/docs/yard/file.README.html index 220fb44..a496e8e 100644 --- a/docs/yard/file.README.html +++ b/docs/yard/file.README.html @@ -72,7 +72,7 @@

What it is

-

A library to enhance and speed up script/exploit writing for CTF players (or +

A CLI tool & library to enhance and speed up script/exploit writing for CTF players (or security researchers, bug bounty hunters, pentesters but mostly focused on CTF) by patching the String class to add a short syntax of usual code patterns. The philosophy is also to keep the library to be pure ruby (no dependencies) @@ -95,6 +95,15 @@

What it is

myvar.to_b64! +

Most of the methods are available as commands CLI tool:

+ +
$ ctf-party 'security' to_hex
+7365637572697479
+
+$ ctf-party 'NzQ2Zjc0NmY=' from_b64 hex2str str2bin
+01110100011011110111010001101111
+
+

Features