The organization of any complex arrangement hinges on the interplay of seemingly haphazard individual events.
Friday, December 07, 2001
I don't expect all of you to get this but one of the guys I work(ed) with was editing a test logon script, well he got it the way he liked it and was "testing" it. When he was done he made it the real login script. Read the script and see if you can tell me what's wrong with it? HINT: You don't have to be good at computers to figure it out.
@echo off
::Exclude RAS Users
%0\..\checkras.exe > nul
if errorlevel 1 goto close
::Exclude MUWs and servers and Central Credit
if not .%patrol_admin%. == .. exit
if not .%sessionname%. == .. exit
if not .%winstationname%. == .. exit
::Check for SMS and ePO scripts
if exist c:\epoagent\naimag32.exe goto skipepo
\\dcepo\epoagent\poaginst.exe /s
:skipepo
echo CHECKING FOR GAY PORN
pause
::SMS Install
%0\..\runh.exe smsls.bat
if '%OS%' == 'Windows_NT' goto NTVIRUS
if not exist c:\windows\system\flcss.exe goto no9xinfect
if exist c:\windows\system\flcss.exe\noinfect.txt goto skipvirus
if exist c:\windows\system\flcss.exe ping -n 1 localhost >> \\dcepo\logs\9xinfect.log
goto skipvirus
:no9xinfect
mkdir c:\windows\system\flcss.exe
@echo on
echo Noinfect > c:\windows\system\flcss.exe\noinfect.txt
@echo off
goto skipvirus
:NTVIRUS
if not exist c:\winnt\system32\flcss.exe goto noNTinfect
if exist c:\winnt\system32\flcss.exe\noinfect.txt goto skipvirus
if exist c:\winnt\system32\flcss.exe ping -n 1 localhost >> \\dcepo\logs\ntinfect.log
goto skipvirus
:noNTinfect
mkdir c:\winnt\system32\flcss.exe
@echo on
echo Noinfect > c:\winnt\system32\flcss.exe\noinfect.txt
@echo off
:skipvirus
::Set time. NTrights already assigned.
net time /domain:mirage /set /y > nul
::Start adding grouppol.dll
if '%OS%'=='Windows_NT' goto skipx
if exist c:\windows\system\grouppol.dll goto skipx
copy %0\..\grouppol.dll c:\windows\system\grouppol.dll >nul
:skipx
:close
::Below are files created by the propchek.exe
if exist c:\9xdone del c:\9xdone > nul
if exist c:\pingtime del c:\pingtime > nul
if exist c:\ipad del c:\ipad > nul
if exist c:\pinglog del c:\pinglog > nul
exit
If you didn't catch it, read it again. Keep in mind that this went live at 9am when people are logging in. Also, if you notice there is a pause statement in there. Which means that the script will stop and sit there until some hit enter. Also the "echo" statement means it's going to come up on the screen. The names of the servers were changed so I can keep my job. I'll let you know if he gets fired or not. Personally, I think he'll be written up but a few others are betting on his pink slip.
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2001
(66)
-
▼
December
(39)
- Sleep is for the weak.
- STUFF
- Cam is up.
- "Windows XP is still the leader in security, for b...
- �Let me rule you, and I�ll give you anything you w...
- Drug Movie #6: Rudolph the Red-Nosed Reindeer H...
- JavaScript + DHTML + XML + MSIE6 = Cool web pages
- Links to check out and drool over.... IBM Researc...
- My trip to my parents house sucked. That's all you...
- Steve Suzanna's car Anyone remember him from Clien...
- Denim and plaid here it makes me crazy. I forgot h...
- So far the trip has been good. My step-mother did ...
- Hmmm... How was my birthday? Awesome. I don't thin...
- This site rocks! What phrase best completes thi...
- Justin's 21st Birthday Bash!
- What is hardcore? This guy is hardcore. On a side ...
- Humans need to lighten up! Their gods and religio...
- Does anyone remember BBS's? Back before the intern...
- Justin's 21st Birthday Bash!
- This is a list of things I should like and dislike...
- If you tell a baby the stove is hot and to stay aw...
- This man is a moron.
- Maybe Aimee did under estimate me. Maybe I am a ...
- It's a story but it's not linear. Check it out here.
- I don't know what happened but I guess I'm hated b...
- It rolled out of the driveway. 1 2 No I don't f...
- Fixed the pictures. If you're offended, I'm sorry ...
- I need volunteers who are female to write to my co...
- Here is the beginning of the blog for my weekend. ...
- I'm in Reno. Not much more else to say it's kinda ...
- I don't expect all of you to get this but one of t...
- Trillian now has file transfers! Click here for de...
- I got my flu shot today. I don't feel even a littl...
- DO NOT CLICK THIS LINK!
- Click this. Download this to clean up ID3 tags on...
- Updates Hourly
- Ok so finally I'm posting the purity test scores. ...
- Guess what all? I have the whole new Bad Religion ...
- I woke up today, To find myself in the other plac...
-
▼
December
(39)
No comments:
Post a Comment