Sinisterly
[Batch] Log In Terminal - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: [Batch] Log In Terminal (/Thread-Batch-Log-In-Terminal)



[Batch] Log In Terminal - DaPaus - 09-29-2011

Hello dear HC Members,

I was with my grandma today she has an old computer with windows XP but no internet.
I was so bored that I write this little Batch file.
Hope you like it !

Download Link
Sorry have no Virusscan but it is safe.
It is a .bat file and not encrypted so you can read the code before you use.

Bugs Feedback Tips and +rep always welcome Wink


RE: [Batch] Log In Terminal - Jacob - 09-29-2011

holy cow, this is very clean code and simple as hell..

I give you props on make ASCii art that clean and neat Biggrin


RE: [Batch] Log In Terminal - DaPaus - 09-29-2011

Thanks!
I'm happy you liked it Biggrin


RE: [Batch] Log In Terminal - DaPaus - 10-03-2011

Sorry for dubblepost but I make some changes in the script
Code:
@Echo off title Log-In Terminal taskkill /im explorer.exe /f >nul :begin echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º DaPaus Systems º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo Welcome to DaPaus Systems echo. echo You are trying to acces a Private Computer System. echo If you are not authorized please leave. echo. echo Press enter to continue to the Log In screen pause>nul goto loginscreen :loginscreen cls echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º DaPaus Systems º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo. set /p name=" Username: " if %name%==Dummie goto password1 else goto error :password1 set /p number=" Password: " if %number%==1234 goto dummiewelcome else goto error :dummiewelcome cls echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º DaPaus Systems º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo. set /p dummiename=" What is your name?:" start explorer.exe goto menu :menu cls echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º DaPaus Systems º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo. echo Hello %dummiename%! echo I'm happy you are trying this program. echo. echo Please take a Choice. echo ÉÍÍÍÍÍËÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º [1] º Google º echo ÌÍÍÍÍÍÎÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º [2] º Facebook º echo ÌÍÍÍÍÍÎÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º [3] º Hack Community º echo ÌÍÍÍÍÍÎÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º [C] º Credits º echo ÈÍÍÍÍÍÊÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo. set /p choice=" Where do you want to go to?:" if %choice%==1 goto google if %choice%==2 goto facebook if %choice%==3 goto hackcommunity if %choice%==C goto credits exit :google start http://www.google.com exit :facebook start http://www.facebook.com exit :hackcommunity start http://www.hackcommunity.com exit :credits cls echo. echo ÉÍÍÍÍÍÍÍ» echo ÉÍÍÍÍÍÍÍ͹CREDITSÌÍÍÍÍÍÍÍÍ» echo º ÈÍÍÍÍÍÍͼ º echo º º echo º Made By º echo º º echo º Da Paus º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º PRESS ENTER º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo. pause >nul cls echo. echo ÉÍÍÍÍÍÍÍ» echo ÉÍÍÍÍÍÍÍ͹CREDITSÌÍÍÍÍÍÍÍÍ» echo º ÈÍÍÍÍÍÍͼ º echo º º echo º Bugs Found? º echo º Want to give Feedback? º echo º Or other things? º echo º º echo º E-Mail º echo º dapaus@hotmail.be º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º PRESS ENTER º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo. pause >nul goto menu :error cls echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º DaPaus Systems º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo. echo ACCES DENIED echo. echo Log In Error @ %time% %date% >> %userprofile%\desktop\LogInLogs.txt goto begin pause >nul

So some Information:
- Don't worry about the taskill, explorer.exe is the GUI of windows. So it wil remove the taskbar etc. As you see in :dummiewelcome module it will come back if you log in correctly
It mean higher security but not total. ofcourse you can stop the file in taskmanager but you will need to restart explorer.exe. You can restart your computer or go to taskmanager>applications>new task>explorer.exe

Maybe someone can PM me the text with correct grammer because i think i made many mistakes. (sorry guys but I have dyslexia)
Questions, Feedback etc, Post it below Biggrin




RE: [Batch] Log In Terminal - killerOfCode - 03-23-2012

Hm, I did a copy and paste, but the characters are UTF-8, so it didn't display right. It also said that 'else' wasn't a command. I'm going to see if I can fix this one.