概述 Metasploitable3是Metasploitable2的升级版本,它是一个虚拟靶机系统,里面含有大量未被修复的安全漏洞,它主要是用于metasploit-framework测试的漏洞目标。众所周知Metasploitable2由于年久失修,被更好的Metasploitable3给取代了 ...
分类:
Web程序 时间:
2020-06-16 13:01:08
阅读次数:
84
做多网络流之后来个期望水一发 Description link 有一个 $1 \sim n$ 的排列,会进行 \(m\) 次操作,操作为交换 \(a,b\)。每次操作都有 $50%$ 的概率进行。 求进行 \(m\) 次操作以后的期望逆序对个数。 \(n,m\le 1000\) Solution 首 ...
分类:
其他好文 时间:
2020-06-13 17:48:36
阅读次数:
90
###大端:低地址存放高位字节,高地址存放低位字节 ###小端:低地址存放低位字节,高地址存放高位字节 #include <stdio.h> int main() { int i = 1; (*(char*)&i == 1) ? printf("Little-endian\n") : printf( ...
分类:
其他好文 时间:
2020-06-11 10:40:17
阅读次数:
52
难记的大端小端 曾经被电面到一个题目,如何判断一个系统是大端还是小端, 方法其实很简单 int main(){ int i = 0x12345678; // 注意必须是16进制,否则难以判断 return *(char*)&i; } 在linux 的执行结果 gcc test.c $./a.out ...
分类:
数据库 时间:
2020-06-07 19:31:40
阅读次数:
68
#include <cstdio> #include <iostream> using namespace std; int n,m,x; int hh,tt,a[1000001],q[1000001],f[1000001]; int read() { char ch=getchar(); int ...
分类:
其他好文 时间:
2020-06-03 13:40:21
阅读次数:
64
Since Sonya has just learned the basics of matrices, she decided to play with them a little bit. Sonya imagined a new type of matrices that she called ...
分类:
其他好文 时间:
2020-05-28 12:59:01
阅读次数:
66
ELF文件格式,是一个开放的可执行文件和链接文件格式,其主要工作在Linux系统上,是一种用于二进制文件、可执行文件、目标代码、共享库和核心转储格式文件,ELF文件格式类似于PE格式,但比起PE结构来ELF结构显得更加的简单,Linux文件结构相比于Windows结构来说简单一些. 读取ELF头: ...
分类:
其他好文 时间:
2020-05-22 12:56:49
阅读次数:
57
# Example MySQL config file for small systems. # # This is for a system with little memory (<= 64M) where MySQL is only used # from time to time and i ...
分类:
数据库 时间:
2020-05-20 18:49:41
阅读次数:
153
1、前言 大端模式(Big-Endian),是指数据的高字节存储在内存的低地址中,而数据的低字节存储在内存的高地址中,这样的存储模式有点类似把数据当作字符串顺序处理,地址从小向大增加,而数据从高位到低位存放,通常和我们的阅读习惯一致。 小端模式(Little-Endian),是指数据的高字节存储在内 ...
分类:
其他好文 时间:
2020-05-17 12:59:12
阅读次数:
71
In this lesson, we build a little app that fetches dog photos from the dog.ceo API, based on a "breed" search field. We want the API call to happen ag ...