| skipped 190 lines |
191 | 191 | | help="Neo4j account name. (default: neo4j)") |
192 | 192 | | parser.add_argument("-p", "--password", dest="password", action="store", type=str, metavar="PASSWORD", |
193 | 193 | | help="Neo4j password. (default: password).") |
| 194 | + | parser.add_argument("--wsport", dest="wsport", action="store", type=str, metavar="PORT", |
| 195 | + | help="Neo4j websocket port number. (default: 7687).") |
194 | 196 | | parser.add_argument("-e", "--evtx", dest="evtx", nargs="*", action="store", type=str, metavar="EVTX", |
195 | 197 | | help="Import to the AD EVTX file. (multiple files OK)") |
196 | 198 | | parser.add_argument("-x", "--xml", dest="xmls", nargs="*", action="store", type=str, metavar="XML", |
| skipped 78 lines |
275 | 277 | | |
276 | 278 | | if args.host: |
277 | 279 | | WEB_HOST = args.host |
| 280 | + | |
| 281 | + | if args.wsport: |
| 282 | + | WS_PORT = args.wsport |
278 | 283 | | |
279 | 284 | | # Web application index.html |
280 | 285 | | @app.route('/') |
| skipped 926 lines |