题目: 题解:
/* 求和运算 */
/* 对[0,n]求和, 减去数组每个元素, 得出丢失的元素 */
int missingNumber(int* nums, int numsSize){int i;int sum numsSize;for (i 0; i < numsSize; i) {sum i - nums[i];}return…
信息收集
IP AddressOpening Ports192.168.101.158TCP:22,33447
$ nmap -p- 192.168.101.158 --min-rate 1000 -sC -sV
Not shown: 65534 closed tcp ports (conn-refused)
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 6.7p1 Ubuntu 5ubuntu1.3 (Ubuntu Lin…