Exploit databaseDownload repository ZIP
GH-67340f13e331ad187786f604c1fd57ca
nonamecoder/cve-2023-22906
Sources for CVE-2023-22906
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files61
nonamecoder/cve-2023-22906Revision 16f7f58c0c4c
- ↑..Parent directory
- vul_func_105_printf-libAPC_LINUX.so.html
- vul_func_10_mmap-libcore-gateway.so.html
- vul_func_117_printf-libAED_LINUX.so.html
- vul_func_11_strcat-mhal.ko.html
- vul_func_12_strcpy-mi_ai.ko.html
- vul_func_13_strcpy-mi_ao.ko.html
- vul_func_17_sprintf-libc.so.6.html
- vul_func_17_sprintf-mi_sys.ko.html
- vul_func_19_printf-libSRC_LINUX.so.html
- vul_func_1_fprintf-libAED_LINUX.so.html
- vul_func_1_mmap-libAED_LINUX.so.html
- vul_func_1_sprintf-fat.ko.html
- vul_func_1_sprintf-libSRC_LINUX.so.html
- vul_func_1_sprintf-libSSL_LINUX.so.html
- vul_func_1_sprintf-mi_ao.ko.html
- vul_func_1_sprintf-mi_divp.ko.html
- vul_func_1_strcpy-gc2053.ko.html
- vul_func_1_strcpy-libAED_LINUX.so.html
- vul_func_1_strcpy-mi_divp.ko.html
- vul_func_23_strcpy-libc.so.6.html
- vul_func_240_printf-HeroIPC_factory.html
- vul_func_29_fprintf-libc.so.6.html
- vul_func_2_fprintf-libAEC_LINUX.so.html
- vul_func_2_mmap-HeroIPC_factory.html
- vul_func_2_mmap-libSRC_LINUX.so.html
- vul_func_2_mmap-libSSL_LINUX.so.html
- vul_func_2_sprintf-mi_ai.ko.html
- vul_func_2_strcat-libc.so.6.html
- vul_func_2_strcpy-mi_vif.ko.html
- vul_func_2_strcpy-usbcore.ko.html
- vul_func_31_mmap-libAEC_LINUX.so.html
- vul_func_31_printf-libAEC_LINUX.so.html
- vul_func_31_sprintf-libcore-gateway.so.html
- vul_func_34_strcpy-mhal.ko.html
- vul_func_36_printf-libSSL_LINUX.so.html
- vul_func_3_mmap-libc.so.6.html
- vul_func_3_printf-wpa_supplicant.html
- vul_func_3_sprintf-libAPC_LINUX.so.html
- vul_func_3_sprintf-mi_rgn.ko.html
- vul_func_3_sprintf-mi_vpe.ko.html
- vul_func_42_sprintf-mmc_core.ko.html
- vul_func_49_fprintf-HeroIPC_factory.html
- vul_func_49_fprintf-libcore-gateway.so.html
- vul_func_4_mmap-libBF_LINUX.so.html
- vul_func_4_sprintf-libAED_LINUX.so.html
- vul_func_4_sprintf-mi_vif.ko.html
- vul_func_4_sprintf-scsi_mod.ko.html
- vul_func_4_strcpy-scsi_mod.ko.html
- vul_func_51_sprintf-mhal.ko.html
- vul_func_5_mmap-libAPC_LINUX.so.html
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
html-report/s13_weak_func_check/vul_func_7_sprintf-libAEC_LINUX.so.html
HTML · 20,268 bytes<!--
EMBA - EMBEDDED LINUX ANALYZER
Copyright 2020-2023 Siemens AG
Copyright 2020-2023 Siemens Energy AG
EMBA comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under the terms of the GNU General Public License.
See LICENSE file for usage of this software.
EMBA is licensed under GPLv3
Author(s): Pascal Eckmann
Contributor(s): Michael Messner, Stefan Haboeck
-->
<!-- Used icons: https://github.com/CoreyGinnivan/system-uicons -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>EMBA firmware report</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../style/style.css" type="text/css">
<link rel="icon" type="image/png" href="../style/favicon.png">
</head>
<body>
<div id="sidenav" class="side">
<div id="logo">
<a class="inherit" href="../index.html"><img class="inherit" id="logoImage" src="../style/emba.svg" alt="logo"></a>
</div>
<div id="nav">
<a id="embark" class="hidden" href="http://24.199.64.69:8000/html-report/s13_weak_func_check/{{ embarkBackUrl }}">« Back to EMBArk</a> <!-- nosem -->
<a class="backButton" href="../index.html">« Back to main</a>
<a class="modul" href="../s13_weak_func_check.html" title="./../s13_weak_func_check.html" >« Back to s13_weak_func_check</a>
<!-- navigation start -->
<!-- navigation end -->
<input id="expand" class="expand_njs hidden" type="button" value="More results:" onclick="this.value=this.value=='+ Show more results'?'- Hide more results':'+ Show more results';">
<div class="expand_area">
<!-- etc start -->
<!-- etc end -->
</div>
</div>
<a href="http://24.199.64.69:8000/html-report/s13_weak_func_check/TIMELINK"><div id="buttonTimeInvisible" class="rectButton"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="white" stroke-linecap="round" stroke-linejoin="round" transform="matrix(-1 0 0 1 19 2)"><circle cx="8.5" cy="8.5" r="8"/><path d="M8.5 5.5v4H5"/></g></svg></div></a>
<div id="buttonSizer" class="rectButton buttonClose" onclick="buttonNav()"></div>
</div>
<div id="main" class="main">
<!-- content start -->
<pre>[</span><span class="orange">*</span>] Binary protection state of </span><span class="orange">libAEC_LINUX.so</span></pre>
<br />
<pre> </pre>
<pre> <span class="orange">Partial RELRO</span> <span class="red">No Canary found</span> <span class="green">NX enabled</span> <span class="orange">DSO</span> <span class="green">No RPATH</span> <span class="green">No RUNPATH</span> <span class="green">No Symbols</span></pre>
<br />
<pre></span></pre>
<pre>[</span><span class="orange">*</span>] Function </span><span class="orange">sprintf</span> tear down of </span><span class="orange">libAEC_LINUX.so</span></pre>
<br />
<pre> 38ec: e5971000 ldr r1, [r7]</pre>
<pre> 38f0: e28d6008 add r6, sp, #8</pre>
<pre> 38f4: e597e004 ldr lr, [r7, #4]</pre>
<pre> 38f8: e3a03008 mov r3, #8</pre>
<pre> 38fc: e597c008 ldr ip, [r7, #8]</pre>
<pre> 3900: e1a02001 mov r2, r1</pre>
<pre> 3904: e597b00c ldr fp, [r7, #12]</pre>
<pre> 3908: e1a00006 mov r0, r6</pre>
<pre> 390c: e58511a8 str r1, [r5, #424] ; 0x1a8</pre>
<pre> 3910: e59f7214 ldr r7, [pc, #532] ; 3b2c <IaaAec_Init@@Base+0x2cc></pre>
<pre> 3914: e59f9214 ldr r9, [pc, #532] ; 3b30 <IaaAec_Init@@Base+0x2d0></pre>
<pre> 3918: e59f8214 ldr r8, [pc, #532] ; 3b34 <IaaAec_Init@@Base+0x2d4></pre>
<pre> 391c: e59f1214 ldr r1, [pc, #532] ; 3b38 <IaaAec_Init@@Base+0x2d8></pre>
<pre> 3920: e585e1ac str lr, [r5, #428] ; 0x1ac</pre>
<pre> 3924: e585c1b0 str ip, [r5, #432] ; 0x1b0</pre>
<pre> 3928: e08f1001 add r1, pc, r1</pre>
<pre> 392c: e08f7007 add r7, pc, r7</pre>
<pre> 3930: e08f9009 add r9, pc, r9</pre>
<pre> 3934: e08f8008 add r8, pc, r8</pre>
<pre> 3938: e585b188 str fp, [r5, #392] ; 0x188</pre>
<pre><span class="red"> 393c: ebfff491 bl b88 <sprintf@plt></span></span></pre>
<pre> 3940: e1a03006 mov r3, r6</pre>
<pre> 3944: e1a01009 mov r1, r9</pre>
<pre>--</pre>
<pre> 3a30: ebfff44e bl b70 <puts@plt></pre>
<pre> 3a34: e59f0110 ldr r0, [pc, #272] ; 3b4c <IaaAec_Init@@Base+0x2ec></pre>
<pre> 3a38: e08f0000 add r0, pc, r0</pre>
<pre> 3a3c: ebfff44b bl b70 <puts@plt></pre>
<pre> 3a40: e1a0000a mov r0, sl</pre>
<pre> 3a44: ebfff449 bl b70 <puts@plt></pre>
<pre> 3a48: e1a00007 mov r0, r7</pre>
<pre> 3a4c: ebfff447 bl b70 <puts@plt></pre>
<pre> 3a50: e1a00004 mov r0, r4</pre>
<pre> 3a54: e3a03001 mov r3, #1</pre>
<pre> 3a58: e5853200 str r3, [r5, #512] ; 0x200</pre>
<pre> 3a5c: e28ddf43 add sp, sp, #268 ; 0x10c</pre>
<pre> 3a60: e8bd8ff0 pop {r4, r5, r6, r7, r8, r9, sl, fp, pc}</pre>
<pre> 3a64: e59f10e4 ldr r1, [pc, #228] ; 3b50 <IaaAec_Init@@Base+0x2f0></pre>
<pre> 3a68: e3022019 movw r2, #8217 ; 0x2019</pre>
<pre> 3a6c: e58d6000 str r6, [sp]</pre>
<pre> 3a70: e28d6008 add r6, sp, #8</pre>
<pre> 3a74: e08f1001 add r1, pc, r1</pre>
<pre> 3a78: e1a00006 mov r0, r6</pre>
<pre> 3a7c: e3013205 movw r3, #4613 ; 0x1205</pre>
<pre><span class="red"> 3a80: ebfff440 bl b88 <sprintf@plt></span></span></pre>
<pre> 3a84: e59f00c8 ldr r0, [pc, #200] ; 3b54 <IaaAec_Init@@Base+0x2f4></pre>
<pre> 3a88: e1a03006 mov r3, r6</pre>
<pre>--</pre>
<pre> 3a94: e08f1001 add r1, pc, r1</pre>
<pre> 3a98: e08f2002 add r2, pc, r2</pre>
<pre> 3a9c: e08f0000 add r0, pc, r0</pre>
<pre> 3aa0: ebfff414 bl af8 <printf@plt></pre>
<pre> 3aa4: eaffff89 b 38d0 <IaaAec_Init@@Base+0x70></pre>
<pre> 3aa8: e59f00b0 ldr r0, [pc, #176] ; 3b60 <IaaAec_Init@@Base+0x300></pre>
<pre> 3aac: e59f10b0 ldr r1, [pc, #176] ; 3b64 <IaaAec_Init@@Base+0x304></pre>
<pre> 3ab0: e59f20b0 ldr r2, [pc, #176] ; 3b68 <IaaAec_Init@@Base+0x308></pre>
<pre> 3ab4: e08f0000 add r0, pc, r0</pre>
<pre> 3ab8: e08f1001 add r1, pc, r1</pre>
<pre> 3abc: e08f2002 add r2, pc, r2</pre>
<pre> 3ac0: ebfff40c bl af8 <printf@plt></pre>
<pre> 3ac4: e1a00005 mov r0, r5</pre>
<pre> 3ac8: eaffffe3 b 3a5c <IaaAec_Init@@Base+0x1fc></pre>
<pre> 3acc: e3a00000 mov r0, #0</pre>
<pre> 3ad0: eaffffe1 b 3a5c <IaaAec_Init@@Base+0x1fc></pre>
<pre> 3ad4: e59f1090 ldr r1, [pc, #144] ; 3b6c <IaaAec_Init@@Base+0x30c></pre>
<pre> 3ad8: e3a020fa mov r2, #250 ; 0xfa</pre>
<pre> 3adc: e1a00006 mov r0, r6</pre>
<pre> 3ae0: e08f1001 add r1, pc, r1</pre>
<pre><span class="red"> 3ae4: ebfff427 bl b88 <sprintf@plt></span></span></pre>
<pre> 3ae8: e59f1080 ldr r1, [pc, #128] ; 3b70 <IaaAec_Init@@Base+0x310></pre>
<pre> 3aec: e1a00007 mov r0, r7</pre>
<pre>--</pre>
<pre> 3bc0: e2800e17 add r0, r0, #368 ; 0x170</pre>
<pre> 3bc4: eb00049a bl 4e34 <IaaAec_GetBufferSize@@Base+0xae0></pre>
<pre> 3bc8: e1a00006 mov r0, r6</pre>
<pre> 3bcc: ebfffe61 bl 3558 <</span>ap@plt+0x29b8></pre>
<pre> 3bd0: e3700001 cmn r0, #1</pre>
<pre> 3bd4: 0a000070 beq 3d9c <IaaAec_Reset@@Base+0x21c></pre>
<pre> 3bd8: e5961000 ldr r1, [r6]</pre>
<pre> 3bdc: e3a03008 mov r3, #8</pre>
<pre> 3be0: e596e008 ldr lr, [r6, #8]</pre>
<pre> 3be4: e1a0000d mov r0, sp</pre>
<pre> 3be8: e596c00c ldr ip, [r6, #12]</pre>
<pre> 3bec: e1a02001 mov r2, r1</pre>
<pre> 3bf0: e5967004 ldr r7, [r6, #4]</pre>
<pre> 3bf4: e58511a8 str r1, [r5, #424] ; 0x1a8</pre>
<pre> 3bf8: e59f11fc ldr r1, [pc, #508] ; 3dfc <IaaAec_Reset@@Base+0x27c></pre>
<pre> 3bfc: e585e1b0 str lr, [r5, #432] ; 0x1b0</pre>
<pre> 3c00: e585c188 str ip, [r5, #392] ; 0x188</pre>
<pre> 3c04: e58571ac str r7, [r5, #428] ; 0x1ac</pre>
<pre> 3c08: e08f1001 add r1, pc, r1</pre>
<pre> 3c0c: e59fa1ec ldr sl, [pc, #492] ; 3e00 <IaaAec_Reset@@Base+0x280></pre>
<pre><span class="red"> 3c10: ebfff3dc bl b88 <sprintf@plt></span></span></pre>
<pre> 3c14: e59f61e8 ldr r6, [pc, #488] ; 3e04 <IaaAec_Reset@@Base+0x284></pre>
<pre> 3c18: e1a0300d mov r3, sp</pre>
<pre>--</pre>
<pre> 3d64: e89e0003 ldm lr, {r0, r1}</pre>
<pre> 3d68: e59f20a4 ldr r2, [pc, #164] ; 3e14 <IaaAec_Reset@@Base+0x294></pre>
<pre> 3d6c: e48c0004 str r0, [ip], #4</pre>
<pre> 3d70: e1a0e821 lsr lr, r1, #16</pre>
<pre> 3d74: e0cc10b2 strh r1, [ip], #2</pre>
<pre> 3d78: e59f0098 ldr r0, [pc, #152] ; 3e18 <IaaAec_Reset@@Base+0x298></pre>
<pre> 3d7c: e59f1098 ldr r1, [pc, #152] ; 3e1c <IaaAec_Reset@@Base+0x29c></pre>
<pre> 3d80: e08f2002 add r2, pc, r2</pre>
<pre> 3d84: e08f0000 add r0, pc, r0</pre>
<pre> 3d88: e08f1001 add r1, pc, r1</pre>
<pre> 3d8c: e5cce000 strb lr, [ip]</pre>
<pre> 3d90: ebfff358 bl af8 <printf@plt></pre>
<pre> 3d94: e1a00007 mov r0, r7</pre>
<pre> 3d98: eaffffe5 b 3d34 <IaaAec_Reset@@Base+0x1b4></pre>
<pre> 3d9c: e1a00009 mov r0, r9</pre>
<pre> 3da0: eaffffe3 b 3d34 <IaaAec_Reset@@Base+0x1b4></pre>
<pre> 3da4: e59f1074 ldr r1, [pc, #116] ; 3e20 <IaaAec_Reset@@Base+0x2a0></pre>
<pre> 3da8: e300216b movw r2, #363 ; 0x16b</pre>
<pre> 3dac: e1a0000d mov r0, sp</pre>
<pre> 3db0: e08f1001 add r1, pc, r1</pre>
<pre><span class="red"> 3db4: ebfff373 bl b88 <sprintf@plt></span></span></pre>
<pre> 3db8: e59f1064 ldr r1, [pc, #100] ; 3e24 <IaaAec_Reset@@Base+0x2a4></pre>
<pre> 3dbc: e1a0000a mov r0, sl</pre>
<pre>--</pre>
<pre> 4340: e3013205 movw r3, #4613 ; 0x1205</pre>
<pre> 4344: e1c130b0 strh r3, [r1]</pre>
<pre> 4348: e3a00000 mov r0, #0</pre>
<pre> 434c: e1c200b0 strh r0, [r2]</pre>
<pre> 4350: e12fff1e bx lr</pre>
<br />
<pre>00004354 <IaaAec_GetBufferSize@@Base>:</pre>
<pre> 4354: e92d4030 push {r4, r5, lr}</pre>
<pre> 4358: e3a00c01 mov r0, #256 ; 0x100</pre>
<pre> 435c: e24ddf41 sub sp, sp, #260 ; 0x104</pre>
<pre> 4360: eb000252 bl 4cb0 <IaaAec_GetBufferSize@@Base+0x95c></pre>
<pre> 4364: e59f204c ldr r2, [pc, #76] ; 43b8 <IaaAec_GetBufferSize@@Base+0x64></pre>
<pre> 4368: e2804b4d add r4, r0, #78848 ; 0x13400</pre>
<pre> 436c: e59f1048 ldr r1, [pc, #72] ; 43bc <IaaAec_GetBufferSize@@Base+0x68></pre>
<pre> 4370: e2844f61 add r4, r4, #388 ; 0x184</pre>
<pre> 4374: e08f2002 add r2, pc, r2</pre>
<pre> 4378: e1a03004 mov r3, r4</pre>
<pre> 437c: e08f1001 add r1, pc, r1</pre>
<pre> 4380: e2822034 add r2, r2, #52 ; 0x34</pre>
<pre> 4384: e1a0000d mov r0, sp</pre>
<pre><span class="red"> 4388: ebfff1fe bl b88 <sprintf@plt></span></span></pre>
<pre> 438c: e59f002c ldr r0, [pc, #44] ; 43c0 <IaaAec_GetBufferSize@@Base+0x6c></pre>
<pre> 4390: e1a0300d mov r3, sp</pre>
<pre>--</pre>
<pre> 4594: eddf5b1d vldr d21, [pc, #116] ; 4610 <IaaAec_GetBufferSize@@Base+0x2bc></pre>
<pre> 4598: eef80be7 vcvt.f64.s32 d16, s15</pre>
<pre> 459c: ee072a90 vmov s15, r2</pre>
<pre> 45a0: e5913004 ldr r3, [r1, #4]</pre>
<pre> 45a4: ee600ba2 vmul.f64 d16, d16, d18</pre>
<pre> 45a8: eef81be7 vcvt.f64.s32 d17, s15</pre>
<pre> 45ac: edd17a03 vldr s15, [r1, #12]</pre>
<pre> 45b0: eef84be7 vcvt.f64.s32 d20, s15</pre>
<pre> 45b4: edd17a02 vldr s15, [r1, #8]</pre>
<pre> 45b8: e59f105c ldr r1, [pc, #92] ; 461c <IaaAec_GetBufferSize@@Base+0x2c8></pre>
<pre> 45bc: ee410ba7 vmla.f64 d16, d17, d23</pre>
<pre> 45c0: eef83be7 vcvt.f64.s32 d19, s15</pre>
<pre> 45c4: ee073a90 vmov s15, r3</pre>
<pre> 45c8: e08f1001 add r1, pc, r1</pre>
<pre> 45cc: eef82be7 vcvt.f64.s32 d18, s15</pre>
<pre> 45d0: ee440ba6 vmla.f64 d16, d20, d22</pre>
<pre> 45d4: ee430ba5 vmla.f64 d16, d19, d21</pre>
<pre> 45d8: ee700ba2 vadd.f64 d16, d16, d18</pre>
<pre> 45dc: eefd7be0 vcvt.s32.f64 s15, d16</pre>
<pre> 45e0: ee172a90 vmov r2, s15</pre>
<pre><span class="red"> 45e4: ebfff167 bl b88 <sprintf@plt></span></span></pre>
<pre> 45e8: e1a00004 mov r0, r4</pre>
<pre> 45ec: e28dd00c add sp, sp, #12</pre>
<br />
<pre></span></pre>
<pre>[</span><span class="orange">*</span>] Function </span><span class="orange">sprintf</span> used </span><span class="orange">7</span> times </span><span class="orange">libAEC_LINUX.so</span></pre>
<br />
<!-- content end -->
</div>
<a href="https://github.com/e-m-b-a/emba" title="github.com/e-m-b-a/emba" target="_blank">
<div id="buttonInfo" class="rectButtonVisible">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" transform="translate(2 2)"><g stroke="white" stroke-linecap="round" stroke-linejoin="round"><circle cx="8.5" cy="8.5" r="8"/><path d="M8.5 12.5v-4h-1"/><path d="M7.5 12.5h2"/></g><circle cx="8.5" cy="5.5" fill="white" r="1"/></g></svg>
</div>
</a>
<div id="buttonBack" class="nonClickable rectButtonVisible"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><path d="M9.5 14.5l4-4l-4-4" fill="none" stroke="#444" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
<div id="buttonForward" class="nonClickable rectButtonVisible"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><path d="M11.5 14.5l-4-4l4-4" fill="none" stroke="#444" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
<div id="buttonDown" class="rectButton" onclick="scrollDown()"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 6.5l-4 4l-4-4"/><path d="M14.5 10.5l-4 4l-4-4"/></g></svg></div>
<div id="buttonUp" class="rectButton" onclick="scrollUp()"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path d="M6.5 14.5l4-4l4 4"/><path d="M6.5 10.5l4-4l4 4"/></g></svg></div>
<script>
window.onload = function () {
var buttons = document.getElementsByClassName("rectButton");
for (let i=0; i<buttons.length; i++) {
buttons[i].style.visibility = "visible";
}
var buttonDown = document.getElementById("buttonDown");
buttonDown.classList.add('rectButtonVisible');
buttonDown.classList.remove('rectButton');
var buttonUp = document.getElementById("buttonUp");
buttonUp.classList.add('rectButtonVisible');
buttonUp.classList.remove('rectButton');
var buttonSizer = document.getElementById("buttonSizer");
buttonSizer.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="white" stroke-linecap="round" stroke-linejoin="round"><path d="M9.5 16.5v-4.978l-5-.022"/><path d="M18.5 2.5l-7 7"/><path d="M16.5 9.5l-5 .023V4.5"/><path d="M9.5 11.5l-7 7"/></g></svg>';
if (document.getElementById("buttonTime") !== null) {
var buttonTime = document.getElementById("buttonTime");
buttonTime.style.bottom = "50px";
}
document.getElementById("expand").value = "+ Show more results";
document.getElementById("expand").className += " expand";
var embarkButton = document.getElementById("embark");
if ( !(embarkButton.href.includes("embarkBackUrl")) ) {
embarkButton.classList.remove('hidden');
document.getElementById("logoImage").src = "./../style/embark.svg";
document.getElementById("logo").style.background = "#2d2d2d";
}
}
function openNav() {
document.getElementById("sidenav").style.width = "250px";
document.getElementById("main").style.marginLeft = "250px";
document.getElementById("nav").style.visibility = "visible";
}
function closeNav() {
document.getElementById("sidenav").style.width = "50px";
document.getElementById("sidenav").scrollTop = 0;
document.getElementById("main").style.marginLeft = "50px";
document.getElementById("nav").style.visibility = "hidden";
}
function scrollDown() {
window.scrollTo(0,document.body.scrollHeight);
}
function scrollUp() {
window.scrollTo(0,0);
}
function buttonNav() {
var button = document.getElementById("buttonSizer");
if ( button.classList.contains('buttonOpen') ) {
button.classList.remove('buttonOpen');
button.classList.add('buttonClose');
button.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="white" stroke-linecap="round" stroke-linejoin="round"><path d="M9.5 16.5v-4.978l-5-.022"/><path d="M18.5 2.5l-7 7"/><path d="M16.5 9.5l-5 .023V4.5"/><path d="M9.5 11.5l-7 7"/></g></svg>';
openNav();
} else if( button.classList.contains('buttonClose') ) {
button.classList.remove('buttonClose');
button.classList.add('buttonOpen');
button.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="white" stroke-linecap="round" stroke-linejoin="round"><path d="M18.5 7.5v-5h-5"/><path d="M18.5 2.5l-6 5.929"/><path d="M7.5 18.5l-5 .023V13.5"/><path d="M8.5 12.5l-6 6"/></g></svg>';
closeNav();
};
}
document.onkeydown = function(e) {
switch (e.keyCode) {
case 37:
document.getElementById("buttonForward").parentNode.click();
break;
case 39:
document.getElementById("buttonBack").parentNode.click();
break;
}
};
</script>
</body>
</html>