Skip to content

Commit

Permalink
Merge pull request #3 from niirmaaltwaatii/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
niirmaaltwaatii committed Oct 9, 2020
2 parents eff65d0 + e27f15c commit d9d1e64
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 9 deletions.
8 changes: 6 additions & 2 deletions README.md
@@ -1,8 +1,8 @@
# WinNet
Network Tool For Windows OS ; View Wi-Fi Passwords , DELETE or Export Wi-Fi Networks etc ;
Network Tool For Windows OS ; View Wi-Fi Passwords , DELETE or Import/Export Wi-Fi Networks etc ;

## Screenshots
![WinNet Tool ScreenShot](img/winnet1.png)
![WinNet Tool ScreenShot](img/WinNet.jpg)

## SetUp
```
Expand All @@ -22,3 +22,7 @@ $ WinNet OR winnet.bat | ./winnet OR ./winnet.bat
- AndroidShare* deletes all networks starting from AndroidShare eg. AndroidShare_4569
* Export Networks
- Exporting networks that is already on exports/ overwrites it

### Known bugs & errors
* Network Connect doesn't work
* Network Pofiles Import from exports/ gives error
11 changes: 9 additions & 2 deletions WinNet.bat
Expand Up @@ -10,21 +10,28 @@ echo ---------------------------------------------------
echo / [0] Show All Networks (Names) \
echo \ [1] Show Password of Specific Network /
echo / [2] Show Wireless Adapter Settings \
echo \ [3] Connect to Network /
echo \ [3] Import Network Profiles [ exports/specific /
echo / [4] Delete Network Profiles [ All or Specific ] \
echo \ [5] Export Network Profiles [ All or Specific ] /
echo / [6] Connect to Network [ Beta ] \
echo \ [7] Check or Update WinNet /
echo / [8] About \
echo \ [9] Exit /
echo ---------------------------------------------------
echo }

set inp=9
set /p inp="[]=> "

if %inp%==9 (exit)
if %inp%==8 (about.bat)
if %inp%==0 (showall.bat)
if %inp%==1 (pwd.bat)
if %inp%==2 (itrf.bat)
if %inp%==3 (connect.bat)
if %inp%==3 (import.bat)
if %inp%==4 (delnet.bat)
if %inp%==5 (export.bat)
if %inp%==6 (connect.bat)
if %inp%==7 (update.bat)

:twaatii
9 changes: 5 additions & 4 deletions delnet.bat
Expand Up @@ -2,15 +2,16 @@
REM N11rm44L 7w44711

echo {
set /p delopt="All or Specific [Choose Wisely , No Turning Back !] (a/s) :"
if %delopt%==a (netsh wlan delete profiles)
if %delopt%==s (set /p delnet="Network Name: " & goto delspecific)
set /p delopt="All or Specific [Choose Wisely , No Turning Back !] (A/s) :"
if %delopt%==A (netsh wlan delete profiles name=* interface=Wi-Fi)
if %delopt%==s (goto delspecific)
if %delopt%==S (goto delspecific)
echo }

:delspecific
set /p delnet="Network Name: "
netsh wlan delete profile name=%delnet% interface=Wi-Fi


echo }

pause
Expand Down
3 changes: 2 additions & 1 deletion export.bat
Expand Up @@ -4,13 +4,14 @@ REM BY N11rm44L 7w44711
echo {
set /p ex="ALL or Specific (a/s) :"
if %ex%==a (echo Exporting All Network Including Passwords ........ && goto all)
if %ex%==s (set /p exn="Name : " && goto specific)
if %ex%==s (goto specific)

:all
netsh wlan export profile key=clear folder=exports
goto end

:specific
set /p exn="Name : "
netsh wlan export profile name=%exn% key=clear folder=exports

:end
Expand Down
Binary file added img/WinNet.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions import.bat
@@ -0,0 +1,23 @@
:: GitHub : https://github.com/niirmaaltwaatii/WinNet
REM BY N11rm44L 7w44711

echo {
set /p iprt="Specific or From exports/ (s/e) :"
if %iprt%==e (goto exports)
if %iprt%==s (goto specific)

:exports
netsh wlan add profile filename=exports/Wi-Fi-*
goto end

:specific
set /p fn="File Location/Name : "
netsh wlan add profile filename=%fn%

:end

echo }

pause

winnet.bat
24 changes: 24 additions & 0 deletions update.bat
@@ -0,0 +1,24 @@
:: GitHub : https://github.com/niirmaaltwaatii/WinNet
REM N11rm44L 7w44711

echo {
set /p update="Stable / Beta (s/b) : "

if %update%==s (goto stable)
if %update%==b (goto beta)

:stable
git pull origin master
git checkout master
goto end

:beta
git pull origin beta
git checkout beta

:end
echo }

pause

winnet.bat

0 comments on commit d9d1e64

Please sign in to comment.