⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
node_modules
/
jsbarcode
/
example
/
Edit File: toBase64.html
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title></title> <script src="../dist/JsBarcode.all.js"></script> <script> function textToBase64Barcode(text){ var canvas = document.createElement("canvas"); JsBarcode(canvas, text, {format: "CODE39"}); return canvas.toDataURL("image/png"); } </script> </head> <body> <a id="hello">Click Here</a> <script> document.querySelector("#hello").href = textToBase64Barcode("HELLO"); </script> </body> </html>
Simpan