自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(26)
  • 收藏
  • 关注

原创 crackme02——Afkayas.1

我们吸取01的教训查找所有的【You Get】相关的内容,发现只有一个是【Get Wrong】,另一个是【Get it】那解决方法很简单,和01差不多,把汇编指令从je改成jnz。不同的是这里的提示是【You get wrong Try again】唯一烦人的就是需要下载一个MSVBVM50.DLL,放到该路径下。首先,也是看有没有壳,发现这个程序也和01一样是没有壳的。我们从这个【get wrong】入手,分析上下文。02和01功能类似也是校验然后弹窗。最后发现它是从这里跳过来的。

2023-01-02 22:04:59 272

原创 crackme01——Acid_burn

首先看一下这个程序,其实就是个简单的比对程序,主界面按左侧按钮进入Name Serial界面,点击【Check it Baby】,则弹出窗口【Sorry, The serial is incorect!然后,看另一个界面的【Check】,发现它正好停到我们刚刚第一次打的断点处。先检查有没有加壳,看到【Borland Delphi】,很显然没有壳,可以直接分析。现在,我们查看一下它上下文代码,发现是从这里跳转到后面来的 ,此处修改汇编指令为je。我们给他打个断点 ,这次点击【check】后,进入断点了。

2023-01-02 21:46:32 673

原创 C# dataGridView绑定List数据

本来以为简单绑定一下就能显示,后来发现这个玩意挺麻烦的首先是dataGridView本身的设置,DataPropertyName这个值很重要。一开始以为绑定的ColumnName,后来发现这个值才是绑定数据显示的依据。dataGridView1.AutoGenerateColumns = false; // 防止自由生成所有数据列dataGridView1.Columns.Add("address", "address"); //.

2021-12-05 21:23:56 8384 3

原创 记录nubia z17miniS 刷机

买这个手机主要是因为小,而且便宜,所以别吐槽啥现在才买,废话不多说进入正题先刷入第三方recovery参考教程https://www.cnanzhi.com/artdetail/4686装驱动,解压结尾是driver的压缩包,进去点唯一的exe文件,疯狂按是,到最后就安装成功了然后解压结尾是twrp的压缩包,以后打开【z17minis刷recovery.bat】,这是界面手机连接电脑,一步步按照提示走,按1,然后疯狂回车并按提示操作手机,就刷完第三方recovery了刷系统网

2020-12-04 18:00:22 1506

原创 Leetcode: 退格字符串比较(Backspace String Compare)(C++)

Given twostringsSandT,return if they are equal when both are typed into empty text editors.#means a backspace character.Note that afterbackspacing an empty text, the text will continue empty...

2020-04-30 23:11:27 193

原创 Leetcode:链表中间(Middle of the Linked List)(C++)

Given a non-empty, singlylinked list with head nodehead, returnamiddle node of linked list.If there are two middle nodes, return the second middle node.Example 1:Input: [1,2,3,4,5]Output:...

2020-04-30 23:06:09 139

原创 Leetcode: 最左边的列至少有一个(Leftmost Column with at Least a One)(C++)

(This problem is aninteractive problem.)A binary matrix means that all elements are0or1. For eachindividualrow of the matrix, this rowis sorted in non-decreasing order.Given a row-sorted bi...

2020-04-30 23:01:16 295 1

原创 Leetcode: 先序遍历构造二叉搜索树(Construct Binary Search Tree from Preorder Traversal)(C++)

Return the root node of a binarysearchtree that matches the givenpreordertraversal.(Recall that a binary search treeis a binary tree where for everynode, any descendant ofnode.lefthas a valu...

2020-04-30 22:56:38 370

原创 Leetcode: 搜索旋转排序数组( Search in Rotated Sorted Array)(C++)

Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e.,[0,1,2,4,5,6,7]might become[4,5,6,7,0,1,2]).You are given a target value to search. If found ...

2020-04-30 22:51:10 206

原创 Leetcode: 最小路径和(Minimum Path Sum)

Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:You can only move either down or right at a...

2020-04-30 22:46:59 174

原创 Leetcode: Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree(C++)

Given a binary tree where each path going from the root to any leaf form avalid sequence, check if a given stringis avalid sequencein such binary tree.We get the given string from the concatena...

2020-04-30 22:42:42 300

原创 Leetcode: 二叉树最大路径总和(Binary Tree Maximum Path Sum)(C++)

