上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 274 下一页
摘要: 《逆向工程核心原理》学习笔记1 写在前面,因为用的是一个windows 桌面程序,其调用的api还是非常复杂的,但是main函数却非常简单。使用IDA反编译就知道: ; int __cdecl main(int argc, const char **argv, const char **envp) 阅读全文
posted @ 2023-03-02 11:26 bonelee 阅读(295) 评论(0) 推荐(0)
摘要: 今天面试一个小伙问旋转数组的二分搜索,https://leetcode.cn/problems/search-in-rotated-sorted-array 我自己先写了一份代码如下,是不是觉得很丑陋,重复代码较多? class Solution: def search(self, nums: Li 阅读全文
posted @ 2023-02-27 20:32 bonelee 阅读(44) 评论(0) 推荐(0)
摘要: 下载链接:https://s.threatbook.com/report/file/f4c319e43296ab323615ac4bd4b7601991218ecb6d6043b1c040a96f1a33f14f #!/bin/sh localgo() { myhostip=$(curl -sL i 阅读全文
posted @ 2023-02-21 20:02 bonelee 阅读(171) 评论(0) 推荐(0)
摘要: Azure-Sentinel/Detections/CommonSecurityLog/Fortinet-NetworkBeaconPattern.yaml RawBlame id: 3255ec41-6bd6-4f35-84b1-c032b18bbfcb name: Fortinet - Beac 阅读全文
posted @ 2023-02-16 11:13 bonelee 阅读(109) 评论(0) 推荐(0)
摘要: 请生成rundll32.exe 可以运行的打开计算器程序的dll C++代码,并给出编译代码和运行方式。 #include <windows.h> BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpRe 阅读全文
posted @ 2023-02-15 16:20 bonelee 阅读(105) 评论(0) 推荐(0)
摘要: Converting Boolean-Logic Decision Trees to Finite State Machines for simpler, high-performance detection of cybersecurity events 将布尔逻辑决策树转换为有限状态机 用于更简 阅读全文
posted @ 2023-02-03 16:51 bonelee 阅读(96) 评论(1) 推荐(0)
摘要: Python 求两个 list 的交集、并集、差集、和集 此处是对 list 进行运算,而非 set。 import collections from functools import reduce a = [1,2,3,3,4] b = [3,3,4,5,6] aa = collections.C 阅读全文
posted @ 2023-01-31 17:12 bonelee 阅读(489) 评论(0) 推荐(0)
摘要: 总结算法模板: from typing import ( List, ) class Solution: """ @param a: an integer array @param v: an integer array @param m: An integer @return: an array 阅读全文
posted @ 2023-01-25 17:06 bonelee 阅读(185) 评论(0) 推荐(0)
摘要: python的切片赋值一般针对列表而言,比如list1[1:4]=[2,3,4],那么list1列表中第2个到第4个的元素就被替换为2,3,4了,这样就非常方便快捷。 切片赋值 切片有一个强大功能是给切片赋值,如果把切片放在赋值语句的左边,或把它作为del操作的对象,我们就可以对序列进行嫁接、切除或 阅读全文
posted @ 2023-01-25 16:28 bonelee 阅读(888) 评论(0) 推荐(0)
摘要: 105. 从前序与中序遍历序列构造二叉树 给定两个整数数组 preorder 和 inorder ,其中 preorder 是二叉树的先序遍历, inorder 是同一棵树的中序遍历,请构造二叉树并返回其根节点。 示例 1: 输入: preorder = [3,9,20,15,7], inorder 阅读全文
posted @ 2023-01-21 21:45 bonelee 阅读(56) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 274 下一页