mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-04 18:29:26 +00:00
qira patch
This commit is contained in:
parent
e8b8b976ba
commit
bc8e886fe9
2 changed files with 14 additions and 0 deletions
|
@ -18,6 +18,7 @@ sed -i '/eval $(opam config env)/d' qira
|
|||
sed -i 's/\.\/bap_install.sh/#.\/bap_install.sh/g' install.sh
|
||||
|
||||
./install.sh
|
||||
git apply ../qira_fix.patch
|
||||
|
||||
cd ..
|
||||
mkdir -p bin
|
||||
|
|
13
qira/qira_fix.patch
Normal file
13
qira/qira_fix.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/middleware/qira_webserver.py b/middleware/qira_webserver.py
|
||||
index 3eac66a..068df7a 100644
|
||||
--- a/middleware/qira_webserver.py
|
||||
+++ b/middleware/qira_webserver.py
|
||||
@@ -431,7 +431,7 @@ def run_server(largs, lprogram):
|
||||
print "****** starting WEB SERVER on %s:%d" % (qira_config.HOST, qira_config.WEB_PORT)
|
||||
threading.Thread(target=mwpoller).start()
|
||||
try:
|
||||
- socketio.run(app, host=qira_config.HOST, port=qira_config.WEB_PORT, log=open("/dev/null", "w"))
|
||||
+ socketio.run(app, host=qira_config.HOST, port=qira_config.WEB_PORT)
|
||||
except KeyboardInterrupt:
|
||||
print "*** User raised KeyboardInterrupt"
|
||||
exit()
|
Loading…
Reference in a new issue