question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature idea: Base64 alphabet variations

See original GitHub issue

https://github.com/javascript-obfuscator/javascript-obfuscator/blob/master/src/custom-code-helpers/string-array/templates/string-array-calls-wrapper/AtobTemplate.ts#L9

To break base64 you can change base64 alphabets. For example, original alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=

Variations:

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/=
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/=
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789/+=
ABCDEFGHIJKLMN0PQRSTUVWXYZabcdefghijklmnopqrstuvwxyzO123456789/+= // swap o and zero
ABCDEFGHlJKLMNOPQRSTUVWXYZabcdefghijkImnopqrstuvwxyz0123456789/+= // swap L and i

You can even just shuffle alphabet, but it will be very eazy to notice.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sanex3339commented, Jul 2, 2020

First implementation - only a single static alphabet variant. Future - random variant between few alphabets that you described above.

0reactions
sanex3339commented, Jul 3, 2020

Released as 1.3.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Base64 - Wikipedia
In computer programming, Base64 is a group of binary-to-text encoding schemes that represent ... from the alphabets used in the most common Base64...
Read more >
Sortable Base64 Encoding - CodeProject
The .NET implementation of Base64 encoding uses following characters: uppercase letters "A" to "Z", then lowercase letters "a" to "z", then ...
Read more >
Base64 encoding and decoding in Java 8 - InfoWorld
This variant uses the Base64 alphabet presented in Table 1 of RFC 4648 and RFC 2045 (and shown earlier in this post) for...
Read more >
Base64 should be open for different alphabets #24 - GitHub
Currently I´m trying to write a Linux shadow-file - the passwords are stored as Base64-ecoded (hashes). But the alphabet of this Base64 is ......
Read more >
Implementing Base64 from scratch in Rust
The original Base64 alphabet uses A-Z uppercase, a-z lowercase, the digits 0 through 9 and special characters + and / .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found