267563c9bf783d6ef9aa4f82f98a1f6bfbfcf26f94db59a9d27c03a9c09ef3a264a874b68305df6b0ad6851ea1b4221e6ec8a9793b4124dec7f2fdda9cf3761fcb00e2dec51111267e39e24cd800e9bdcaba6d129340f7f6984224dfee375cac6c61c9435d07faa50988ca5d20665f4c7408e233b2125e173bb9c8e6aa25c21cc1386812670de011758b5f0a8ad80f11dc82e1cd79439afec68e413b7e56f2736053f797c2faa0cdc89b2981eb0751418c0ef91f9bdba84a47ac5bc29526b73a712bfc697006fd6371217802e1b2ade1d132237c2416e58daad92d9ebf147dde5b468c9906e3cc2ad3a0becca9f318eb8596fea03ea6c50ec ...
267563c9bf783d6ef9aa4f82f98a1f6b5aa14943e91433e92a416b380e84ea42b7a5ad88a8722ec102a28cfe65b5629b4baa9bd48a3bcbb657fb6d9b0fa40b6cc1424c5d50f3d167ccc61ea296e1eff0678a4504e6071e695837d42c9cde6de52bcc40ca9cef0dbfee927e955f10aba86d3ed5f983222cf5386a9f41bc789e87e93f90962b37fbd3effcbbb5cfbe67442bb851bb83f484b2d330cf1b6cae329a6e79b6bcaaf3df92532c064c7dffa3457e772553ec8a01f4bd97d15e6d664afa86faf88db66e0d803802c81e0be016ef82173f53df75fbcd7a9be3a97294a0481ddb628be19d7c99cd3d889e1e78f779d8a08a0b0093678f3 ...
PHP_MASTER PHP由mb_strpos与mb_substr执行差异导致的小trick - Eddie_Murphy - 博客园 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162<?php highlight_file( __FILE__);error_reporting(0);function substrstr($data){ $start = mb_strpos($data, "["); $end = mb_strpos($data, "]"); return mb_substr($data, $start + 1, $end - 1 - $start);}class A{ public $key; public function readflag(){ if($this->key= ...
WEBlyrics先是任意文件读取:把 app.py 等文件导出到本地搭起服务,发现有而读取的内容是 cookie 中的参数,因此可以先生成一个 cookie。然后更新一下生成的 cookie 就行。照着逻辑改改代码,这里有点乱。 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108import base64import hashlibimport hmacimport osimport picklefrom flask import make_response, requestunicode = strbasestring = str# Quoted from python bottle template, t ...
267563c9bf783d6ef9aa4f82f98a1f6b5aa14943e91433e92a416b380e84ea42b7a5ad88a8722ec102a28cfe65b5629b4baa9bd48a3bcbb657fb6d9b0fa40b6cc1424c5d50f3d167ccc61ea296e1eff0678a4504e6071e695837d42c9cde6de52bcc40ca9cef0dbfee927e955f10aba84bb688fae999c60fa81daa6645cb230f50f4d3c80b29b7cb2871263ce7615923679c97f5d5979299a4d7e33ffb72a85bf7d2432b3d83c17e66493be437ee080518681224c98b595e25a4db05a258c5879f2b54538bd3e42afb4548d6fcd02f1e028155fb53258093951992e45c26419c7e055a3d8332a7b0edf03fee94d3d24d01e4ba52bb7b317f2 ...
GoLang
未读最近在 b 站上刷到了一个用 go 做工具的视频,正巧之前下到过相关的电子书,这里正好学习学习。 基础学习测试端口可用性正常 nmap 扫描测试 1-1024 端口: 1234567891011121314nmap -p 1-1024 scanme.nmap.orgStarting Nmap 7.94 ( https://nmap.org ) at 2024-08-19 18:37 中国标准时间Nmap scan report for scanme.nmap.org (45.33.32.156)Host is up (0.22s latency).Not shown: 1016 closed tcp ports (reset)PORT STATE SERVICE22/tcp open ssh79/tcp filtered finger80/tcp open http111/tcp filtered rpcbind135/tcp filtered msrpc137/tcp filtered netbios-ns139/tcp filtered netbi ...
267563c9bf783d6ef9aa4f82f98a1f6b5aa14943e91433e92a416b380e84ea42ee789254da24397cb1ca099cd18e64ed42f277c53c1cc44f1bd7af53f810bca53a64313120507740d7769ce727d02fd967c76e368e9fdc3553a1492dd6d8d08524d407fdbfc307484a056ca36afda7404319b3f7fd20e1988a5427be74d5b3663b640e1bac4ae1c3fa6e290e19edec45aa1bb4a174e10a00924680a7a2c7e9ce6d8e31372547979ff32096b1803b81469e0e5bc07ceeaf189643f54c66598db3286ae87b019e396ae4cdc8330162a8c0746a68aae0294e4aa9ae051b21107b05ac2d3efec1560d80348feb953e3e793e443e5c5dfe84612a8 ...
267563c9bf783d6ef9aa4f82f98a1f6b5aa14943e91433e92a416b380e84ea42ee789254da24397cb1ca099cd18e64ed42f277c53c1cc44f1bd7af53f810bca53a64313120507740d7769ce727d02fd967c76e368e9fdc3553a1492dd6d8d08524d407fdbfc307484a056ca36afda7404319b3f7fd20e1988a5427be74d5b366d4aedc7497f134130cb03e4e79b502f26320edc72650518760ec8ae8bf034506c7e60f8200b78bb8aff2b05ef7d6d590ca3dbf7110817b81eddb223880b12da946c003bf11be9e2760d85b78f22e2d4b51ad2b0f8cd4b47d6ab845999e4fc33e1113db6bb677e705dfd508e8b834896c7318952f2ca1232a8 ...
Tomcat Valve什么是 Valve 和 Pipeline Tomcat中容器的pipeline机制 - coldridgeValley - 博客园 没错,V 社中的 V 就是 Valve 的缩写(阀),因此 steam (蒸汽)这个意思就很明确了 XD 在 Tomcat 中,Pipeline和 Valve是其处理请求的重要概念。 Pipeline 是一系列 Valve 的有序集合。它类似于一个处理请求的流水线,每个 Valve 都代表一个处理步骤。 Valve 是 Pipeline 中的处理单元,负责执行特定的任务,例如身份验证、访问控制、日志记录、请求过滤等。 而 Tomcat 由 Connector 和 Container组成,请求由 Connector 包装为 Request 后交 Container 处理,第一层是 Engine 容器。Engine 不直接调用 Host 处理请求,而是通过 Pipeline 组件。Container 有 4 种:Engine、Host、Context、Wrapper,相互包含。4 种容器都有 Pipeline 组件,每个 P ...
267563c9bf783d6ef9aa4f82f98a1f6be467471deaee651dd97a3c7d0e19dd5e13ed0695aec860dc2a62ee18339e24e9ac04468c78a0c274be7cbdb078363f0615000d3689490902d323750d4d4ef6fe5eb632f41004dd235af1cbda9dbf494ed167826d4bcfa5aaa78fa282f3f1d0d8c611f5184e95d99554fd453f7197628e69403610bcc439c515f3da801c5303db09796546810dda1f99248eba6053a0dba1066662d8f3fa46a301c54c16718fa44e7101a68d7cc504e726a39cfce6a2a229fab3583d20ba725bc34418d02028a3479e808845111419d4af33992fa187806a63a71ffcb06110c34cd1de2c37aa08ca1fe462eb0c830ae ...