Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

[Question] decode UDID of mobile devices


Question

Posted

I try to assign MAC address of wifi and Bluetooth of devices that are registered on HC2 for pushing messages. A clever way is to perform that is decoding UDID of device, as it contains all these info.

According to 

Please login or register to see this link.

 the UDID is the following 

 

Please login or register to see this code.

Does anybody knows a way to perform decoding online as HC2 did not provide hashing ability?

 

Hint: I just found an online API for encoding-> 

Please login or register to see this link.

 

It can help fibaro developers to solve the lack of fibaro to perform hashing !

5 answers to this question

Recommended Posts

  • 0
Posted

SHA1 from FIBARO dist

\opt\fibaro\plugins\com.fibaro.philipsTV\sha1.lua 

 

Please login or register to see this attachment.

SHA by @10der+ @petergebruers

Please login or register to see this attachment.

  • Thanks 1
  • 0
  • Inquirer
  • Posted

    I found more about UDID. it seems that it is not so easy as it looks

     

    Please login or register to see this link.

    • 0
    Posted

    sorry, i can't  understand what you trying to achieve 

    • 0
  • Inquirer
  • Posted

    I try to automatically find the mac address of wifi/bluetooth interface of every device is stored on /api/iosDevices

    On /api/iosDevices,  udid are included for every device.  UDID is a encrypted data of serial number of mobile device, ECID, wifi mac address,bluetoothMAC. So decrypting that, I can get the MAC address of device -> find IP address-> check presence of the device by VD. Even better I can scan of Bluetooth mac address if it present.

    I know it can be easier to manual entry the data but thinking like @Sankotronic, I like to minimize the user settings configuration on VDs.

    • 0
    Posted

    Hmm.... you can't revert meat from minced meat again.

     

    The definition of a cryptographic hash function includes resistance to preimages: given h(x), it should be infeasible to recover x.

    A hash function being "reversible" is the exact opposite of that property.

    Therefore, you can have no more a "reversible hash function" than you can have a fish allergic to water.

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...