ALT+NUMPAD ASCII Key Combos: The α and Ω of Creating Obscure Passwords

来源:互联网 发布:c语言百分号 编辑:程序博客网 时间:2024/04/27 15:42

http://www.irongeek.com/alt-numpad-ascii-key-combos-and-chart.html


As some Microsoft Operating System geeks know, you can type many more characters than are on a standard keyboard by using the ALT+NUMPAD combination technique. For example, by holding down the ALT key, typing 234 on the number pad, then releasing ALT gives you the Ω character. I'm writing this article mostly because when I search around for information on the topic of ALT+Number key combos I find pages that are lacking in details. Most of the pages I found are coming from the angle of using ALT+NUMPAD combinations as shortcuts for typing in non-English languages, but I have another use for them. Using ALT+NUMPAD can make for some very ugly passwords to crack. These odd characters have two major advantages over normal keystrokes:

1. They are unlikely to be in someone's dictionary or brute force list. Try brute forcing a password like "ace of ♠s" or "I am the α and the Ω".

2. Some hardware key loggers will not log these odd characters. Your mileage may vary on this as some key loggers can, so don't rely on it to keep you 100% safe.

        I'll cover the 2nd point more in an upcoming article. Using ALT+NUMPAD to type odd characters into your password also has a few disadvantages.

1. The way they are described in this article only works in Microsoft Operating Systems (DOS, Windows 9x, Vista, XP, 2000), and there may be some variation amongst the different versions. If you know of a good way to do the same thing in Linux please email me.

2. Not all applications will let you use these odd characters. For testing I tried the password "Ωÿ" (ALT+234 and ALT+0255) on a Windows XP local account, and on the IP.Boards atBinRev.com and it worked fine, but not all application will let you use these sorts of characters in your password.

Microsoft has the following to say on the subject of ALT+NUM key codes:

 

From:http://www.microsoft.com/globaldev/reference/glossary.mspx

