-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize Windows Setup & Added Android Manifest Rules
Optimize Windows Setup & Added Android Manifest Rules
- Loading branch information
Showing
5 changed files
with
90 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@echo off | ||
echo =======================MobSF Clean Script for Windows======================= | ||
echo Running this script will delete the Scan database, all files uploaded and generated. | ||
SET mypath=%~dp0 | ||
echo %mypath:~0,-1% | ||
IF "%~1"=="y" ( | ||
echo Deleting all Uploads | ||
rmdir "uploads" /q /s | ||
echo Deleting all Downloads | ||
rmdir "downloads" /q /s | ||
echo Deleting Static Analyzer Migrations | ||
rmdir "StaticAnalyzer\migrations" /q /s | ||
echo Deleting Dynamic Analyzer Migrations | ||
rmdir "DynamicAnalyzer\migrations" /q /s | ||
echo Deleting MobSF Migrations | ||
rmdir "MobSF\migrations" /q /s | ||
echo Deleting temp and log files | ||
rmdir "logs" /q /s | ||
del /f "classes*"" | ||
echo Deleting DB | ||
del /f "db.sqlite3" | ||
echo Deleting Secret File | ||
del /f "secret" | ||
echo Deleting Previous Setup files | ||
rmdir "%UserProfile%\MobSF" /q /s | ||
del /f "setup_done.txt" | ||
echo Done | ||
) ELSE ( | ||
echo Please run script from MobSF directory | ||
echo 'scripts/clean.bat y | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters