Skip to content

Instantly share code, notes, and snippets.

@ignassew
ignassew / test-websocket-server.py
Created July 28, 2023 15:54
A websocket server that you can use for testing. It will print all received messages to stdout
import argparse
import asyncio
def start_server(host, port):
async def handle_client(websocket):
client_addr = f"{websocket.remote_address[0]}:{websocket.remote_address[1]}"
print(f"[{client_addr}] Client connected")
# This function will be called each time a new client connects
try:
@ignassew
ignassew / Disabling SSL Pinning Android.md
Last active September 7, 2022 16:35
How to bypass SSL pinning on Android using Frida and Objection.

Bypassing SSL Pinning using Frida and Objection

To use this method you will have to have a rooted Android phone. There are other methods to disable SSL Pinning like modifying the apk, for example apk-mitm, but that doesn't always work for me.

Downloads

  1. Download and install frida and frida tools: pip3 install frida frida-tools
  2. Download and install objection: pip3 install objection
  3. Download frida server for architecture used by the phone you will use: https://github.com/frida/frida/releases
  4. Download adb included in platform-tools: