
Steve21 (16th April 2011)

I would like to see something brighter.
Maybe a picture of a padlock? Or a stop sign? an unplugged network cable?
Something i would say is do not brand the lockscreen with EduLock. They will see this. They may google the software, find it and play around with it and find a way round it.
Cheers
Steve21 (17th April 2011)

Aye valid point. Think I'll end up making few options of screen etc.
Already redone a large part this afternoon, Changed it so you can choose if you want teachers to unlock, auto unlock, choose passwords, and written text etc. Aswell as changing the bits so admin password disables the "relock if disconnected" part etc
Just need to fix one thing I broke, and will make a few options for screens, and throw a new copy online tomorrow sometime.
(Still not sure if there's an easy way to check if GPOs applied without making the admins input a list of GPOs, which isn't very good way :P)
Thanks
Steve
its a good idea, i like it, but you need to obfusicate your source so its not so easy to decompile
string s = "You've been locked due to network cable disconnection!";
g.DrawString(s, font, brush, (float) ((((double) this.Width) / 2.0) - 10.0), (float) ((((double) this.Height) / 2.0) - 20.0), format);
string str2 = "Please get a teacher/admin to unlock!";
g.DrawString(str2, font, brush, (float) ((((double) this.Width) / 2.0) - 10.0), (float) ((((double) this.Height) / 2.0) + 20.0), format);
int num5 = width;
for (int i = 0; i <= num5; i += 7)
{
g.DrawLine(pen, 0f, i * num3, (float) (width - i), 0f);
this.BringToFront();
g.DrawLine(pen, 0f, (width - i) * num3, (float) (width - i), width * num3);
this.BringToFront();
g.DrawLine(pen, (float) (width - i), 0f * num3, (float) width, (width - i) * num3);
this.BringToFront();
g.DrawLine(pen, (float) (width - i), width * num3, (float) width, i * num3);
this.BringToFront();
}
this.TextBox1.Focus();
Steve21 (17th April 2011)

The problem with all that sort of stuff, is it doesn't make it harder to decompile. Only to understand.
I mean, take simple:
Sure you can make it stupidly long, hard to know what it does variables,int test as string
test = "Hi" + test
But end of day it's still exact same code. Unless I'm missing something :Pint AIWOTNAIOWHTIOAWTHANW as string
AIWOTNAIOWHTIOAWTHANW = "Hi" + AIWOTNAIOWHTIOAWTHANW
Steve
personally i would write it with win32 / c and remove the .net framework requirement
Steve21 (17th April 2011)
i know what your saying mate,
we actually encourage the use of .net decompiler for students to learn,
c/c++ compilation is a whole different ball game, are they any that will actually spit c/c++ source back out or do they all give asm
don't get me wrong, I wasn't trying to discourage you, I think its a great idea and will be looking at it monday,
on seconds thoughts keep it .net and I can make my own moded versions![]()
Steve21 (17th April 2011)

(Anyone know why I can't edit my first post anymore? Is there a limit to edits or something silly? O.o)
New version up:
EduLockv3.zip
Should fix a few issues, "imo" a much cleaner lock screen.Changes:
- Changed default lock screen to a "light" covering of their normal screen.
- By default the program has a notify Icon (bottom right taskbar), that can be used to access admin page
- Can choose wording to be shown, including multi-line
- Can change admin login, admin unlock and teacher passwords (Currently NOT saved between sessions)
- Can testLock the program from admin screen (Saves unplugging
)
Three passwords currently are:
Teacher Unlock: test
Admin Unlock: test2
Admin Console: admin
As mentioned, all changable currently, "but not" saved between sessions.
Can choose if teachers can unlock, if you want autounlock, and if icon shows (Idea being you hide it once admin first sets options, Which "will" save)
So yeah :P Any opinions on changes/If i missed something etc etc.
Things to do still:
- Save settings between sessions
- Hide passwords
- "Once" complete, remove debug kill switches!
Any other suggestions etc, Still gratefully accepting
Many Thanks,
Steve
FN-GM (17th April 2011)

Just firing up a VM now![]()

Auto Unlock seems good.
Much quicker in pickup up the disconnected cable.
How do you get into the admin console?
Steve21 (17th April 2011)

didnt notice, must of been hidden.
Good work so far though!
Steve21 (17th April 2011)

Problem found.
As i said before. If i disconnect during logon it will lock the machine. But once i reconnect it auto unlocks. Then the user has full access to a machine without any group policies.
Also when i log off i get the attached
Also when i right click the icon in the system tray there are no options the menu is empty
Last edited by FN-GM; 17th April 2011 at 12:32 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)