#include <cstdio> | |
#include <windows.h> | |
VOID WINAPI TlsCallback(PVOID DllHandle, DWORD Reason, PVOID Reserved) | |
{ | |
puts("[DynamicLibrary.dll]: TLS Callback"); | |
} | |
#ifdef _WIN64 | |
#pragma comment (linker, "/INCLUDE:_tls_used") |
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#define MH_MAGIC 0xfeedface | |
#define MH_CIGAM 0xcefaedfe | |
#define MH_MAGIC_64 0xfeedfacf | |
#define MH_CIGAM_64 0xcffaedfe | |
#define LC_SEGMENT_64 0x19 | |
#define LC_ROUTINES_64 0x1a | |
#define CPU_TYPE_ARM64 (12 | 0x01000000) |
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.
#ifndef _MACARON_BASE64_H_ | |
#define _MACARON_BASE64_H_ | |
/** | |
* The MIT License (MIT) | |
* Copyright (c) 2016-2024 tomykaira | |
* | |
* 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 |