proxmark3-web/templates/main.html
2019-10-18 21:20:14 -05:00

90 lines
2.6 KiB
HTML

<!doctype html>
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
<title>XFR-Card-Cloning-Demo</title>
<body class="bg-dark">
<div class="container">
<div class="row">
<div class="col-md-4 py-2">
<img class="img-fluid" src="/static/images/X-Force_Red_Logo_For_Dark_Backgrounds.png">
</div>
</div>
<div class="row">
<div class="col-sm-6 offset-sm-3 py-2">
<a href="/read/hid" class="btn btn-danger btn-lg btn-block" role="button">Read HID Card</a>
</div>
</div>
<div class="row">
<div class="col text-white">
<h1 class="h4">Card Info</h1>
<p>
OEM Code: {{ oem }}<br>
Facility Code: {{ facility_code }}<br>
Card Number: {{ card_number }}<br>
Raw HID Formated Card: {{ raw_cardnumber }}
</p>
</div>
</div>
<div class="row">
<div class="col py-2">
<form class="form-inline" action="/write" method="get">
<div class="form-group">
<label class="sr-only" for="exampleInputAmount">Card to clone</label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">Card ID: </span>
</div>
<input type="text" class="form-control" name="raw_cardnumber" value={{raw_cardnumber if raw_cardnumber else '2006540A73'}} placeholder={{raw_cardnumber if raw_cardnumber else '2006540A73'}}>
<div class="input-group-append">
<button type="submit" class="btn btn-danger" id="button-addon2">Clone Card!</button>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col text-white">
<p>
{% with messages = get_flashed_messages() %}
{% if messages %}
Status:
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}
{% endwith %}
&nbsp;
</p>
</div>
</div>
<div class="row">
<div class="col py-2">
<hr style="border-color: #fff;">
</div>
</div>
<div class="row">
<div class="col py-2">
<a href="/provision_card" type="button" class="btn btn-danger btn-lg">CREATE X-Force Red Card</a>
</div>
<div class="col py-2 text-center">
<a href="/wipe_card" type="submit" class="btn btn-warning btn-lg" formaction="/wipe_card">Wipe Card</a>
</div>
<div class="col py-2 text-right">
<a href="/" type="submit" class="btn btn-secondary btn-lg" formaction="/">RESTART</a>
</div>
</div>
</div>
<!-- I am a code comment. I have a Key for you. 2005FFFFFF. -->
</body>