-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
32 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
# Fortinet-Auth-Login | ||
# Fortinet-Auth-Login | ||
|
Binary file not shown.
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
@echo off | ||
|
||
chcp 65001 > NUL | ||
|
||
echo ************************************************************** | ||
echo * 歡迎使用 auth-Hello * | ||
echo * 安裝後,可以自動登入 * | ||
echo * by George * | ||
echo ************************************************************** | ||
echo. | ||
|
||
set /p UN=Enter Username: | ||
set /p PSWD=Enter password: | ||
|
||
|
||
echo %UN% > %userprofile%\.helloauthcred | ||
echo %PSWD% >> %userprofile%\.helloauthcred | ||
echo. | ||
echo 初始化設定中... | ||
|
||
taskkill /f /im auth-Hello.exe /fi "username eq %USERNAME%" > NUL | ||
xcopy /y auth-Hello.exe %APPDATA%"\Microsoft\Windows\Start Menu\Programs\Startup" >NUL | ||
start %APPDATA%"\Microsoft\Windows\Start Menu\Programs\Startup"\auth-Hello.exe | ||
|
||
echo. | ||
echo 恭喜您,完成設定囉 ^^.^< | ||
echo. | ||
|
||
pause | ||
@echo off | ||
|
||
chcp 65001 > NUL | ||
|
||
echo ************************************************************** | ||
echo * 歡迎使用 auth-hello * | ||
echo * 安裝後可以自動登入防火牆安全驗證 * | ||
echo * by George * | ||
echo ************************************************************** | ||
echo. | ||
|
||
set /p UN=Enter Username: | ||
set /p PSWD=Enter password: | ||
|
||
|
||
echo %UN% > %userprofile%\.helloauthcred | ||
echo %PSWD% >> %userprofile%\.helloauthcred | ||
echo. | ||
echo 初始化設定中... | ||
|
||
taskkill /f /im auth-Hello.exe /fi "username eq %USERNAME%" > NUL | ||
xcopy /y auth-hello.exe %APPDATA%"\Microsoft\Windows\Start Menu\Programs\Startup" >NUL | ||
start %APPDATA%"\Microsoft\Windows\Start Menu\Programs\Startup"\auth-hello.exe | ||
|
||
echo. | ||
echo 恭喜您,完成設定囉 ^^.^< | ||
echo. | ||
|
||
pause |
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 @@ | ||
pyinstaller --onefile --icon=auth.ico --clean --noconsole auth.py |