Can Windows Vista read minds (or anti-Vista blog posts)?

June 22, 2008 on 1:25 pm | In General | 3 Comments

[Update, several hours after posting this: after trying this out a few more times, the password Z/Y problem is NOT gone. It is still reproducible. But Vista still does not accept a DHCP offer from my router unless it wants to do something devious, as described below.]

The absolute weirdest thing happened yesterday… almost as weird as the time, back in 1994, when i fdisk’d and formatted a hard drive under OS/2 and, after rebooting, everything was still on the disk.

A few days ago i published a blog entry about how my copy of Windows Vista (or, put differently, my platform for running Starwars Battlefront) accepts incorrect passwords at its login screen. Now comes the weird bit…

In the 3 months i’ve had the machine, i have tried at least 20 times to get Vista to connect to my WLAN, and it always refused. That means my Vista has only once been online, when i tested with a LAN cable shortly after i bought the PC (our puppy ate the cable few days later). I have a mobile phone, a Nintendo Wii, and a total of 5 PCs/laptops with 3 different OSes (*buntu Linux, OpenSolaris, and my work-provided laptop with WinXP), all of which connect without problems to the WLAN (including Kubuntu on the same machine as Vista), but Vista just refuses. Every time i start Vista (to play Battlefront, of course) it bugs me with “cannot connect to download updates” messages. It sees the network, but simply cannot get an address over DHCP… until yesterday.

WHILE i was playing Battlefront… WHILE i was playing… my game suddenly died, unceremoniously. (Did i mention that i was playing Battlefront, my all-time favourite video game, at the time?) “What the foo?!?” i shouted, as the game has never, in all of my time playing it, crashed on me. Then the answer came directly from Microsoft - i was presented with a Vista screen saying, “Installing updates 2 of 3…”. It frigging KILLED my game to run updates! The observant reader will ask, “but how on gaia did it get the updates if it cannot connect to the network?” Indeed, how? While i was playing, it “somehow” connected, downloaded 3 updates, and rebooted my machine (without asking, thank you very frigging much again you fu**ing fu**s from Microsoft). (In my philosophy, rebooting a machine is quite possible the rudest thing you can do it, and rebooting is not something i do unless necessary (e.g. to start Vista to play Battlefront ;).)

After the reboot, i had a strange gut feeling (a “disturbance in the Force”, if you will, probably brought on by too much Battlefront), and immediately tried out the Z/Y mismatch bug (the one i documented a few days ago). Vista no longer accepts it. That is, it now appears to not accept an incorrect password.

It’s as if… as if… someone from Microsoft read my post, hacked my Vista (but not over the net, since my Vista cannot connect to the network), and uploaded a patch to discount my report of a security hole. Of course, i don’t for a minute believe that that really happened. (Aside from being patently absurd, history has shown it to be impossible for MS to react to bugs so quickly.) But the timing is absolutely uncanny. I had even, earlier in the day, tested the bug again to try out a suggestion made from a blog reader, and i’m 100% certain that it worked (as in, my bug report was valid) before this black-ops update.

And will Vista now connect to my WLAN? I thought for a moment that the upside was that i could now get online and download the latest patches for Battlefront (yeah, i’m addicted to it - it’s just emotionally satisfying to play the part of a Starwars action figure and go blasting bad guys). Wrong… the connection was a one-time thing. It managed to connect one time, download updates, and then (as before) refuses to accept an address over DHCP from my router.

Frigging weird.

So let’s see what happens now. If history repeats itself, Vista might just somehow read my mind, or this blog post, magically download some update for my NIC, and start working with my WLAN. Now if it would only read my mind when i click a .exe and stop frigging asking me if i was the one who clicked it.

Windows Vista accepts incorrect passwords

June 18, 2008 on 9:56 pm | In General | 23 Comments

i never thought the day would come that i, one of the least security-conscious people in the world, would report a Windows security flaw. The fact is - Windows Vista appears to try multiple variants of a password if the first one doesn’t match, at least when it is configured to use multiple keyboard layouts.

Here are the facts:

i have, on a newly-bought PC, a copy of Vista. It doesn’t do much except run Starwars Battlefront (it refuses to connect to my wireless network, even though my mobile phone, my Wii, and 3 other computers will, which means it’s just a brick which happens to run Starwars Battlefront). My keyboard is set up to switch between German and English (it’s a German Vista, but i type using a U.S. keyboard layout).

