A quick and dirty SSL MiTM using stunnel
- Generate a SSL certificate .. or use Let's Encrypt (for the green lock)
openssl req -batch -new -x509 -days 365 -nodes -out mitm.pem -keyout mitm.pem- Run stunnel
| // Transcribed manually from | |
| // https://www.youtube.com/watch?v=GpUhmUVvD9Y | |
| // Enjoy ;) | |
| // UPDATE: 2025-02-13: They also have the lyrics here https://x.com/FamilyMart_ID/status/1752210891142291560 | |
| Hai kawan-kawan | |
| Mari bekerja membangun bersama FamilyMart | |
| Suka dan duka ada di FamilyMart | |
| Semua keluarga kita |
| // SPDX-License-Identifier: GPL-2.0 | |
| /* | |
| * @author Ammar Faizi <[email protected]> https://www.facebook.com/ammarfaizi2 | |
| * @license GPL-2.0 | |
| * @package tgvisd::Main::Preload | |
| * | |
| * Copyright (C) 2021 Ammar Faizi <[email protected]> | |
| */ | |
| #if defined(__linux__) |
| import select | |
| import socket | |
| import socketserver | |
| __author__ = 'loncat <[email protected]>' | |
| services = [ | |
| { | |
| 'name': 'ssh', | |
| 'address': ('127.0.0.1', 22), |
A quick and dirty SSL MiTM using stunnel
openssl req -batch -new -x509 -days 365 -nodes -out mitm.pem -keyout mitm.pem