Skip to content

Instantly share code, notes, and snippets.

Avatar
🚍
' DROP TABLE user_statuses; --

Rich Taylor rtt

🚍
' DROP TABLE user_statuses; --
View GitHub Profile
View gist:635a40ea3d734ad97cee1f5ff8ef52c7
➜ ~ docker exec -it 99cb6c129362 mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.21 MySQL Community Server - GPL
Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
@rtt
rtt / repo_unsub.py
Created Feb 20, 2020
mass github repo subscription delete
View repo_unsub.py
import os
import sys
import requests
def get_subscribed_repos_in_organization(organization, personal_access_token):
page = 1
has_more = True
while has_more:
print("GET https://api.github.com/user/subscriptions?per_page=100&page={}".format(page))
response = requests.get('https://api.github.com/user/subscriptions',
View keybase.md

Keybase proof

I hereby claim:

  • I am rtt on github.
  • I am arrteetee (https://keybase.io/arrteetee) on keybase.
  • I have a public key ASCb73A1BIuNeI-pg6_hl8nwc-5dcK5_vtsQAXrqNzPhhwo

To claim this, I am signing this object:

@rtt
rtt / humans.txt
Last active Apr 8, 2018 — forked from jessmatthews/humans.txt
New Humans.txt
View humans.txt
# humanstxt.org/
# The humans responsible & technology colophon
# CONDE NAST BRITAIN - DIGITAL
6th and 7th Floor, Vogue House, Mayfair, London.
... occasionally also The Haunch of Venison Yard
# TECH TEAM
View gist:fc75e36c50067d472e5820cbf2fdf6bf
br = brides
wi = wired
vg = vogue
gl = glamour
tr = traveller
ta = tatler
hg = house and garden
gq = gq
lo = love
at = ars technica
@rtt
rtt / gist:5a2e0cfa638c938cca59
Created Aug 14, 2014
example python tinderbot
View gist:5a2e0cfa638c938cca59
# encoding: utf8 1,1 Top# encoding: utf8
import argparse
from datetime import datetime
import json
from random import randint
import requests
import sys
from time import sleep
@rtt
rtt / tinder-api-documentation.md
Last active Oct 21, 2020
Tinder API Documentation
View tinder-api-documentation.md

Tinder API documentation

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)

Note: this was written in April/May 2014 and the API may have changed since. I have nothing to do with Tinder, nor their API, and I do not offer any support for anything you may build on top of this

API Details

View gist:9936523
> ~ curl -H 'content-type: multipart/form-data; boundary=55e83917fc41113113c39888e4954' https://ed.uniformdating.com/mobile_application.php\?action\=login -X POST --data-binary @ud.txt
{
"action": "login",
"result": true,
"data": {
"oid": "10741323098",
"looking_for_type_id": [],
"familystatus_": 1,
"sexuality_": 1,
View gist:9936330
{
"action": "search",
"result": true,
"data": [{
"oid": "10412366819",
"can_view": false,
"looking_for_type_id": [1, 2, 3, 4, 5],
"familystatus_": 0,
"sexuality_": 1,
"smoker_": 0,
You can’t perform that action at this time.