Alt+Numpad: A method of entering characters by typing in the character's decimal code with the Numeric Pad keys (Num Lock turned on). In Windows:
• Alt+<xxx>, where xxx is the decimal value of a code point, generates an OEM-encoded character.
• Alt+<0xxx>, where xxx is the decimal value of a code point, generates a Windows-encoded character.
• Alt+<+>+<xxxx>, where xxxx is the hexadecimal Unicode code point, generates a Unicode-encoded (UTF-16) character.

        Shortly I'll explain explain the first two methods further. The 3rd is more problematic to work with. First, you may have to edit your registry and add a the REG_SZ value "HKEY_Current_User/Control Panel/Input Method/EnableHexNumpad", then set it to "1". Also, depending on where you are trying to type the character the application may interpret your hexadecimal Fs as attempts to bring down the file menu. Since method three is so problematic I'll focus on the first two methods.

        First, make sure you are using the number pad and not the top roll number keys, only the number pad works for this. Second, make sure NUM LOCK is on. It does not have to be on in all cases for these key combos to work, but it helps by keeping the number pad from being misinterpreted.

        The chart below shows the relevant key codes to get various symbols. The table on the left shows the OEM Extended ASCII character set (AKA: IBM PC Extended Character Set; Extended ASCII; High ASCII; 437 U.S. English). True ASCII is only 7 bit, so the range is 0 to 127. IBM extended it to 8 bits and added more characters. To type these characters you merely have to hold down an ALT key, type the numeric value of the character, then release the ALT key.

        The table on the right shows the ANSI character set (AKA: Window's ANSI/ISO Latin-1/ANSI Extended ASCII, though technically they are not exactly the same thing.). To use the ANSI character set you do the same thing as the OEM set, but you preface the number with an extra zero. Notice that the first 127 should be the same in both sets, though values 0-31 may not be viewable in all cases. I've been in "character encoding hell" just trying to get this article on my site in a readable format.

        I'm only covering the first 256 characters of both sets in my chart, in some cases you can go higher but it depends on the application you are typing in. For example, ALT+257 gives me ā in Wordpad, but in Notepad it loops back around the character set and gives me☺(257-256=1 which is ☺ in the OEM set) . If you want to know what key code will bring up a particular character in a certain Windows font run Windows Character Map (charmap.exe) and look in the bottom right corner to find out.

        I hope this information is useful to some of you, I'll be referring back to it when I start to write my hardware key logger reviews. Check out the links at the bottom of this page for further information on the topic.

IBM (AKA: OEM) / PC Extended ASCII

Window's ANSI/ISO Latin-1/ANSI Extended ASCII

<td< td="">ALT+0 ALT+1ALT+2ALT+3ALT+4ALT+5ALT+6ALT+7 ALT+8ALT+9 ALT+10 ALT+11ALT+12T+13 ALT+14ALT+15ALT+16ALT+17ALT+18ALT+19ALT+20ALT+21§ALT+22ALT+23ALT+24ALT+25ALT+26ALT+27ALT+28ALT+29ALT+30ALT+31ALT+32 ALT+33!ALT+34"ALT+35#ALT+36$ALT+37%ALT+38&ALT+39'ALT+40(ALT+41)ALT+42*ALT+43+ALT+44,ALT+45-ALT+46.ALT+47/ALT+480ALT+491ALT+502ALT+513ALT+524ALT+535ALT+546ALT+557ALT+568ALT+579ALT+58:ALT+59;ALT+60<ALT+61=ALT+62>ALT+63?ALT+64@ALT+65AALT+66BALT+67CALT+68DALT+69EALT+70FALT+71GALT+72HALT+73IALT+74JALT+75KALT+76LALT+77MALT+78NALT+79OALT+80PALT+81QALT+82RALT+83SALT+84TALT+85UALT+86VALT+87WALT+88XALT+89YALT+90ZALT+91[ALT+92\ALT+93]ALT+94^ALT+95_ALT+96`ALT+97aALT+98bALT+99cALT+100dALT+101eALT+102fALT+103gALT+104hALT+105iALT+106jALT+107kALT+108lALT+109mALT+110nALT+111oALT+112pALT+113qALT+114rALT+115sALT+116tALT+117uALT+118vALT+119wALT+120xALT+121yALT+122zALT+123{ALT+124|ALT+125}ALT+126~ALT+127ALT+128ÇALT+129üALT+130éALT+131âALT+132äALT+133àALT+134åALT+135çALT+136êALT+137ëALT+138èALT+139ïALT+140îALT+141ìALT+142ÄALT+143ÅALT+144ÉALT+145æALT+146ÆALT+147ôALT+148öALT+149òALT+150ûALT+151ùALT+152ÿALT+153ÖALT+154ÜALT+155¢ALT+156£ALT+157¥ALT+158ALT+159ƒALT+160áALT+161íALT+162óALT+163úALT+164ñALT+165ÑALT+166ªALT+167ºALT+168¿ALT+169ALT+170¬ALT+171½ALT+172¼ALT+173¡ALT+174«ALT+175»ALT+176ALT+177ALT+178ALT+179ALT+180ALT+181ALT+182ALT+183ALT+184ALT+185ALT+186ALT+187ALT+188ALT+189ALT+190ALT+191ALT+192ALT+193ALT+194ALT+195ALT+196ALT+197ALT+198ALT+199ALT+200ALT+201ALT+202ALT+203ALT+204ALT+205ALT+206ALT+207ALT+208ALT+209ALT+210ALT+211ALT+212ALT+213ALT+214ALT+215ALT+216ALT+217ALT+218ALT+219ALT+220ALT+221ALT+222ALT+223ALT+224αALT+225ßALT+226ΓALT+227πALT+228ΣALT+229σALT+230µALT+231τALT+232ΦALT+233ΘALT+234ΩALT+235δALT+236ALT+237φALT+238εALT+239ALT+240ALT+241±ALT+242ALT+243ALT+244ALT+245ALT+246÷ALT+247ALT+248°ALT+249ALT+250·ALT+251ALT+252ALT+253²ALT+254ALT+255 ALT+00 ALT+01ALT+02ALT+03ALT+04ALT+05ALT+06ALT+07 ALT+08ALT+09 ALT+010 ALT+011 ALT+012 ALT+013 ALT+014ALT+015ALT+016ALT+017ALT+018ALT+019ALT+020ALT+021ALT+022ALT+023ALT+024ALT+025ALT+026ALT+027ALT+028ALT+029ALT+030ALT+031ALT+032 ALT+033!ALT+034"ALT+035#ALT+036$ALT+037%ALT+038&ALT+039'ALT+040(ALT+041)ALT+042*ALT+043+ALT+044,ALT+045-ALT+046.ALT+047/ALT+0480ALT+0491ALT+0502ALT+0513ALT+0524ALT+0535ALT+0546ALT+0557ALT+0568ALT+0579ALT+058:ALT+059;ALT+060<ALT+061=ALT+062>ALT+063?ALT+064@ALT+065AALT+066BALT+067CALT+068DALT+069EALT+070FALT+071GALT+072HALT+073IALT+074JALT+075KALT+076LALT+077MALT+078NALT+079OALT+080PALT+081QALT+082RALT+083SALT+084TALT+085UALT+086VALT+087WALT+088XALT+089YALT+090ZALT+091[ALT+092\ALT+093]ALT+094^ALT+095_ALT+096`ALT+097aALT+098bALT+099cALT+0100dALT+0101eALT+0102fALT+0103gALT+0104hALT+0105iALT+0106jALT+0107kALT+0108lALT+0109mALT+0110nALT+0111oALT+0112pALT+0113qALT+0114rALT+0115sALT+0116tALT+0117uALT+0118vALT+0119wALT+0120xALT+0121yALT+0122zALT+0123{ALT+0124|ALT+0125}ALT+0126~ALT+0127ALT+0128ALT+0129ALT+0130ALT+0131ƒALT+0132ALT+0133ALT+0134ALT+0135ALT+0136ˆALT+0137ALT+0138ŠALT+0139ALT+0140ŒALT+0141ALT+0142ŽALT+0143ALT+0144ALT+0145ALT+0146'ALT+0147"ALT+0148"ALT+0149ALT+0150ALT+0151ALT+0152˜ALT+0153ALT+0154šALT+0155ALT+0156œALT+0157ALT+0158žALT+0159ŸALT+0160 ALT+0161¡ALT+0162¢ALT+0163£ALT+0164¤ALT+0165¥ALT+0166¦ALT+0167§ALT+0168¨ALT+0169©ALT+0170ªALT+0171«ALT+0172¬ALT+0173 ALT+0174®ALT+0175¯ALT+0176°ALT+0177±ALT+0178²ALT+0179³ALT+0180´ALT+0181µALT+0182ALT+0183·ALT+0184¸ALT+0185¹ALT+0186ºALT+0187»ALT+0188¼ALT+0189½ALT+0190¾ALT+0191¿ALT+0192ÀALT+0193ÁALT+0194ÂALT+0195ÃALT+0196ÄALT+0197ÅALT+0198ÆALT+0199ÇALT+0200ÈALT+0201ÉALT+0202ÊALT+0203ËALT+0204ÌALT+0205ÍALT+0206ÎALT+0207ÏALT+0208ÐALT+0209ÑALT+0210ÒALT+0211ÓALT+0212ÔALT+0213ÕALT+0214ÖALT+0215×ALT+0216ØALT+0217ÙALT+0218ÚALT+0219ÛALT+0220ÜALT+0221ÝALT+0222ÞALT+0223ßALT+0224àALT+0225áALT+0226âALT+0227ãALT+0228äALT+0229åALT+0230æALT+0231çALT+0232èALT+0233éALT+0234êALT+0235ëALT+0236ìALT+0237íALT+0238îALT+0239ïALT+0240ðALT+0241ñALT+0242òALT+0243óALT+0244ôALT+0245õALT+0246öALT+0247÷ALT+0248øALT+0249ùALT+0250úALT+0251ûALT+0252üALT+0253ýALT+0254þALT+0255ÿ    

Links:

How to enter Unicode characters in Microsoft Windows
http://www.fileformat.info/tip/microsoft/enter_unicode.htm

ASCII and Unicode and other character encodings
http://qcpages.qc.cuny.edu/~nixon/links/asciiUnicode.html

Microsoft Character sets
http://www.microsoft.com/typography/unicode/cs.htm

Wikipedia Article on Windows Alt Keycodes
http://en.wikipedia.org/wiki/Windows_Alt_Keycodes



原创粉丝点击