Skip to content

Instantly share code, notes, and snippets.

View blackboxx's full-sized avatar

Dmitry Yudin blackboxx

View GitHub Profile
@elnygren
elnygren / django_jwt_cookie.py
Last active September 24, 2023 08:13
Teach Django to use JWT tokens inside the session cookie - plays well with django-rest-framework-jwt.
@gdamjan
gdamjan / reverse-ssh-tunnel.py
Created May 2, 2012 16:43
Reverse ssh tunnel - playground
#! /usr/bin/env python2
import subprocess
import random
import string
import re
import sys
import tempfile