This project contains scripts to save network profiles and passwords to an Excel file. It includes a Python script for Windows and an Android application.
- Python 3.x
openpyxl
module
- Install the
openpyxl
module:pip install openpyxl
- Navigate to the directory containing the script:
cd /c:/Users/209/OneDrive/Desktop/project/script/net
- Run the script:
python save_network_profiles.py
The script will create an Excel file named network_profiles.xlsx
in the same directory, containing all the network profiles and their passwords.
- Android Studio
- An Android device or emulator
- Open Android Studio.
- Open the project located at
/c:/Users/209/OneDrive/Desktop/project/script
. - Sync the project with Gradle to download the necessary dependencies.
The application requires the following permissions:
ACCESS_WIFI_STATE
CHANGE_WIFI_STATE
WRITE_EXTERNAL_STORAGE
READ_EXTERNAL_STORAGE
These permissions are already declared in the AndroidManifest.xml
file.
- Connect an Android device via USB or set up an Android emulator.
- Click the "Run" button (green play icon) in Android Studio.
- Select the connected device or emulator and click "OK".
The application will request the necessary permissions and save the network profiles to an Excel file on the device's external storage.
Add the following dependency to your build.gradle
file:
implementation 'org.apache.poi:poi-ooxml:5.0.0'
save_network_profiles.py
: Python script to save network profiles on Windows.AndroidManifest.xml
: Android manifest file with required permissions.MainActivity.java
: Main activity for the Android application.build.gradle
: Gradle build file with dependencies.