Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/s/h/shiva-HEAD/analyzer/core/shivapushtodb.py   shiva(Download)
def push():
    logging.info("[+]Inside shivapushtodb Module")
    notify = server.shivaconf.getboolean('notification', 'enabled')
    exeSql = shivadbconfig.dbconnect()
 
def getspammeremails():
    mainDb = shivadbconfig.dbconnectmain()
    notify = server.shivaconf.getboolean('notification', 'enabled')
 
    whitelist = "SELECT `recipients` from `whitelist`"

src/s/h/shiva-HEAD/analyzer/core/shivascheduler.py   shiva(Download)
def resetcounter():
    shivapushtodb.cleanup()
    shivapushtodb.getspammeremails()
 
    localdb = server.shivaconf.getboolean('database', 'localdb')
    hpfeeds = server.shivaconf.getboolean('hpfeeds', 'enabled')    

src/s/h/shiva-HEAD/analyzer/core/shivaaddnewrecord.py   shiva(Download)
    rawspampath = server.shivaconf.get('analyzer', 'rawspampath')
    queuepath = server.shivaconf.get('global', 'queuepath')    
    relay_enabled = server.shivaconf.getboolean('analyzer', 'relay')
 
    records = server.QueueReceiver.records

src/s/h/shiva-HEAD/analyzer/core/shivamailparser.py   shiva(Download)
    queuepath = server.shivaconf.get('global', 'queuepath')
    undeliverable_path = server.shivaconf.get('analyzer', 'undeliverable_path')
    notify = server.shivaconf.getboolean('notification', 'enabled')
 
    logging.critical("\n**** [-] Error!!! ****")

src/s/h/shiva-HEAD/analyzer/core/shivaprocessold.py   shiva(Download)
def main(mailFields, matchedHash, key, msgMailRequest):
    logging.info("[+]Inside shivaprocessold Module.")
 
 
    relay_enabled = server.shivaconf.getboolean('analyzer', 'relay')

src/s/h/shiva-HEAD/analyzer/core/shivamaindb.py   shiva(Download)
    tempDb = shivadbconfig.dbconnect()
    mainDb = shivadbconfig.dbconnectmain()
    notify = server.shivaconf.getboolean('notification', 'enabled')
    time.sleep(200) # Giving time to hpfeeds module to complete the task.
    main()