unserialize ctfshow easy

ctfshow web入门 sql注入 web 183-186

web183 - web186 涉及盲注,不管是时间盲注还是布尔盲注,若用手工,会非常耗时,通常使用脚本 重点: ​ 1、了解 python脚本 编写 ​ 2、了解条件语句(where、having)区别 ​ 3、了解sql语句位运算符 ​ 4、了解mysql特性 ​ 5、扩展了解简单爬虫 web1 ......
web ctfshow 183 186 sql

《CTFshow-Web入门》06. Web 51~60

(Web 51~60) ctf - web入门 web51 题解 相比上一题多过滤了 tac 命令。那换一个即可。 题解: url + ?c=nl<fl''ag.php|| web52 知识点 linux适用空格绕过: <、<>、%20(space)、%09(tab)、$IFS$9、${IFS}、$ ......
CTFshow-Web Web CTFshow 06 51

CTFshow愚人杯-被遗忘的反序列化

这题虽然只有100的分值,但是我觉得它涉及到的东西还蛮多的,写个随笔记录一下。 题目 <?php # 当前目录中有一个txt文件哦 error_reporting(0); show_source(__FILE__); include("check.php"); class EeE{ public $ ......
序列 愚人 CTFshow

ctfshow 第三届愚人杯 pwn wp

想起自己貌似没有发过比赛的 wp,也完完整整地参加了好几个比赛,之后会陆续发 ctfshow 愚人杯做完 pwn 方向的题目就溜了,拿了三个一血、两个二血。感觉自己棒棒哒。 easy_checkin 把 show 功能函数放在堆块上且自带后门的题目,存放 UAF 漏洞,修改下 show 功能函数为后 ......
第三届 愚人 ctfshow pwn wp

leetcode-1337-easy

The K Weakest Rows in a Matrix You are given an m x n binary matrix mat of 1's (representing soldiers) and 0's (representing civilians). The soldiers ......
leetcode 1337 easy

leetcode-1342-easy

Number of Steps to Reduce a Number to Zero Given an integer num, return the number of steps to reduce it to zero. In one step, if the current number i ......
leetcode 1342 easy

leetcode-1360-easy

Number of Days Between Two Dates Write a program to count the number of days between two dates. The two dates are given as strings, their format is YY ......
leetcode 1360 easy

leetcode-766-easy

Toeplitz Matrix Given an m x n matrix, return true if the matrix is Toeplitz. Otherwise, return false. A matrix is Toeplitz if every diagonal from top ......
leetcode easy 766

leetcode-806-easy

Number of Lines To Write String You are given a string s of lowercase English letters and an array widths denoting how many pixels wide each lowercase ......
leetcode easy 806

leetcode-812-easy

Largest Triangle Area Given an array of points on the X-Y plane points where points[i] = [xi, yi], return the area of the largest triangle that can be ......
leetcode easy 812

leetcode-830-easy

Positions of Large Groups In a string s of lowercase letters, these letters form consecutive groups of the same character. For example, a string like ......
leetcode easy 830

leetcode-844-easy

Backspace String Compare Given two strings s and t, return true if they are equal when both are typed into empty text editors. '#' means a backspace c ......
leetcode easy 844

leetcode-944-easy

Delete Columns To Make Sorted You are given an array of n strings strs, all of the same length. The strings can be arranged such that there is one on ......
leetcode easy 944

ctfshow web入门 sql注入 176-182

176 - 182 简单注入(可以不用联合注入、盲注等方法,可以使用,但不建议) 重点: 1、了解万能密码的原理 2、了解空格绕过 3、了解精确查询与模糊查询 web176 web176 — web180 页面都一样,因此不贴出相应的代码,只给黑名单与payload web176 — web180 ......
ctfshow 176 182 web sql

CTFSHOW 萌新web10-21

ctfshow 萌新web10-21 web10 题目提示flag在congfig.php中 php中作为执行系统命令的函数: system() passthru() exec() shell_exec() popen() proc_open() pcntl_exec() 源码中过滤了 system ......
CTFSHOW web 10 21

go-easy-utils 2.0 正式发布,全面支持泛型和any

介绍 这是一个基于 Go 语言开发的通用数据类型处理工具类,帮助开发者在业务代码实现中处理常见的数据类型和数据操作。可以让您专注于您的业务代码的实现,而免去处理基本数据类型转换和验证的功能。该工具库无侵入式的设计可以让您的业务代码更容易阅读和优雅。 快速开始 安装 使用 Go1.18 及以上版本的用 ......
go-easy-utils utils easy 2.0 any

二分查找 (easy 704. 二分查找)

虽然也刷了一些题了, 但是没有总结, 这样效率不高. 之后刷题都写一下总结. LeetCode上的标记 : 红色 不通过 紫色 有待优化 绿色 达到期望 (easy 704. 二分查找) :pushpin:001 递归 开始用递归写了一遍, 代码写得很长 递归要注意target的值在哪个范围, 如果 ......
easy 704

