[ SEA-GHOST MINI SHELL]

Path : /proc/2/root/var/lib/zabbix/
FILE UPLOADER :
Current File : //proc/2/root/var/lib/zabbix/exabgp_healthcheck.py

#!/usr/bin/env python

import ConfigParser
import json

CONF = "/etc/exabgp/healthcheck.conf"

Config = ConfigParser.ConfigParser()
Config.read(CONF)

sections = Config.sections()
sections.remove('global')

OUTPUT = {"data": []}

for section in sections:
    OUTPUT["data"].append({"{#SECTION}": section})

print json.dumps(OUTPUT)

SEA-GHOST - SHELL CODING BY SEA-GHOST