My login password for Vista has a ‘y’ in it, and anyone who uses English and German keyboards knows that the ‘y’ and ‘z’ characters are switched on those two layouts. That is, on a German keyboard, the ‘z’ is where the ‘y’ is on an English keyboard, and vice versa. The Windows login screen allows you to change the keyboard, just for the case that your password contains characters not available under the current keyboard.

However…

When i type in my password i always assume an English layout (a long-time habit), even though Windows defaults to a German layout (because it’s a German windows). Vista accepts my password, typed in with an English layout, even though the password cannot match when a German layout is enabled (because the ‘y’ is no longer a ‘y’). In fact, it doesn’t matter whether or not i explicitly switch the layout to German or English - it accepts the password either way.

Here’s how to try it at home:

a) Set up your Windows to allow keyboard layout switching. For the example, German/English.

b) Change your password to something containing a ‘y’.

c) Go to the login screen and make sure the keyboard layout is set to German.

d) Now enter the password AS IF it was set to an English layout.

Windows will (at least on my system) accept it, even though the password is incorrect. i’ve verified this on my setup at least five times. This “feature” is probably “a convenience to the user”, but it seems odd that they would add such a convenience, and then continually bombard the user with inconvenient “are you sure YOU clicked that .exe file?” dialogs.

Yet one more reason why Vista makes me feel dirty all over.

PS: Your mouse has moved. You must restart Windows for the changes to take effect.

s11n and Qt

June 8, 2008 on 3:18 pm | In General | 1 Comment

Seven days ago i started working on a new Qt4 application called http://wanderinghorse.net/gaming/QBoard, which is basically a little brother to a much older, long defunct, project of mine called QUB. QBoard is a boardgaming application and, as such, it needs to save/load a diverse set of data types (game boards, pieces, entire games, widgets of various types…). And, of course, we use libs11n for that.

As it turns out, adding s11n support in conjunction with Qt has been less effort than i expected. It’ll save QString unicode strings, for example, something i expected would be very problematic. (S11n internally only uses std::string, which is ASCII.) It also supports 15 different QVariant types (another case i thought would be terribly problematic) and demonstrates how to serialize QGraphicsItems objects (amongst others).

For anyone wanting to work with Qt and s11n together, the code might be informative or useful as a starting point. It’s all available in the QBoard source repository: http://wanderinghorse.net/cgi-bin/QBoard.cgi
(see src/S11n*.*).

