Hello World Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick 2025-07-28
What Is Greedy Algorithm Description:A greedy algorithm is any algorithm that follows the problem-solving heuristic of making the locally optimal choice at each stage.[1] In many problems, a greedy strategy does not produce a 2025-07-27 Coding #algorithm
SWPUCTF2021新生赛Web刷题记录 [SWPUCTF 2021 新生赛]gift_F12Ctrl+U查看前端源码再Ctrl+F搜搜Flag即可 [SWPUCTF 2021 新生赛]jicao<?php highlight_file('index.php'); include("flag.php"); $id=$_POST['id']; $json=json_decod 2025-07-21 CTF #CTF #Web
攻防世界Crypto-babyFibo 分析附件内容: import os import libnum from secret import flag def fibo(n): assert n >= 0 if n < 2: return n return fibo(n-1) + fibo(n-2) s = fibo(1000) m = libnum.s2n(flag+os.ura 2025-07-21 CTF #Crypto #CTF
攻防世界Crypto-初识RSA 分析附件内容: from Crypto.Util.number import bytes_to_long,inverse,getPrime from flag import flag m = bytes_to_long(flag) p = getPrime(1024) q = getPrime(1024) n = p*q print(n) e = 65537 c = pow(m,e,n) 2025-07-21 CTF #Crypto #CTF
攻防世界Crypto-二元一次方程组 分析:import libnum from Crypto.Util import number from secret import flag size = 256 e = 65537 p = number.getPrime(size) q = number.getPrime(size) avg = (p+q)/2 n = p*q m = libnum.s2n(flag) c = pow(m 2025-07-21 CTF #Crypto #CTF
攻防世界Crypto-baigeiRSA 拿到附件后查看内容import libnum from Crypto.Util import number from secret import flag size = 128 e = 65537 p = number.getPrime(size) q = number.getPrime(size) n = p*q m = libnum.s2n(flag) c = pow(m, e, n) 2025-07-21 CTF #Crypto #CTF
深度学习:从头构建神经网络 Description本文旨在使用PyTorch构建并训练一个最简单的神经网络,无需添加任何花哨的层或依赖包。 该模型将足够简单,大家都能使用CPU或GPU来构建和训练。 这个模型虽然简单,但包含了当前诸如LLM和Stable Diffusions等大型模型所拥有的所有基本元素。 准备数据假设我们要训练一个具有四个权重并能输出一个数字结果的模型,如下所示: $ y = w_1 * x_1 2025-07-19 AI #AI #Deep Learning
动手学深度学习系列01-楔子 前言大模型建议先从主流开源的Qwen3、Llama3.1上⼿,先快速体验提示词⼯程,然后再学习 LLM模型架构,尝试RAG,跑LoRA微调脚本。 进一步学习目标: 学习如何从零训练大模型(1B左右规模,预训练+SFT+DPO) 钻研SFT • 1)专有任务如Code⽣成、NL2SQL或通⽤NLP的NER、分类、抽取、摘要模型 • 2)场景领域微调,⾦融任务LLM、法律LLM、医学LLM、电商 2025-07-18 AI #AI
爱企查无法使用F12问题 起因最近突然需要找一下自己爱企查的账号cookie,于是上来一个F12结果发现半天按不出来(刚开始在想是不是键盘的F12坏了,但是换了其他的页面就是正常的) 在B站看到了id为”无名的Coder”大佬的视频在此做个学习记录 Hyperlink: js逆向-爱企查:F12检测绕过,头部参数加密_哔哩哔哩_bilibili 开搞先打开F12(不用管是否正常显示,当然正常显示你就不用继续看了) 之后 2025-07-17 Web安全 #Web安全