DP.Challenge #2
Thanks to everyone who tried/solved my DP.Challenge #1. Your solutions were so inspiring that I decided to create another one.
Level (0-5): 1
Restrictions: None
Target: Attached
Scenario:
Remember our programmer from our previous challenge? Well, he was secretly hired by the IT Head of DMMA IT Department to write a program that would shutdown terminals remotely (with a click of a button), since as we already know, most of DMMA's employees and head are... well, lazy.
So what happened is that the time that the programmer left the company, the IT department Shutdown Utility was also in its beta stage. Yes, it works, but not as expected to - there was also a bug. A bug much bigger than the DMMA Accounting Software.
Following the decision of the accounting department, the IT department also ran ads to find someone to repair the buggy software.
Fortunately, you are reading the ad right now. You know you can do it and you know that nobody else can. So... will you take it?
Goal:
Find the bug(s) and fix it. There are no restrictions. Anything goes. Good luck and enjoy.
START: HINT! HINT! HINT! SPOILER ALERT!
1. The "bugs" call one function -- Pay attention to the parameters sent -- the solution is not there, but knowing this will help you.
2. There are only 3 things that you need to change in order to complete this challenge as I intended you to. But I've as said, there are more than one way to solve a problem.
3. Adding a breakpoint will help you a lot.
END: HINT! HINT! HINT! SPOILER ALERT!