Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymongo, mosquitto, os | |
from pymongo import MongoClient | |
from datetime import datetime, time | |
mqttHost = 'mqtt' | |
mongoHost = '127.0.0.1' | |
pidFile = '/var/run/record2MongodbPid' | |
def isRunning(pid): | |
try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, pymongo, mosquitto, json | |
from pymongo import MongoClient | |
client = MongoClient('mongo') | |
records = client.mqttRecord | |
mqttC = mosquitto.Mosquitto("publishMongoStats-"+str(os.getpid())) | |
mqttC.connect("mqtt", 1883, 60) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:text/html,<script>for(;0<1;){}</script> | |
# obscured with base64 | |
data:text/html;charset=utf-8;base64,PHNjcmlwdD5mb3IoOzA8MTspIHt9PC9zY3JpcHQ+Cg== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import Image, sys, random | |
hash = random.choice(['411A7A164505636AB1A8276395B375A3A30BFF32', | |
'79816060EA56D56F2A2148CD45705511079F9BCA', | |
'f5615dfb80ac995787c1b2219a75df7805278dea', | |
'43b21801f59336b9271a6c5113904fb72de99ed3', | |
'938802790a385c49307f34cca4c30f80b03df59c']) | |
if(len(sys.argv) == 4): |