-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopen.bat
35 lines (28 loc) · 879 Bytes
/
open.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
setlocal
REM Check if Python is installed
python --version >nul 2>&1
IF %ERRORLEVEL% NEQ 0 (
echo Python is not installed. Please install Python and try again.
pause
exit /b 1
)
REM Upgrade pip to ensure the latest version is used
python -m pip install --upgrade pip
REM Install required Python packages
python -m pip install requests fake_useragent termcolor tqdm scapy speedtest-cli
REM Check if the installation was successful
IF %ERRORLEVEL% NEQ 0 (
echo Failed to install required packages. Please check your network connection and try again.
pause
exit /b 1
)
REM Execute the Python script
python AdvancedIPKit.py
REM Check if the script executed successfully
IF %ERRORLEVEL% NEQ 0 (
echo The script encountered an error. Please check the script and try again.
pause
exit /b 1
)
pause