Neo23x0 / munin

Online hash checker for Virustotal and other services
Apache License 2.0
810 stars 147 forks source link

bind to 0.0.0.0 or specific IP #26

Closed gyterpena closed 4 years ago

gyterpena commented 5 years ago

When run in web mode munin binds to 127.0.0.1, is there a way to bind to 0.0.0.0 or specific IP address/interface?

munin.py -i munin.ini --web -w 10088

dfirale commented 4 years ago

https://github.com/Neo23x0/munin/blob/master/munin.py#L1036

Bind it to 0.0.0.0 by simply modifying line 1036:

app.run(host = '0.0.0.0',port=int(args.w))

gyterpena commented 4 years ago

thx, this works.