ctfshow web入门 sql注入 171-175

171-175 同属无过滤绕过(并未对 sql 语句过滤,仅对查询结果过滤) 重点: 1、了解万能密码 2、了解 sql 语句中字符串函数 3、了解备份功能(导入/导出数据) 4、蚁剑如何连接数据库 web171 $sql = "select username,password from user ......
ctfshow 171 175 web sql

《CTFshow - Web入门》05. Web 41~50

(Web 41~50) ctf - web入门 web41 这一题参考了其他师傅的writeup: ctfshow web入门 web41 CTFshow wbe41 教你写脚本 以及bilibili上的官方讲解:CTFshow-web入门-命令执行 震惊我这个小白一整年。 视频讲的挺清楚的,这里只 ......
Web CTFshow 05 41 50

ctfshow-web4(Nginx日志写shell)

这是一道有关Nginx日志文件写入shell的题目。 一、 基础知识 /etc/nginx/nginx.conf:该文件是Ngnix的配置的文件,该文件保存着能够影响服务器运行的配置信息。有时会泄露敏感信息。该文件支持php解析。 /var/log/nginx/access.log:该文件是Ngni ......
ctfshow-web ctfshow Nginx shell 日志

easy excel 分页查询数据并上传文件服务器返回链接

##背景 之前看到公司的excel下载是先分页查询再上传到obs(华为云服务器),最后返回链接的,最近在学习easy excel特意记录一下。 ##目的 实现easy excel 分页查询数据并上传文件服务器返回链接 ##参考链接 这里 ##实现代码 点击查看代码 @GetMapping("down ......
链接 服务器 文件 数据 excel

CTFShow愚人杯RE

easy_pyc 很简单的py逆向题,用uncompyle6反编译出源码如下 # uncompyle6 version 3.9.0 # Python bytecode version base 2.7 (62211) # Decompiled from: Python 3.9.11 (tags/v3 ......
愚人 CTFShow

ctfshow 愚人杯 2023

#一、奇怪的压缩包 #1.zip包伪加密,两个头都需要改 #2.打开得到png,看图片底部,猜测高度错误,改150到300,得到字串,同时在图片的末尾有zip包,zip为真加密,文件末尾密码 #3.打开后,改宽高,得到flag #二、哇库哇库2 #1.zip包是加密的,注释中有密码提示,在网上找了一 ......
愚人 ctfshow 2023

easy-excel读取远程地址获得文件进行上传

##背景 作为一个快五年的程序员,一直以来还没有自己维护过自己的技术栈,最近也是有时间,所以也是下定决心,从头开始,一步一步的夯基础。最近在系统化的学习easy-excel,今天遇到了一个问题,特意记录一下。 ##目的 尝试前端上传文件到文件存储器,然后请求的时候带上这个路径,后台解析这个路径,做e ......
easy-excel 地址 文件 excel easy

ctfshow web入门 php特性 109-115

109-110 需要了解 PHP原生类 112-114 使用伪协议 重点 ​ 1、了解PHP原生类(内置类)、匿名类 ​ 2、了解伪协议、过滤器 ​ 3、了解引用赋值 ​ 4、了解超全局变量 ​ 5、了解 is_numeric() 与 trim() 缺点 web109 highlight_file( ......
特性 ctfshow 109 115 web

Hot Start Up (easy version) CF1799

你有两个 CPU,n个程序(m个类型)要运行。 在不同条件下程序运行的时间不同,但连续运行的时间满足小于等于在不连续状态下运行的时间。 #include <iostream> #include <cstring> #include <queue> using namespace std; const ......
version Start 1799 easy Hot

求求你别乱脱敏了!MyBatis 插件 + 注解轻松实现数据脱敏,So easy~!

问题 在项目中需要对用户敏感数据进行脱敏处理,例如身份号、手机号等信息进行加密再入库。 解决思路 就是:一种最简单直接的方式,在所有涉及数据敏感的查询到对插入时进行密码加解密 方法二:有方法一到出现对所有重大问题的影响,需要考虑到问题的出现,并且需要考虑可能出现的组员时添加数据的方法。 最后决定采用 ......
注解 插件 MyBatis 数据 easy

leetcode-733-easy

Flood Fill An image is represented by an m x n integer grid image where image[i][j] represents the pixel value of the image. You are also given three ......
leetcode easy 733

leetcode-1005-easy

Maximize Sum Of Array After K Negations Given an integer array nums and an integer k, modify the array in the following way: choose an index i and rep ......
leetcode 1005 easy

leetcode-724-easy

Find Pivot Index Given an array of integers nums, calculate the pivot index of this array. The pivot index is the index where the sum of all the numbe ......
leetcode easy 724
共322篇  :10/11页 首页上一页10下一页尾页