Skip to content

Instantly share code, notes, and snippets.

View notmarek's full-sized avatar
🗾
haha

Marek Veselý notmarek

🗾
haha
View GitHub Profile
const alwaysTrueHook = (name, address) => {
  Interceptor.attach(address, {
    onLeave: function (retval) {
      if (retval != 0x1) {
        console.log(`[~] ${name} failed, patching... [${retval} -> 0x1]`);
        retval.replace(0x1);
      } else {
        console.log(`[i] ${name} successful, no patch needed.`);
 }
@matthewzring
matthewzring / markdown-text-101.md
Last active April 25, 2025 04:48
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 24, 2025 05:26 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.