Friday, April 13, 2012

Disable Windows 7 Blank Password Restriction

Regedit to 


HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa 


Double-click on LimitBlankPasswordUse.


Change the value from 1 to 0 and reboot :)

Tuesday, February 14, 2012

Generic USB 2.0 10/100M Ethernet * Adaptor * on (Mac) OS X 10.7 Lion

Before you bash me for writing "adaptor", I just kept the name which is listed when you launch 
system_profiler SPUSBDataType .

USB 2.0 10/100M Ethernet Adaptor:

              BSD Name: en3
              Product ID: 0x9700
              Vendor ID: 0x0fe6
              Version: 1.01
              Speed: Up to 12 Mb/sec
              Location ID: 0xfa130000 / 6
              Current Available (mA): 500
              Current Required (mA): 120

I hope others can reach to this blog with the query above :)

So after digging the internet and have found nothing, I actually found the CD which came together with the USB adapter. I'm uploading the Mac folder from it here just in case you need it too.

Enjoy.



Sunday, January 30, 2011

Non-persistent Bluetooth PIN code problem with Ubuntu Maverick Meerkat

After f*cking around with my bluetooth dongle, I found the solution on Ubuntu forum.
In summary, we have:

Problem: Ubuntu can't memorize the PIN code of a Blueetooth device (in my case, Logitech Cordless MediaBoard Pro(TM)). After every boot (or after a while idle) the system will prompt the user to enter a PIN code.

Solution: upgrade bluez to 4.89.

How to:
1. Open Terminal
2. sudo add-apt-repository ppa:brian-rogers/ppa
3. sudo apt-get update
4. sudo apt-get install bluez
5. rm /etc/apt/sources.list.d/brian-rogers-ppa-maverick.list

Don't forget to remove the repository (step 5) before doing a apt-get upgrade otherwise your whole system will match brian-rogers' repository.

NB: Use the repository at your own risk. The official bluez webpage is http://www.bluez.org/ - but there is no .deb package ready to be used, you'll have to build your own in this case.

Here are my outputs:

htpc@htpc:~$ lsusb 

Bus 003 Device 006: ID 0a5c:2148 Broadcom Corp. 
Bus 003 Device 005: ID 0a5c:4503 Broadcom Corp. 
Bus 003 Device 004: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass)
Bus 003 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)


Before upgrading bluez:

htpc@htpc:~$ dpkg -l | grep bluez
ii  bluez 4.69-0ubuntu2 Bluetooth tools and daemons
ii  bluez-alsa 4.69-0ubuntu2      Bluetooth audio support
ii  bluez-cups 4.69-0ubuntu2 Bluetooth printer driver for CUPS
ii  bluez-gstreamer 4.69-0ubuntu2 Bluetooth GStreamer support
ii  bluez-utils 4.69-0ubuntu2 Transitional package



After upgrading bluez:



htpc@htpc:~$ dpkg -l | grep bluez
ii  bluez 4.84-~0maverick Bluetooth tools and daemons
ii  bluez-alsa 4.69-0ubuntu2      Bluetooth audio support
ii  bluez-cups 4.69-0ubuntu2 Bluetooth printer driver for CUPS
ii  bluez-gstreamer 4.69-0ubuntu2 Bluetooth GStreamer support
ii  bluez-utils 4.69-0ubuntu2 Transitional package

Monday, June 7, 2010

Configure Metasploit and SVN Client behind a proxy

If you're setting up Metasploit and can't seem to make msfupdate to work because you're behind a proxy, here is a fast tip:

# nano /etc/subversion/servers

Scroll down until the end of the file and uncomment the lines below  as well as set the appropriate values:

# http-proxy-exceptions = *.exception.com, www.internal-site.org
http-proxy-host = proxy.company.com
http-proxy-port = 3128

Save and run msfupdate and you're good to go :)