Monday 29 August 2016

How use 3M CR100 Document Reader with haj portal ehaj.haj.gov.sa

Do you surprised that 3M CR100 doest work with ehaj portal from a box?

3M CR100 MRZ passport reader 
Don't worry. 

1) Fist of all install driver.

2) Find in C:\Program Files (x86)\3M\3M Swipe Reader\1.2.1.2\Config
SwipeSampleScript.xml file
3) Open and replace all from this field



4) Save file.
5) open ketboardwedge.exe and select MRZ in dropdownlist. Thats all.


Friday 15 July 2016

New hajj portal design 2016

Today we see more compact design of hajj portal. This is good. But in passport process nothing changed from last year. Miss to old portal with fastest pilgrim registration.

Some companies can emulate passport scanner for web page not only with selenium today.
They can send pilgrims via http request without user interface. This is much faster. We have some solutions too.
And dont foget how you can emulate passport without any hardware.

hajj portal 2016 main page

Wednesday 26 August 2015

3M AT9000 keyboard wedge

this is easy
1) Install SDK http://www.3m.com/ssdcp/3M%20Page%20Readers/Standard/3M%20Page%20Reader%20SDK%203.3.3.10%20Setup.exe

2) Find KeyboardWedge.exe in "bin" folder of there 3M SDK folder was installed.

C:\Program Files (x86)\3M\3M Page Reader\3.3.2.7\Bin
Or if your system is 32bit
C:\Program Files\3M\3M Page Reader\3.3.2.7\Bin



3) Switch keyboard to English.Then application KeyboardWedge.exe start open notepad and put the passport on scanner. You must see MRZ from the passport without difference.

If you will see strange symbols you must select in windows language settings "English". This is where you find "language for the program that do not supported UTF8"

Wednesday 15 July 2015

Ehaj.haj.gov.sa whats new? How attach passport readers?


Wow, new season new surprise.

Add Hajj Information


How this page works?

Easy. Many passport readers enter data via the keyboard (simulate keyboard typing).

Then you try to start typing something you will see changes in blue box with "Ready for scan" text.
This mean js script start to parse input data. After it js script encrypt mrz data by RSA with public key, divide it by 3 path and send to server. They obfuscate encrypting script  but no problem to read code. They use  open encrypting js library  and add own ~170 lines of code at the end of file.

How you can test it without passport reader?

1) Install it http://www.autohotkey.com
2) Create mrz.ahk file with this content
Sleep 4000
Send  P<USAOBAMA<<BARAK<<<<<<<<<<<<<<<<<<<<<<<<<<<{enter}01111111<5USA6001010M1001015<<<<<<<<<<<<<<08;
3) Turn keyboard lang to english.
4)  Start mrz.ahk and quickly move to the front your browser with page like on upper picture. Click on page to set window focus. Wait.


Props:
  • They allow upload photograph more then 15kb! Below 5kb you can get error.
  • They did pilgrims form simpler
  • They want to change something with hajj process
  • They have a ticket system
 This is this is a small holiday :-)

Cons:
  • They did more steps for pilgrim submiting
  • They did slow speed portal
  • They did portal with often 500 errors
  • They still use old technology and patterns with mojarra framework (java)
  • And the most important  - they do not want hear about API for submitting!
    What they think? Manually submitting provide less errors? This is not right. No one interesting for dong errors.
  • There is ActiveX for reading images from e-passports? Why we need upload images 1000 times?

For Access-is OCR640 
For 3M AT 9000  MK2

Thursday 11 September 2014

How to fill hajj visa form manually without passport scanners not only in Internet explorer?

Do you want enter to site without internet explorer?
You want edit pilgrim form (exclude passport number) not on windows machine only? Linux, MacOS?

Its very easy!

Wednesday 3 September 2014

What is "Kindly use MOFA Passport Reader" error on submit mofa visa page?


INFO

Kindly use MOFA Passport Reader - is new fantastic technology from our KSA "friends".
2 september 2014 they are update your ActiveX component.3 September updated again. They add generation secret digits from passnumber.  And they check code from activeX with code from server.
Оnly from AtiveX this code can be get. They try all of us use idiotic logic: we need all in the the world  fill 4 million forms by hands every year!!!We need upload 2 million photographs by hand!!!

GUYS!! DO YOU KNOW ABOUT API ANYTHING? WHY YOU HATE US?
IF YOU NEED HELP WE ALL OPEN FOR YOU.
you dont get an answer... 
Anyway:

How you can hack this:

1) The most universal way to use passportreader dll like com object in your application. If KSA friends want obfuscate code tomorrow is nothing to brake on you system. Its most universal way but not  fastest.
https://visa.mofa.gov.sa/References/PassportReaderSetup.CAB#version=1,2,0,0
2) Mail me to get algorithm :-)