I hereby claim:
- I am stamp on github.
- I am stamp (https://keybase.io/stamp) on keybase.
- I have a public key whose fingerprint is 9D63 4B6E 26DA 3090 4DA0 8D72 47E3 B471 FA71 A7E9
To claim this, I am signing this object:
| #!/usr/bin/python3 | |
| import re | |
| import sys | |
| import os | |
| import argparse | |
| from construct import (Bytes, Int32ul, Struct) | |
| #from esp_coredump.__main__ import main | |
| from esp_coredump.corefile.elf import ESPCoreDumpElfFile | |
| from esp_coredump.corefile.loader import ESPCoreDumpFileLoader | |
| from esp_coredump.corefile import SUPPORTED_TARGETS |
I hereby claim:
To claim this, I am signing this object:
| <link rel="import" href="../core-scaffold/core-scaffold.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../core-menu/core-menu.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-menu/core-submenu.html"> | |
| <polymer-element name="my-element"> |
| class access { | |
| function checkCode($obj) { | |
| $data = db()->fetchSingle("SELECT salt FROM users WHERE uid=%d",u()); | |
| if ( !$data['salt'] ) | |
| return $obj->error('You have not activated two step verification, its mandatory for administrators'); | |
| $time = floor(time() / 30); | |
| for ( $i = -1; $i <= 1; $i++) { | |
| if ($this->getCode($data['salt'],$time + $i) == $obj->value) { |