On a historical note: libs11n was originally conceived while working on QUB (mentioned above), where a co-developer wrote a vaguely similar serialization library based on Qt3. I wanted those features in other applications, but wasn’t satisfied with having to adopt the GPL (or tight Qt integration) for all of my projects. So a replacement became inevitable, and work began on libs11n with the express long-term intention of re-implementing QUB from the ground up. Now here we are, almost exactly 5 years later, and that’s finally happening. This time, however, thanks to advances in both Qt and serialization technologies, in one week i’ve been able to code nearly as many features as QUB got in its first year or two of existence.

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^

  • Buy Cheap what is the cost of viagra 50mg Now Discount Pharmacy Online. Top Online Pharmacy.
  • Buy order tadalafil no prescription Online Without Prescription. Pharmacy Store. Low Prices.
  • Buy Cheap levitra buy online no prescription Online Buy Medications Online. WorldWide Shipping.
  • Buy Cheap cheap viagra for sale online paypal Now Best Drugstore. Special Prices For cheap viagra for sale online paypal!
  • Buy Cheapest buy viagra uk paypal Online Cheap Prescription Drugs. Best Internet.
  • Buy Cheapest free levitra sample pack Now Internet Prices For free levitra sample pack! Best Drugstore.
  • Buy Cheapest generic viagra forum Online Discount Pharmacy Online. Best Prices.
  • Buy Cheap buy viagra professional buy cheap Online Pharmacy Store. Buy Medications Online.
  • Buy Cheap how long does viagra work Now Online Medical Shop. Online Prices For how long does viagra work!
  • Buy Cheapest generic viagra lowest prices Now Top Online Pharmacy Supplier. Low Prices.
  • Buy Cheapest tadalafil uk Now Best Online. The Largest Internet Pharmacy.
  • Buy Cheapest australia viagra online without prescription Now Best Prices. Pharmacy At The Best Price!
  • Buy Cheapest buy generic viagra no prescription Now Pharmacy At The Best Price! Best Prices.
  • Buy Cheap real levitra Online Best Prices. The Largest Internet Pharmacy.
  • Buy Cheapest generic cialis online no prescription Online Pharmacy Store. 24/Online Pharmacy.
  • Buy Cheapest get sample cialis Online Best Online. Discount Online Pharmacy.
  • Buy Cheapest generic cialis 10mg online Online Low Prices. No Prescription Needed.
  • Buy Cheap comments order cialis without prescription Online Best Internet. Discount Online Pharmacy.
  • Buy Cheap cialis long does take work Online Cheap Online Pharmacy. Best Internet.
  • Buy Cheapest generic viagra 100mg Now Discount Online Pharmacy. Best Internet.
  • Buy Cheap best price for generic viagra Now Discount Pharmacy Online. Free Viagra Pills!
  • Buy Cheap legal generic cialis no prescription Now Free Viagra Pills! Internet Prices For legal generic cialis no prescription!
  • Buy Cheap medicine levitra 20mg Now Internet Prices For medicine levitra 20mg! Best Online.
  • Buy Cheap generic viagra forum Now Discount Pharmacy Online. Best Drugstore.
  • Buy Cheap viagra erectile dysfunction Now Best Drugstore. Internet Prices For viagra erectile dysfunction!
  • Buy Cheapest questions about viagra Now Pharmacy At The Best Price! Best Internet.
  • Buy Cheap where to buy viagra online forum Now Discount Online Pharmacy. Best Internet.
  • Buy Cheap viagra china buy Now Pharmacy At The Best Price! Best Drugstore.
  • Buy Cheap generic viagra us Online 100% Satisfaction Guaranteed. Low Prices.
  • Buy Cheapest viagra man song Online 24/Online Pharmacy. Low Prices.
  • Buy Cheapest benefits of viagra Now Online Prices For benefits of viagra! Best Drugstore.
  • Buy Cheap pills like viagra Online Low Prices. Cheap Prescription Drugs.
  • Buy Cheap generic cialis tadalafil Now Best Internet. Internet Prices For generic cialis tadalafil!
  • Buy Cheap cialis side effects for men Now Best Drugstore. Discount Pharmacy Online.
  • Buy Cheap tadalafil uk Online Special Prices For tadalafil uk! Best Prices.
  • Buy Cheapest cialis 20 mg when to take Now Top Online Pharmacy. WorldWide Shipping.
  • Buy Cheap buy fda approved viagra online Now WorldWide Shipping. Cheap Online Pharmacy.
  • viagra free Online Without Prescription WorldWide Shipping. Low Prices.
  • Buy Cheapest levitra canadian pharmacy Online Cheap Online Pharmacy. Best Drugstore.
  • Buy Cheapest viagra 50 mg or 100mg Online Guaranteed Shipping. Best Drugstore.
  • Buy Cheap does viagra means Now Online Prices For does viagra means! WorldWide Shipping.
  • Buy Cheapest viagra online order india from australia Now Pharmacy Store. Pharmacy At The Best Price!
  • Buy Cheap generic cialis 20 mg Online Best Internet. Buy Medications Online.
  • Buy Cheap levitra erectile dysfunction drugs Online Best Drugstore. Cheap Online Pharmacy.
  • Buy Cheap how is generic viagra legal without prescription Online Discount Online Pharmacy. Best Prices.
  • Buy Cheap canadian pharmacy viagra no prescription Now Safe And Secure Payment System. Low Prices.
  • Buy Cheap buying cialis online guide Online Low Prices. The Largest Internet Pharmacy.
  • Buy Cheap ed drug comparison Online Online Prices For ed drug comparison! Pharmacy Store.
  • Buy Cheapest sildenafil citrate online no prescription Now We Can Offer You Visit Our Online Pharmacy.
  • ed drug comparison Online Without Prescription Best Online. Free Viagra Pills!
  • Buy Cheapest buy black cialis without prescription Now Cheap Prescription Drugs. Best Drugstore.
  • Buy Cheapest viagra online pharmacy no prescription Now Top Online Pharmacy. Pharmacy Store.
  • Buy Cheap purchase discount cialis online Now Best Drugstore. Online Prices For purchase discount cialis online!
  • where to buy sildenafil citrate Online Without Prescription Best Drugstore. Best Prices.
  • Buy Cheap ed pills that work Online Best Drugstore. Drugs, Health And Beauty.
  • Buy Cheap cialis dosage and uses Online Best Prices. Cheap Prescription Drugs.
  • Buy Cheap soft pill cialis Now Order Cheap Meds Without Rx. Best Online.
  • Buy Cheapest long term efffects of viagra Now Top Online Pharmacy Supplier. Best Prices.
  • Buy Cheap comments viagra without a prescription Now Cheap Pharmacy Online. No Prescription Needed.
  • Buy Cheapest what is levitra 20 mg used for Now Discount Pharmacy Online. Best Online.
  • Buy Cheapest levitra on line ordering 50mg Now Drugs, Health And Beauty. Low Prices.
  • Buy Cheap buy cialis without prescription Now Guaranteed Shipping. Cheap Pharmacy Online.
  • Buy Cheapest buy cialis online next day shipping Now Free Viagra Pills! Online Medical Shop.
  • Buy Cheap viagra trial Online Guaranteed Shipping. Cheap Online Pharmacy.
  • Buy Cheap buy viagra uk paypal Now No Prescription Needed. Free Viagra Pills!
  • Buy Cheap is viagra over the counter Now Top Online Pharmacy Supplier. Best Prices.
  • Buy Cheapest viagra next day Now Order Cheap Meds Without Rx. Best Internet.
  • Buy Cheap how long does a viagra tablet last Online Best Online. Buy Medications Online.
  • Buy Cheap cheap cialis canada Online Free Viagra Pills! Online Medical Shop.
  • Buy Cheap took viagra Online Buy Medications Online. WorldWide Shipping.
  • Buy Cheapest what works as good as viagra Now Online Prices For what works as good as viagra! Low Prices.
  • Buy Cheap pfizer uk Now The Largest Internet Pharmacy. Best Drugstore.
  • Buy Cheapest buy sildenafil citrate without prescription Now Top Online Pharmacy. 24/Online Pharmacy.
  • Buy Cheapest cialis dosage when to take Online Pharmacy Store. Cheap Online Pharmacy.
  • Buy Cheap viagra online india Online Online Prices For viagra online india! Best Drugstore.
  • Buy Cheapest viagra experience Online No Prescription Needed. Low Prices.
  • Buy Cheapest levitra erectile dysfunction drugs Now Best Prices. Discount Online Pharmacy.
  • Buy Cheap pfizer uk Now Free Viagra Pills! Cheap Online Pharmacy.
  • Buy Cheapest viagra size pills Online Online Medical Shop. WorldWide Shipping.
  • Buy Cheap which is cheaper viagra cialis or levitra Now Online Medical Shop. Guaranteed Shipping.
  • Buy Cheap sildenafil citrate uk Online Best Drugstore. Guaranteed Shipping.
  • Buy Cheap tadalafil or tadalafil purchased Online Cheap Online Pharmacy. Best Internet.
  • Buy Cheapest order tadalafil no prescription Now Best Drugstore. Pharmacy At The Best Price!
  • Buy Cheap canadian pharmacy viagra no prescription Now The Largest Internet Pharmacy. Pharmacy Store.
  • Buy Cheapest canadian meds cialis Now WorldWide Shipping. Guaranteed Shipping.
  • Buy Cheap levitra forum Now Best Prices. Pharmacy At The Best Price!
  • vardenafil professional Online Without Prescription Free Viagra Pills! Low Prices.
  • Buy blue diet pills Without Prescription Doctor. Low Prices. Best Internet.
  • Buy Cheapest canada viagra online without prescription Online Guaranteed Shipping. Best Drugstore.
  • Buy levitra dose Without Prescription Doctor. Low Prices. Best Internet.
  • Buy Cheapest cialis original Online Best Online. Cheap Online Pharmacy.
  • Buy Cheapest side effects of levitra Online Online Prices For side effects of levitra! Best Prices.
  • Buy Cheap pfizer canada Online 24/Online Pharmacy. Online Medical Shop.
  • Buy Cheap generic cialis Now Low Prices. No Prescription Online Pharmacy.
  • Buy Cheapest took viagra Online Best Drugstore. 24/Online Pharmacy.
  • Buy Cheap generic viagra price Now Guaranteed Shipping. Cheap Online Pharmacy.
  • Buy Cheapest what does cialis do for men Now Best Online. Drugs, Health And Beauty.
  • Buy Cheapest generic sildenafil viagra Online Best Online. Drugs, Health And Beauty.
  • Buy Cheap generics cialis Now No Prescription Needed. 24/Online Pharmacy.
  • Buy Cheapest levitra erectile dysfunction drugs Now Pharmacy Store. Cheap Online Pharmacy.