Archive for the Security Category

May 31 2010

Autostart Explorera z folderem „Moje Dokumenty”

Jeśli podczas uruchamiania komputera samoczynnie uruchamiają Moje Dokumenty.
uruchamiamy regedit:
pewnie jest tak:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
“Userinit”=”userinit.exe,EXPLORER.EXE”

a powinno być tak:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
“Userinit”=”userinit.exe”

dodatkowo:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

PersistBrowsers ma mieć wartość 0 .

May 28 2010

How to use Ubuntu LiveCD to get Windows Product Key from hosed system

@lkraemer, I posted it here because lots of people use the Ubuntu LiveCD to troubleshoot Windows problems. I thought I could get help here… and I was right. However, your response was very Microsoftian: lots of talk, but nothing useful.

@juanoleso, et al…

Because of your help, I was able to learnthe location of the Windows Registry files:
(C:\WINDOWS\system32\config\)

I also had found Magic Jellybean KeyFinder (MJBKF) in my searching previously, but was unaware that it would work on a hive that was not the current one, like some other programs of similar purpose. With information from you folks, I made some attempts. Here’s what worked…

1. I copied the config folder (mentioned above) to my USB drive using Ubuntu to get access to the hard drive.
2. On another Windows machine, I installed MJBKF and plugged in the USB drive.
3. MJBKF didn’t work if I pointed it to the config folder. So I thought to duplicate the directory structure it might normally see in Windows.
4. I created a windows folder, and then created a system32 folder in it.
5. I then moved the config folder into the system32 folder.
6. MJBKF worked fine when I pointed it to the newly-created windows folder. I was able to get my Windows XP Key!

L

Mar 19 2010

Wymuszenie SSL przy połączeniu z bazą MySQL

Tworzenie usera:

CREATE USER ‘user’@’%’ IDENTIFIED BY `123abc`;

odebranie uprawnień:

REVOKE ALL PRIVILEGES ON nazwabazy.* FROM user@`%`;

wymuszanie SSL:

GRANT SELECT, INSERT, UPDATE, DELETE ON nazwabazy.* TO user@`%` Require SSL;

lub

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, CREATE VIEW, EVENT, TRIGGER, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EXECUTE ON nazwabazy.* TO user@`%` Require SSL;

jeśli user ma mieć mozliwość połączenia tylko z localhosta to zamiast user@`%`  wpisujemy  user@localhost

Mar 2 2010

Limitowanie UDP na Mikrotiku

/ip firewall filter add chain=forward dst-address=x.x.x.x
dst-limit=50,70,dst-address/1m action=accept comment="" disabled=no
/ip firewall filter add chain=forward dst-address=x.x.x.x action=drop
comment="" disable=no
/ip firewall filter add chain=forward src-address=x.x.x.x
dst-limit=50,70,src-and-dst-address/1m action=accept comment="" disabled=no
/ip firewall filter add chain=forward src-address=x.x.x.x action=drop
comment="" disabled=no
Feb 25 2010

God Mode w Windows 7

Stwórz folder o nazwie God Mode.{ED7BA470-8E54-465E-825C-99712043E01C}

Po wciśnięciu ENTER druga część nazwy zniknie, a my będziemy mieli bezpośredni dostęp  do ponad 260 funkcji Windows.