Itancard

Preface

In order to (pretend to) increase security your bank may have issued you an iTANCard (or something similar). To make things better worse, you might be forced to look up more than one hash value.

This is for demonstration purposes only! Do not use this with real bank data!

But you can use it for any hash table that is not about security. ;-)

Downloads

Download
Download

Goal

Make the phone remember the values you've already entered once; ask for any new once and store them for later use.

In this example we assume three values, separated by spaces. These will be copied from the browser to the clipboard. In this example I assume 3 values, separated by spaces. Starting a Task widget will process them, assist you in filling in unknown values, and store the result in the clipboard, ready to be pasted into the browser.

When the Query Action, Variable Set runs you're supposed to paste the contents of the clipboard into the Name field, without overwriting the %. Enter the value from the iTANCard into the To field.

Do not leave the Query Action screen - you might not get back to it!

Todo

Create a new task, name it Session-1TAN and enter these Actions:

  1. Variable Clear, %TAN_nrw
  2. Variable Set, %EINS, 1
  3. Variable Set, %TAN_VALUE,
    # Read Line, /Tasker/TAN/%TAN_KEY, Line: %EINS, To Var: %TAN_VALUE
  4. Variable Set, %TAN_NEW, 1, If %TAN_VALUE ~
    # Vibrate, Time 1000, If %TAN_NEW ~ 1
  5. Flash, %TAN_KEY, Long, If %TAN_NEW ~ 1
  6. Set Clipboard, TAN_VALUE, If %TAN_NEW ~ 1
  7. Query Action, Variable Set, If %TAN_NEW ~ 1
  8. Write File, /Tasker/TAN/%TAN_KEY, %TAN_VALUE, If %TAN_NEW ~ 1
  9. Variable Set, %TAN_TEMP, %TAN_VALUE
  10. Variable Clear, %EINS

Create a new task, name it Session-Passwort and enter these Actions:

  1. Notifiy, TAN, Working…
  2. Variable Clear, %TAN_ALLE
  3. Variable Split, %CLIP
  4. Variable Set, %TAN_KEY, %CLIP1
  5. Variable Set, %TAN_TEMP,
    # Perform Task, Session-1TAN
  6. Wait Until, Seconds 1, Until %TAN_TEMP !~
    # Variable Set, %TAN_ALLE, %TAN_TEMP, Append
  7. Variable Set, %TAN_KEY, %CLIP2
  8. Variable Set, %TAN_TEMP,
    # Perform Task, Session-1TAN
  9. Wait Until, Seconds 1, Until %TAN_TEMP !~
    # Variable Set, %TAN_ALLE, %TAN_TEMP, Append
  10. Variable Set, %TAN_KEY, %CLIP3
  11. Variable Set, %TAN_TEMP,
    # Perform Task, Session-1TAN
  12. Wait Until, Seconds 1, Until %TAN_TEMP !~
    # Variable Set, %TAN_ALLE, %TAN_TEMP, Append
  13. Set Clipboard, %TAN_ALLE
  14. Variable Clear, %CLIP1
  15. Variable Clear, %CLIP2
  16. Variable Clear, %CLIP3
  17. Variable Clear, %TAN_KEY
  18. Variable Clear, %TAN_TEMP
  19. Variable Clear, %TAN_VALUE
  20. Variable Clear, %TAN_ALLE
  21. Variable Clear, %TAN_NEW
  22. Virbrate, 500
  23. Notifiy Cancel, TAN

Make a widget which runs Session-Passwort, create a directory called TAN inside the Tasker directory on the SD-card. Since this is the Expert section I will leave it up to you to find out how to do that.

Have fun and remember: This is for demonstration purposes only! Do not use this with real bank data!

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License