mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-12 02:06:59 +00:00
19 lines
470 B
Batchfile
19 lines
470 B
Batchfile
@echo off
|
|
|
|
if [%1]==[] goto usage
|
|
SET conf=%1
|
|
goto :run
|
|
:usage
|
|
SET conf="0.0.0.0:8000 [::]:8000"
|
|
:run
|
|
set venv=.\venv\Scripts\activate
|
|
set server=.\venv\Scripts\waitress-serve.exe
|
|
if exist %server% (
|
|
echo Running MobSF on %conf%
|
|
%venv%
|
|
%server% --listen=%conf% --threads=10 --channel-timeout=3600 mobsf.MobSF.wsgi:application
|
|
) else (
|
|
echo [ERROR] Incomplete setup. Please ensure that setup.bat completes without any errors.
|
|
pause
|
|
exit /b
|
|
) |