Skip to content

Commit

Permalink
Site updated: 2023-11-20 22:20:59
Browse files Browse the repository at this point in the history
  • Loading branch information
ErodedElk committed Nov 20, 2023
1 parent a658bc4 commit 837ca7b
Show file tree
Hide file tree
Showing 114 changed files with 210 additions and 112 deletions.
2 changes: 1 addition & 1 deletion 2023/10/08/Assembly Crash Course/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h1 id="level21"><a href="#level21" class="headerlink" title="level21"></a>level
<h1 id="level22"><a href="#level22" class="headerlink" title="level22"></a>level22</h1><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br></pre></td><td class="code"><pre><code class="hljs asm">mov rax,0<br>mov rsi,rdi<br>cmp rsi,0<br>je done<br>loop:<br>mov bl,[rsi]<br>cmp bl,0<br>je done<br>cmp bl,90<br>ja next<br>mov dil,bl<br>mov rdx,rax<br>mov rcx,0x403000<br>call rcx<br>mov [rsi],al<br>mov rax,rdx<br>add rax,1<br>next:<br>add rsi,1<br>jmp loop<br>done:<br>ret<br></code></pre></td></tr></table></figure>

<h1 id="level23"><a href="#level23" class="headerlink" title="level23"></a>level23</h1><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br></pre></td><td class="code"><pre><code class="hljs asm">push 0<br>mov rbp,rsp<br><br>mov rax,-1<br>sub rsi,1<br>sub rsp,rsi<br>loop1:<br> add rax,1<br> cmp rax,rsi<br> jg next<br> mov rcx,0<br> mov cl,[rdi+rax]<br> mov r11,rbp<br> sub r11,rcx<br> mov dl,[r11]<br> add dl,1<br> mov [r11],dl<br> jmp loop1<br><br>next:<br>mov rax,0<br>mov rbx,rax<br>mov rcx,rax<br>mov ax,-1<br>loop2:<br> add ax,1<br> cmp ax,0xff<br> jg return<br> mov r11,rbp<br> sub r11,rax<br> mov dl,[r11]<br> cmp dl,bl<br> jle loop2<br> mov bl,dl<br> mov cl,al<br> jmp loop2<br><br>return:<br>mov rax,rcx<br>mov rsp,rbp<br>pop rbx<br>ret<br></code></pre></td></tr></table></figure>
<div id="paginator"></div></div><div id="post-footer"><div id="pages" style="justify-content: flex-end"><div class="footer-link" style="width: 50%;right:1px;border-left:1px #fe2 solid"><a href="/2023/10/08/Program%20Interaction/">PWN College CSE 466 - Program Interaction Prev →</a></div></div></div></div><div class="bottom-btn"><div><a class="i-top" id="to-top" onClick="scrolls.scrolltop();" title="To Top" style="opacity: 0; display: none;"></a><a class="i-index" id="to-index" href="#toc-div" title="To Catalog"></a><a class="i-color" id="color-mode" onClick="colorMode.change()" title="Change Theme"></a></div></div></article><aside><div id="about"><a href="/" id="logo"><img src="/img/faction/6.png" alt="Logo"></a><h1 id="Dr"><a href="TokameinE">TokameinE</a></h1><div id="description"><p></p></div><div id="social-links"><a class="social" target="_blank" rel="noopener" href="https://github.com/ErodedElk"><i class="fab fa-github" alt="GitHub"></i></a><a class="social" target="_blank" rel="noopener" href="https://space.bilibili.com/1782544616"><i class="fa-brands fa-bilibili" alt="BiliBili"></i></a></div></div><div id="aside-block"><div id="toc-div"><h1>Catalog</h1><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#level1"><span class="toc-number">1.</span> <span class="toc-text">level1</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level2"><span class="toc-number">2.</span> <span class="toc-text">level2</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level3"><span class="toc-number">3.</span> <span class="toc-text">level3</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level4"><span class="toc-number">4.</span> <span class="toc-text">level4</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level5"><span class="toc-number">5.</span> <span class="toc-text">level5</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level6"><span class="toc-number">6.</span> <span class="toc-text">level6</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level7"><span class="toc-number">7.</span> <span class="toc-text">level7</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level8"><span class="toc-number">8.</span> <span class="toc-text">level8</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level9"><span class="toc-number">9.</span> <span class="toc-text">level9</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level10"><span class="toc-number">10.</span> <span class="toc-text">level10</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level11"><span class="toc-number">11.</span> <span class="toc-text">level11</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level12"><span class="toc-number">12.</span> <span class="toc-text">level12</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level13"><span class="toc-number">13.</span> <span class="toc-text">level13</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level15"><span class="toc-number">14.</span> <span class="toc-text">level15</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level16"><span class="toc-number">15.</span> <span class="toc-text">level16</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level17"><span class="toc-number">16.</span> <span class="toc-text">level17</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level18"><span class="toc-number">17.</span> <span class="toc-text">level18</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level19"><span class="toc-number">18.</span> <span class="toc-text">level19</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level20"><span class="toc-number">19.</span> <span class="toc-text">level20</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level21"><span class="toc-number">20.</span> <span class="toc-text">level21</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level22"><span class="toc-number">21.</span> <span class="toc-text">level22</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level23"><span class="toc-number">22.</span> <span class="toc-text">level23</span></a></li></ol></div></div><footer><nobr>Published with <a target="_blank" rel="noopener" href="http://hexo.io">Hexo</a></nobr><wbr><nobr> Theme <a target="_blank" rel="noopener" href="https://github.com/Yue-plus/hexo-theme-arknights">Arknights</a></nobr><wbr><nobr> by <a target="_blank" rel="noopener" href="https://github.com/Yue-plus">Yue_plus</a></nobr></footer></aside></main><canvas id="canvas-dust"></canvas><script src="/js/search.js"></script><script src="/js/arknights.js"></script><script src="//unpkg.com/[email protected]/lightgallery.min.js"></script><script src="//unpkg.com/[email protected]/plugins/zoom/lg-zoom.min.js"></script><script src="//unpkg.com/[email protected]/plugins/thumbnail/lg-thumbnail.min.js"></script><script src="/js/pjax.js"></script><script class="pjax-js">reset= () => {document.querySelector('.lg-container')?.remove()
<div id="paginator"></div></div><div id="post-footer"><div id="pages"><div class="footer-link" style="width: 50%;text-align:right;border-right:1px #fe2 solid"><a href="/2023/11/20/xiangshanbei2023/">← Next 香山杯2023决赛-PWN部分 writeup</a></div><div class="footer-link" style="width: 50%;right:1px;border-left:1px #fe2 solid"><a href="/2023/10/08/Program%20Interaction/">PWN College CSE 466 - Program Interaction Prev →</a></div></div></div></div><div class="bottom-btn"><div><a class="i-top" id="to-top" onClick="scrolls.scrolltop();" title="To Top" style="opacity: 0; display: none;"></a><a class="i-index" id="to-index" href="#toc-div" title="To Catalog"></a><a class="i-color" id="color-mode" onClick="colorMode.change()" title="Change Theme"></a></div></div></article><aside><div id="about"><a href="/" id="logo"><img src="/img/faction/6.png" alt="Logo"></a><h1 id="Dr"><a href="TokameinE">TokameinE</a></h1><div id="description"><p></p></div><div id="social-links"><a class="social" target="_blank" rel="noopener" href="https://github.com/ErodedElk"><i class="fab fa-github" alt="GitHub"></i></a><a class="social" target="_blank" rel="noopener" href="https://space.bilibili.com/1782544616"><i class="fa-brands fa-bilibili" alt="BiliBili"></i></a></div></div><div id="aside-block"><div id="toc-div"><h1>Catalog</h1><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#level1"><span class="toc-number">1.</span> <span class="toc-text">level1</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level2"><span class="toc-number">2.</span> <span class="toc-text">level2</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level3"><span class="toc-number">3.</span> <span class="toc-text">level3</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level4"><span class="toc-number">4.</span> <span class="toc-text">level4</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level5"><span class="toc-number">5.</span> <span class="toc-text">level5</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level6"><span class="toc-number">6.</span> <span class="toc-text">level6</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level7"><span class="toc-number">7.</span> <span class="toc-text">level7</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level8"><span class="toc-number">8.</span> <span class="toc-text">level8</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level9"><span class="toc-number">9.</span> <span class="toc-text">level9</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level10"><span class="toc-number">10.</span> <span class="toc-text">level10</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level11"><span class="toc-number">11.</span> <span class="toc-text">level11</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level12"><span class="toc-number">12.</span> <span class="toc-text">level12</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level13"><span class="toc-number">13.</span> <span class="toc-text">level13</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level15"><span class="toc-number">14.</span> <span class="toc-text">level15</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level16"><span class="toc-number">15.</span> <span class="toc-text">level16</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level17"><span class="toc-number">16.</span> <span class="toc-text">level17</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level18"><span class="toc-number">17.</span> <span class="toc-text">level18</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level19"><span class="toc-number">18.</span> <span class="toc-text">level19</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level20"><span class="toc-number">19.</span> <span class="toc-text">level20</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level21"><span class="toc-number">20.</span> <span class="toc-text">level21</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level22"><span class="toc-number">21.</span> <span class="toc-text">level22</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#level23"><span class="toc-number">22.</span> <span class="toc-text">level23</span></a></li></ol></div></div><footer><nobr>Published with <a target="_blank" rel="noopener" href="http://hexo.io">Hexo</a></nobr><wbr><nobr> Theme <a target="_blank" rel="noopener" href="https://github.com/Yue-plus/hexo-theme-arknights">Arknights</a></nobr><wbr><nobr> by <a target="_blank" rel="noopener" href="https://github.com/Yue-plus">Yue_plus</a></nobr></footer></aside></main><canvas id="canvas-dust"></canvas><script src="/js/search.js"></script><script src="/js/arknights.js"></script><script src="//unpkg.com/[email protected]/lightgallery.min.js"></script><script src="//unpkg.com/[email protected]/plugins/zoom/lg-zoom.min.js"></script><script src="//unpkg.com/[email protected]/plugins/thumbnail/lg-thumbnail.min.js"></script><script src="/js/pjax.js"></script><script class="pjax-js">reset= () => {document.querySelector('.lg-container')?.remove()
lightGallery(document.getElementById('post-bg'), {
plugins: [lgZoom,lgThumbnail],
selector: '.item-img'})}</script><script>window.addEventListener("load",() => {pjax = new Pjax({
Expand Down
Loading

0 comments on commit 837ca7b

Please sign in to comment.