Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onion 4 - Finalized #37

Merged
merged 4 commits into from
Feb 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions liber_primus/markdown/03.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ ULTIMATELY YOU WILL DISCOVER AN END TO SELF
ᚢᛠᛝᛋᛇᚠᚳ
```
* [outguess](../../messages/2014/liber_primus/03.jpg.asc)

```
ᚦᛗᛞᛇᚠᛗᚪᚱ5ᚢᚫᛝᚱᛝ3 ᛠᛗᛇᚠᛡ
```
7 changes: 7 additions & 0 deletions tool/app/Actions/Runes/TranslateVigenere.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ public static function translate(string $sentence, array $key, array $indexesToS
continue;
}

// Numbers have been proven to not be shift`ed.
if (is_numeric($rune)) {
$letters .= $rune;

continue;
}

// If we don't recognize rune, just output (ie dots)
$runeEnum = Rune::tryFrom($rune);
if (! $runeEnum) {
Expand Down
2 changes: 1 addition & 1 deletion tool/app/Commands/BruteforceVigenereKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function handle(): int
}

$translation = TranslateVigenereAction::translate($sentence, $runicKey);
$reversedTranslation = TranslateVigenereAction::translate($sentence, $runicKey, true);
$reversedTranslation = TranslateVigenereAction::translate($sentence, $runicKey, [], true);

$tableData[] = [
'word' => $word,
Expand Down
42 changes: 42 additions & 0 deletions wordlists/liber_primus_3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
a
all
along
an
and
but
certainty
discover
easy
end
find
for
great
here
illusions
innocence
is
it
journey
necessary
not
of
one
pilgrim
reality
self
struggle
suffering
the
their
things
those
to
towards
trip
ultimately
way
welcome
who
will
you
your