update
This commit is contained in:
parent
0bf1951ded
commit
d3aa4d2805
|
|
@ -164,13 +164,9 @@
|
|||
full responsibility for compliance with this declaration.
|
||||
</p>
|
||||
|
||||
<div class="section-title">Device ID</div>
|
||||
<div class="section-title">Device Id</div>
|
||||
<p>
|
||||
<?php
|
||||
exec("sudo chmod 444 /sys/class/dmi/id/product_uuid");
|
||||
$device_id = trim(file_get_contents('/sys/class/dmi/id/product_uuid'));
|
||||
echo $device_id;
|
||||
?>
|
||||
certificatecertificatecertificatecertificate
|
||||
</p>
|
||||
|
||||
<div class="signature">
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
<span class="pill"><a style="color: #ffffff;" href="https://wa.me/+918000741919">What's app</a></span>
|
||||
<span class="pill"><a style="color: #ffffff;" href="mailto:hello@urmic.org">Email</a></span>
|
||||
<span class="pill"><a style="color: #ffffff;" href="tel:+918000741919">Call Us</a></span>
|
||||
<span class="pill"><a style="color: #ffffff;" href="certification.php">Certificate</a></span>
|
||||
<span class="pill"><a style="color: #ffffff;" href="certification.html">Certificate</a></span>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
|
|
|
|||
|
|
@ -443,3 +443,5 @@ sudo ufw route allow proto udp to 224.0.0.0/4
|
|||
sudo ufw deny out to 239.255.254.254 port 39000 proto udp
|
||||
sudo ufw allow from 172.16.111.112 to 172.16.111.111 port 8080
|
||||
sudo ufw --force enable
|
||||
DEVICE_ID="$(cat /sys/class/dmi/id/product_uuid | tr -d '\n')"
|
||||
sudo sed -i 's/certificatecertificatecertificatecertificate/${DEVICE_ID}/g' /var/www/html/certification.html
|
||||
Loading…
Reference in New Issue