mirror of
https://github.com/videoman/proxmark3-web.git
synced 2024-12-26 09:21:55 +08:00
update
This commit is contained in:
parent
3e194932d0
commit
bb5b6c751c
1 changed files with 4 additions and 2 deletions
|
@ -90,7 +90,8 @@ if(True):
|
|||
#return 'Hello, World!\n<br>Raw Card Number:' + raw_cardnumber + '<br> Card ID:' + card_number + ' FC:' + facility_code
|
||||
card = get_card_data(cardnumber.stdout.decode('ASCII'))
|
||||
print(card)
|
||||
print(str(datetime.now()) + ' _Card Used_ ' + card, file=open(logfile, "a"))
|
||||
current_time = str(datetime.now()
|
||||
print(current_time + ' _Card Used_ ' + card, file=open(logfile, "a"))
|
||||
return render_template('main.html',
|
||||
card_number=card['card_number'],
|
||||
oem=card['oem'],
|
||||
|
@ -110,7 +111,8 @@ if(True):
|
|||
if('HID Prox TAG ID:' in cardnumber.stdout.decode('ASCII')):
|
||||
card = get_card_data(cardnumber.stdout.decode('ASCII'))
|
||||
print(card)
|
||||
print(str(datetime.now()) + ' _Card Used_ ' + card, file=open(logfile, "a"))
|
||||
current_time = str(datetime.now())
|
||||
print(current_time + ' _Card Used_ ' + card, file=open(logfile, "a"))
|
||||
card_read=1
|
||||
#return 'Hello, World!\n<br>Raw Card Number:' + raw_cardnumber + '<br> Card ID:' + card_number + ' FC:' + facility_code
|
||||
return render_template('main.html',
|
||||
|
|
Loading…
Reference in a new issue