Given anon-emptybinary tree, find the maximum path sum.For this problem, a path is defined as any sequence of nodes from some starting node to any node in the tree along the parent-child connectio...

2020-04-30 22:37:38 460

原创 Leetcode: 岛屿数(Number of Islands)(C++)

Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume...

2020-04-30 22:30:11 251

原创 Leetcode: 有效的括号字符串(Valid Parenthesis String)(C++)

Given a string containing only three types of characters: '(', ')' and '*', write a function to check whether this string is valid. We define the validity of a string by these rules:Any left parenth...

2020-04-28 17:49:29 209

原创 Leetcode: 阵列除自身的乘积(Product of Array Except Self)(C++)

Given an arraynumsofnintegers wheren> 1, return an arrayoutputsuch thatoutput[i]is equal to the product of all the elements ofnumsexceptnums[i].Example:Input: [1,2,3,4]Output:...

2020-04-28 17:40:24 126

原创 Leetcode: 第一个唯一数字(First Unique Number)(C++)

You have a queue of integers, you need to retrieve the first unique integer in the queue.Implement theFirstUniqueclass:FirstUnique(int[] nums)Initializes the object with the numbers in the queu...

2020-04-28 16:40:57 938

原创 Leetcode: 子数组总和等于K(Subarray Sum Equals K)(C++)

Given an array of integers and an integerk, you need to find the total number of continuous subarrays whose sum equals tok.Example 1:Input:nums = [1,1,1], k = 2Output: 2Note:The length o...

2020-04-27 23:55:05 358

原创 Leetcode: 数字范围的按位与(Bitwise AND of Numbers Range)(C++)

Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this range, inclusive.Example 1:Input: [5,7]Output: 4Example 2:Input: [0,1]Output...

2020-04-27 23:46:55 281

原创 Leetcode: 最大正方形(Maximal Square)(C++)

Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area.Example:Input: 1 0 1 0 01 0 1 1 11 1 1 1 11 0 0 1 0Output: 4给定一个填充有0和1...

2020-04-27 23:09:14 369

原创 Leetcode: 最长公共子序列(Longest Common Subsequence)(C++)

Given two stringstext1andtext2, return the length of their longest common subsequence.Asubsequenceof a string is a new string generated from the original string with some characters(can be none...

2020-04-27 22:54:56 410

原创 Leetcode: 跳跃游戏(Jump Game)(C++)

Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determine if yo...

2020-04-27 22:44:44 565

原创 Leetcode: LRU缓存器(C++)

Design and implement a data structure forLeast Recently Used (LRU) cache. It should support the following operations:getandput.get(key)- Get the value (will always be positive) of the key if th...

2020-04-27 22:09:16 348

原创 opencv报错:(depth == CV_8U || depth == CV_32F)

opencv报错:(depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2最近在做个图像匹配的小程序,在调用MatchTemplate时一直报错。查了下才发现,它的意思是:数据类型必须是CV_8U或者CV_32F,并且应该在3通道或者3通道以下。...

2020-02-09 17:50:41 13836 1

原创 使用opencv转视频格式

因为需要把NV21的1080p视频转成YV12,又不知道用什么工具,所以直接写了代码可能代码有点问题,不过能实现我的要求,但还是希望各位大手子在留言区点评下。这是Ubuntu系统下的代码,可能在windows上有所不同。因为懒得弄输入法,所以当时写的是英文的注释,见谅#include &lt;QCoreApplication&gt;#include &lt;opencv2/worl...

2018-12-28 10:50:54 1668

原创 C++ Poco库 Xml使用

这几天公司需要,研究了下Xml的使用。由于某些原因我们不能直接使用文件,于是网上很多教程就作废了。而且官方也没有相关例子,很难受。最后,研究了下源文件,终于知道了原理不废话了,先上代码。string类型到Poco::Document指针的转化#include &lt;Poco/DOM/DOMParser.h&gt;#include &lt;Poco/DOM/Document.h...

2018-08-22 11:06:06 1346

原创 C#winform checkedListBox全选反选

本来写个项目想把全选写在box里面,但是去网上搜代码都是用按钮的,无奈只能自己写顺便记录一下。用的是listbox的ItemCheck事件,代码如下:private void AddIntoCheckedListBox(DataTable dt, CheckedListBox temp_box) { foreach (DataRow row in dt.Ro...

2018-05-11 22:35:52 3603

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除