basic.tmpl 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Gitleaks Security Findings Report</title>
  7. <style>
  8. :root {
  9. --primary-color: #2563eb;
  10. --primary-color-rgb: 37, 99, 235;
  11. --primary-dark: #1d4ed8;
  12. --primary-light: #3b82f6;
  13. --secondary-color: #f3f4f6;
  14. --surface-color: #ffffff;
  15. --border-color: #e5e7eb;
  16. --text-color: #374151;
  17. --text-light: #6b7280;
  18. --text-inverse: #ffffff;
  19. --error-color: #ef4444;
  20. --warning-color: #f59e0b;
  21. --success-color: #10b981;
  22. --highlight-color: rgba(255, 255, 0, 0.2);
  23. --highlight-secret: rgba(239, 68, 68, 0.2);
  24. --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  25. --radius: 0;
  26. --font-mono: 'Fira Code', 'IBM Plex Mono', 'Source Code Pro', monospace;
  27. --font-main: 'IBM Plex Sans', 'Roboto Mono', monospace;
  28. }
  29. body.dark-mode {
  30. --primary-color: #1e40af;
  31. --primary-dark: #1e3a8a;
  32. --primary-light: #3b82f6;
  33. --secondary-color: #1f2937;
  34. --surface-color: #111827;
  35. --border-color: #374151;
  36. --text-color: #f3f4f6;
  37. --text-light: #9ca3af;
  38. --text-inverse: #111827;
  39. --highlight-color: rgba(255, 255, 0, 0.3);
  40. --highlight-secret: rgba(255, 99, 99, 0.3);
  41. }
  42. * {
  43. margin: 0;
  44. padding: 0;
  45. box-sizing: border-box;
  46. }
  47. html, body {
  48. height: 100%;
  49. font-family: var(--font-main);
  50. font-size: 16px;
  51. line-height: 1.5;
  52. color: var(--text-color);
  53. background-color: var(--surface-color);
  54. }
  55. .app-container {
  56. display: flex;
  57. flex-direction: column;
  58. height: 100%;
  59. max-width: 100%;
  60. overflow: hidden;
  61. }
  62. .app-header {
  63. height: 60px;
  64. background-color: var(--primary-color);
  65. color: var(--text-inverse);
  66. display: flex;
  67. align-items: center;
  68. justify-content: space-between;
  69. padding: 0 1.5rem;
  70. flex-shrink: 0;
  71. box-shadow: var(--shadow);
  72. z-index: 10;
  73. }
  74. .logo h1 {
  75. font-size: 1.5rem;
  76. font-weight: 600;
  77. }
  78. .header-actions {
  79. display: flex;
  80. align-items: center;
  81. gap: 0.5rem;
  82. }
  83. .btn {
  84. display: inline-flex;
  85. align-items: center;
  86. justify-content: center;
  87. padding: 0.5rem 1rem;
  88. border-radius: var(--radius);
  89. font-size: 0.875rem;
  90. font-weight: 500;
  91. cursor: pointer;
  92. transition: background-color 0.2s, color 0.2s;
  93. border: none;
  94. font-family: var(--font-main);
  95. }
  96. .btn-primary {
  97. background-color: var(--primary-color);
  98. color: var(--text-inverse);
  99. }
  100. .btn-primary:hover {
  101. background-color: var(--primary-dark);
  102. }
  103. .btn-sm {
  104. padding: 0.25rem 0.5rem;
  105. font-size: 0.75rem;
  106. }
  107. .app-main {
  108. flex: 1;
  109. overflow: auto;
  110. padding: 1.5rem;
  111. }
  112. .report-info {
  113. margin-bottom: 1.5rem;
  114. padding: 1rem;
  115. background-color: var(--secondary-color);
  116. border-radius: var(--radius);
  117. border: 1px solid var(--border-color);
  118. }
  119. .report-date {
  120. font-size: 0.875rem;
  121. color: var(--text-light);
  122. }
  123. .report-stats {
  124. display: flex;
  125. gap: 1.5rem;
  126. margin-top: 1rem;
  127. flex-wrap: wrap;
  128. }
  129. .stat-item {
  130. display: flex;
  131. flex-direction: column;
  132. gap: 0.25rem;
  133. }
  134. .stat-value {
  135. font-size: 1.25rem;
  136. font-weight: 600;
  137. }
  138. .stat-label {
  139. font-size: 0.875rem;
  140. color: var(--text-light);
  141. }
  142. .table-wrapper {
  143. overflow-x: auto;
  144. border: 1px solid var(--border-color);
  145. border-radius: var(--radius);
  146. }
  147. .findings-table {
  148. width: 100%;
  149. border-collapse: collapse;
  150. font-size: 0.875rem;
  151. }
  152. .findings-table th {
  153. background-color: var(--secondary-color);
  154. padding: 0.75rem;
  155. text-align: left;
  156. font-weight: 500;
  157. position: sticky;
  158. top: 0;
  159. z-index: 1;
  160. }
  161. /* Ensure table cells don't expand too much */
  162. .findings-table td {
  163. padding: 0.75rem;
  164. border-top: 1px solid var(--border-color);
  165. vertical-align: top;
  166. max-width: 300px; /* Limit width of all cells */
  167. overflow-wrap: break-word;
  168. }
  169. .findings-table tr:hover td {
  170. background-color: var(--secondary-color);
  171. }
  172. .findings-table th:nth-child(1) { width: 12%; } /* Rule */
  173. .findings-table th:nth-child(2) { width: 20%; } /* File */
  174. .findings-table th:nth-child(3) { width: 25%; } /* Description */
  175. .findings-table th:nth-child(4) { width: 20%; } /* Secret */
  176. .findings-table th:nth-child(5) { width: 23%; } /* Metadata */
  177. .findings-table td {
  178. padding: 0.75rem;
  179. border-top: 1px solid var(--border-color);
  180. vertical-align: top;
  181. }
  182. .findings-table tr:hover td {
  183. background-color: var(--secondary-color);
  184. }
  185. .secret-container {
  186. position: relative;
  187. }
  188. .match-toggle {
  189. display: inline-block;
  190. margin-top: 0.5rem;
  191. padding: 0.25rem 0.5rem;
  192. background-color: var(--secondary-color);
  193. border: 1px solid var(--border-color);
  194. border-radius: var(--radius);
  195. font-size: 0.75rem;
  196. cursor: pointer;
  197. color: var(--primary-color);
  198. }
  199. .match-toggle:hover {
  200. background-color: var(--primary-color);
  201. color: var(--text-inverse);
  202. }
  203. .hidden {
  204. display: none !important;
  205. }
  206. .secret-match {
  207. font-family: var(--font-mono);
  208. font-size: 0.875rem;
  209. word-break: break-all;
  210. white-space: pre-wrap;
  211. display: block;
  212. background-color: var(--highlight-secret);
  213. padding: 0.5rem;
  214. border-radius: var(--radius);
  215. overflow-x: auto;
  216. }
  217. .tag-list {
  218. display: flex;
  219. gap: 0.25rem;
  220. flex-wrap: wrap;
  221. }
  222. .tag {
  223. display: inline-block;
  224. padding: 0.125rem 0.375rem;
  225. background-color: var(--primary-light);
  226. color: var(--text-inverse);
  227. border-radius: 2px;
  228. font-size: 0.75rem;
  229. }
  230. .meta-row {
  231. display: grid;
  232. grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  233. gap: 0.5rem;
  234. margin-top: 0.5rem;
  235. font-size: 0.75rem;
  236. color: var(--text-light);
  237. }
  238. .meta-item {
  239. display: flex;
  240. align-items: center;
  241. gap: 0.25rem;
  242. }
  243. .meta-label {
  244. font-weight: 500;
  245. }
  246. .meta-value {
  247. font-family: var(--font-mono);
  248. word-break: break-all;
  249. }
  250. .code-preview {
  251. position: relative;
  252. font-family: var(--font-mono);
  253. font-size: 0.875rem;
  254. background-color: var(--secondary-color);
  255. padding: 0.5rem;
  256. border-radius: var(--radius);
  257. overflow-x: auto;
  258. margin-top: 0.5rem;
  259. white-space: pre-wrap;
  260. word-break: break-all;
  261. }
  262. .filters {
  263. display: flex;
  264. gap: 1rem;
  265. margin-bottom: 1rem;
  266. flex-wrap: wrap;
  267. }
  268. .filter-group {
  269. display: flex;
  270. align-items: center;
  271. gap: 0.5rem;
  272. }
  273. .filter-label {
  274. font-size: 0.875rem;
  275. font-weight: 500;
  276. }
  277. .filter-input {
  278. padding: 0.375rem 0.75rem;
  279. border: 1px solid var(--border-color);
  280. border-radius: var(--radius);
  281. font-size: 0.875rem;
  282. font-family: var(--font-main);
  283. }
  284. .app-footer {
  285. height: 40px;
  286. padding: 0 1.5rem;
  287. display: flex;
  288. align-items: center;
  289. justify-content: space-between;
  290. border-top: 1px solid var(--border-color);
  291. font-size: 0.75rem;
  292. color: var(--text-light);
  293. flex-shrink: 0;
  294. }
  295. @media (max-width: 768px) {
  296. .app-header {
  297. padding: 0 1rem;
  298. }
  299. .app-main {
  300. padding: 1rem;
  301. }
  302. .report-stats {
  303. flex-direction: column;
  304. gap: 0.75rem;
  305. }
  306. .filters {
  307. flex-direction: column;
  308. gap: 0.75rem;
  309. }
  310. .app-footer {
  311. flex-direction: column;
  312. height: auto;
  313. padding: 0.75rem 1rem;
  314. gap: 0.5rem;
  315. justify-content: center;
  316. text-align: center;
  317. }
  318. }
  319. .description-toggle {
  320. cursor: pointer;
  321. color: var(--primary-color);
  322. font-size: 0.875rem;
  323. margin-left: 0.5rem;
  324. display: inline-flex;
  325. align-items: center;
  326. justify-content: center;
  327. width: 20px;
  328. height: 20px;
  329. border-radius: 50%;
  330. background-color: var(--secondary-color);
  331. vertical-align: middle;
  332. }
  333. .description-toggle:hover {
  334. background-color: var(--primary-light);
  335. color: var(--text-inverse);
  336. }
  337. .description-expanded {
  338. white-space: normal;
  339. }
  340. .description-collapsed {
  341. white-space: nowrap;
  342. overflow: hidden;
  343. text-overflow: ellipsis;
  344. max-width: 250px;
  345. display: inline-block;
  346. }
  347. .commit-link {
  348. color: var(--primary-color);
  349. text-decoration: none;
  350. }
  351. .commit-link:hover {
  352. text-decoration: underline;
  353. }
  354. /* File path styling */
  355. .file-path-container {
  356. max-width: 100%;
  357. }
  358. .file-path {
  359. display: inline-block;
  360. max-width: 100%;
  361. word-wrap: break-word;
  362. word-break: break-all;
  363. }
  364. .match-content {
  365. font-family: var(--font-mono);
  366. font-size: 0.875rem;
  367. word-break: break-all;
  368. white-space: pre-wrap;
  369. display: block;
  370. background-color: var(--secondary-color);
  371. padding: 0.5rem;
  372. border-radius: var(--radius);
  373. margin-top: 0.5rem;
  374. max-height: 300px;
  375. overflow-y: auto;
  376. }
  377. .dark-mode-toggle {
  378. background: none;
  379. border: none;
  380. color: var(--text-inverse);
  381. cursor: pointer;
  382. font-size: 1rem;
  383. }
  384. </style>
  385. </head>
  386. <body>
  387. <div class="app-container">
  388. <header class="app-header">
  389. <div class="logo">
  390. <h1>Gitleaks Security Findings</h1>
  391. </div>
  392. <div class="header-actions">
  393. <button class="dark-mode-toggle" id="darkModeToggle">🌓</button>
  394. </div>
  395. </header>
  396. <main class="app-main">
  397. <div class="report-info">
  398. <h2>Security Scan Report</h2>
  399. <p class="report-date">Generated on {{now | date "Jan 02, 2006 15:04:05 MST"}}</p>
  400. <div class="report-stats">
  401. <div class="stat-item">
  402. <span class="stat-value">{{len .}}</span>
  403. <span class="stat-label">Total Findings</span>
  404. </div>
  405. <div class="stat-item">
  406. <span class="stat-value" id="filesCount">-</span>
  407. <span class="stat-label">Files Affected</span>
  408. </div>
  409. <div class="stat-item">
  410. <span class="stat-value" id="rulesCount">-</span>
  411. <span class="stat-label">Unique Rules Triggered</span>
  412. </div>
  413. <div class="stat-item" id="scanModeContainer">
  414. <span class="stat-value" id="scanMode">-</span>
  415. <span class="stat-label">Scan Mode</span>
  416. </div>
  417. </div>
  418. </div>
  419. <div class="filters">
  420. <div class="filter-group">
  421. <label class="filter-label" for="filterRule">Filter by Rule:</label>
  422. <select class="filter-input" id="filterRule">
  423. <option value="all">All Rules</option>
  424. <!-- Rule options will be populated by JavaScript -->
  425. </select>
  426. </div>
  427. <div class="filter-group">
  428. <label class="filter-label" for="filterFile">Filter by File:</label>
  429. <input type="text" class="filter-input" id="filterFile" placeholder="Enter filename...">
  430. </div>
  431. <div class="filter-group">
  432. <button class="btn btn-primary btn-sm" id="resetFilters">Reset Filters</button>
  433. </div>
  434. </div>
  435. <div class="table-wrapper">
  436. <table class="findings-table" id="findingsTable">
  437. <thead>
  438. <tr>
  439. <th>Rule</th>
  440. <th>File</th>
  441. <th>Description</th>
  442. <th>Secret</th>
  443. <th>Metadata</th>
  444. </tr>
  445. </thead>
  446. <tbody>
  447. {{- range . }}
  448. <tr data-rule="{{.RuleID}}" data-file="{{.File}}">
  449. <td>{{.RuleID}}</td>
  450. <td>
  451. <div class="file-path-container">
  452. <span class="file-path" title="{{.File}}">{{.File}}</span>
  453. </div>
  454. <div class="tag-list">
  455. {{- range .Tags }}
  456. <span class="tag">{{.}}</span>
  457. {{- end}}
  458. </div>
  459. <div class="meta-row">
  460. <div class="meta-item">
  461. <span class="meta-label">Line:</span>
  462. <span class="meta-value">{{.StartLine}}</span>
  463. </div>
  464. </div>
  465. </td>
  466. <td>
  467. <span class="description-text">{{.Description}}</span>
  468. <span class="description-toggle" title="Expand/Collapse">↕</span>
  469. </td>
  470. <td>
  471. <div class="secret-container" data-secret="{{.Secret}}" data-match="{{.Match}}">
  472. <div class="secret-match">{{.Secret}}</div>
  473. <button type="button" class="match-toggle" title="Show/Hide Full Match Context">Show Context</button>
  474. <div class="match-content hidden" data-raw-match="{{.Match}}">{{.Match}}</div>
  475. </div>
  476. </td>
  477. <td>
  478. <div class="meta-row">
  479. <div class="meta-item">
  480. <span class="meta-label">Entropy:</span>
  481. <span class="meta-value">{{printf "%.2f" .Entropy}}</span>
  482. </div>
  483. {{- if .Commit}}
  484. <div class="meta-item commit-info">
  485. <span class="meta-label">Commit:</span>
  486. <span class="meta-value">{{if gt (len .Commit) 7}}{{printf "%.7s" .Commit}}{{else}}{{.Commit}}{{end}}</span>
  487. </div>
  488. {{- if .Author}}
  489. <div class="meta-item commit-info">
  490. <span class="meta-label">Author:</span>
  491. <span class="meta-value">{{.Author}}</span>
  492. </div>
  493. {{- end}}
  494. {{- if .Date}}
  495. <div class="meta-item commit-info">
  496. <span class="meta-label">Date:</span>
  497. <span class="meta-value">{{.Date}}</span>
  498. </div>
  499. {{- end}}
  500. {{- if .Link}}
  501. <div class="meta-item commit-info">
  502. <span class="meta-label">Link:</span>
  503. <span class="meta-value"><a href="{{.Link}}" target="_blank" class="commit-link">View Commit</a></span>
  504. </div>
  505. {{- end}}
  506. {{- else}}
  507. {{- if .Author}}
  508. <div class="meta-item">
  509. <span class="meta-label">Author:</span>
  510. <span class="meta-value">{{.Author}}</span>
  511. </div>
  512. {{- end}}
  513. {{- end}}
  514. </div>
  515. {{- if not .Match}}
  516. <div class="match-content" data-raw-match="">-</div>
  517. {{- end}}
  518. </td>
  519. </tr>
  520. {{- end }}
  521. </tbody>
  522. </table>
  523. </div>
  524. </main>
  525. <footer class="app-footer">
  526. <div>Generated by Gitleaks</div>
  527. <div>Total Findings: <strong>{{len .}}</strong></div>
  528. </footer>
  529. </div>
  530. <script>
  531. // Process data to collect unique files and rules
  532. function processData() {
  533. const rows = document.querySelectorAll('#findingsTable tbody tr');
  534. const uniqueRules = new Set();
  535. const uniqueFiles = new Set();
  536. let isGitMode = false;
  537. if (rows.length > 0) {
  538. // Check if first finding has commit data to determine mode
  539. const firstRow = rows[0];
  540. const commitCells = firstRow.querySelectorAll('.commit-info');
  541. isGitMode = commitCells.length > 0 && commitCells[0].textContent.trim() !== '';
  542. }
  543. // Set scan mode
  544. document.getElementById('scanMode').textContent = isGitMode ? 'Git' : 'Directory';
  545. // Adjust UI based on mode
  546. if (isGitMode) {
  547. // Ensure commit info columns are visible for git mode
  548. document.querySelectorAll('.commit-info').forEach(el => {
  549. el.style.display = 'block';
  550. });
  551. } else {
  552. // Hide commit-specific UI elements for directory mode
  553. document.querySelectorAll('.commit-info').forEach(el => {
  554. el.style.display = 'none';
  555. });
  556. }
  557. rows.forEach(row => {
  558. uniqueRules.add(row.dataset.rule);
  559. uniqueFiles.add(row.dataset.file);
  560. });
  561. // Update stats
  562. document.getElementById('filesCount').textContent = uniqueFiles.size;
  563. document.getElementById('rulesCount').textContent = uniqueRules.size;
  564. // Populate rule filter dropdown
  565. const ruleFilter = document.getElementById('filterRule');
  566. const sortedRules = Array.from(uniqueRules).sort();
  567. sortedRules.forEach(rule => {
  568. const option = document.createElement('option');
  569. option.value = rule;
  570. option.textContent = rule;
  571. ruleFilter.appendChild(option);
  572. });
  573. }
  574. // Hide toggle button if match is same as secret
  575. function hideRedundantToggleButtons() {
  576. document.querySelectorAll('.secret-container').forEach(container => {
  577. const secret = container.getAttribute('data-secret');
  578. const match = container.getAttribute('data-match');
  579. const toggleButton = container.querySelector('.match-toggle');
  580. // If secret and match are the same, or if match is empty, hide the toggle button
  581. if ((secret && match && secret.trim() === match.trim()) || !match) {
  582. if (toggleButton) {
  583. toggleButton.style.display = 'none';
  584. }
  585. }
  586. });
  587. }
  588. // Setup toggle buttons
  589. function setupToggleButtons() {
  590. document.querySelectorAll('.match-toggle').forEach(btn => {
  591. btn.addEventListener('click', function() {
  592. const matchContent = this.nextElementSibling;
  593. if (matchContent.classList.contains('hidden')) {
  594. matchContent.classList.remove('hidden');
  595. this.textContent = 'Hide Context';
  596. } else {
  597. matchContent.classList.add('hidden');
  598. this.textContent = 'Show Context';
  599. }
  600. });
  601. });
  602. // Setup description toggle
  603. document.querySelectorAll('.description-text').forEach(descriptionText => {
  604. const toggleBtn = descriptionText.nextElementSibling;
  605. if (!toggleBtn || !toggleBtn.classList.contains('description-toggle')) return;
  606. // Initial state: collapsed
  607. descriptionText.classList.add('description-collapsed');
  608. toggleBtn.addEventListener('click', () => {
  609. if (descriptionText.classList.contains('description-collapsed')) {
  610. descriptionText.classList.remove('description-collapsed');
  611. descriptionText.classList.add('description-expanded');
  612. toggleBtn.textContent = '↑';
  613. } else {
  614. descriptionText.classList.remove('description-expanded');
  615. descriptionText.classList.add('description-collapsed');
  616. toggleBtn.textContent = '↕';
  617. }
  618. });
  619. });
  620. }
  621. // Initialize dark mode from user preference
  622. function initDarkMode() {
  623. const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
  624. const storedPreference = localStorage.getItem('darkMode');
  625. if (storedPreference === 'true' || (storedPreference === null && prefersDark)) {
  626. document.body.classList.add('dark-mode');
  627. }
  628. }
  629. // Toggle dark mode
  630. document.getElementById('darkModeToggle').addEventListener('click', function() {
  631. document.body.classList.toggle('dark-mode');
  632. localStorage.setItem('darkMode', document.body.classList.contains('dark-mode'));
  633. });
  634. // Filter functionality
  635. function applyFilters() {
  636. const ruleFilter = document.getElementById('filterRule').value;
  637. const fileFilter = document.getElementById('filterFile').value.toLowerCase();
  638. const rows = document.querySelectorAll('#findingsTable tbody tr');
  639. rows.forEach(row => {
  640. const ruleMatch = ruleFilter === 'all' || row.dataset.rule === ruleFilter;
  641. const fileMatch = fileFilter === '' || row.dataset.file.toLowerCase().includes(fileFilter);
  642. if (ruleMatch && fileMatch) {
  643. row.style.display = '';
  644. } else {
  645. row.style.display = 'none';
  646. }
  647. });
  648. // Update visible count
  649. const visibleFindings = document.querySelectorAll('#findingsTable tbody tr:not([style*="display: none"])').length;
  650. document.querySelector('.app-footer strong').textContent = visibleFindings;
  651. }
  652. document.getElementById('filterRule').addEventListener('change', applyFilters);
  653. document.getElementById('filterFile').addEventListener('input', applyFilters);
  654. document.getElementById('resetFilters').addEventListener('click', function() {
  655. document.getElementById('filterRule').value = 'all';
  656. document.getElementById('filterFile').value = '';
  657. applyFilters();
  658. });
  659. // Initialize
  660. document.addEventListener('DOMContentLoaded', function() {
  661. processData();
  662. hideRedundantToggleButtons(); // Hide toggle buttons for matching secrets
  663. setupToggleButtons();
  664. initDarkMode();
  665. });
  666. </script>
  667. </body>
  668. </html>