Ejemplo n.º 1
0
def webserver(args):
    # Enable debug and autoreload in dev
    webapp.debug = args.debug
    if webapp.debug:
        webapp.jinja_env.auto_reload = True
        webapp.config['TEMPLATES_AUTO_RELOAD'] = True

    syncdb()
    print "[+] Yeti started. Point browser to http://localhost:5000/{}".format(" (debug)" if args.debug else "")
    webapp.run(host="0.0.0.0")
Ejemplo n.º 2
0
Archivo: yeti.py Proyecto: tdr0/yeti
def webserver(args):
    # Enable debug and autoreload in dev
    webapp.debug = args.debug
    if webapp.debug:
        webapp.jinja_env.auto_reload = True
        webapp.config['TEMPLATES_AUTO_RELOAD'] = True

    syncdb()
    print("[+] Yeti started. Point browser to http://localhost:5000/{}".format(
        " (debug)" if args.debug else ""))
    webapp.run(host="0.0.0.0")
Ejemplo n.º 3
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import logging

from core.web import webapp

logging.basicConfig(format='%(levelname)s:%(module)s:%(message)s',
                    level=logging.ERROR)

if __name__ == '__main__':
    print "[+] Yeti started. Point browser to http://localhost:5000/"
    webapp.run(host="0.0.0.0")
Ejemplo n.º 4
0
Archivo: yeti.py Proyecto: tomchop/yeti
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import logging

from core.web import webapp

logging.basicConfig(format='%(levelname)s:%(module)s:%(message)s', level=logging.ERROR)

if __name__ == '__main__':
    webapp.run(host="0.0.0.0")
Ejemplo n.º 5
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import logging

from core.web import webapp

logging.basicConfig(format='%(levelname)s:%(module)s:%(message)s', level=logging.INFO)

if __name__ == '__main__':
    webapp.run()
Ejemplo n.º 6
0
def webserver(args):
    from core.web import webapp
    webapp.debug = args.debug
    syncdb()
    print "[+] Yeti started. Point browser to http://localhost:5000/{}".format(" (debug)" if args.debug else "")
    webapp.run(host="0.0.0.0")