22:22

Blogs of Xiaomi Wang

0%

暂且叫做博客吧, 毕竟大家都这么叫~φ(* ̄0 ̄)

新奇的东西还是多呀, 互联网让人眼花缭乱.

记得以前, 我们想要一个自己的网站, 也许就是简单的写写文章文档, 可能要自己搞个服务器, 然后跑系统(自己做, 或现成的, 或简单的h5特效页面), 要不就只有在别人的博客网上注册账号使用. 大型专门的博客网站, 例如: 博客园, CSDN等一些. 这些的优点就是访问无限制, 缺点就是给你什么样的就是什么样, 没得商量, 没法控制. 如果自己搭服务器的话, 首先要钱, 没有一次 xxx, 终生 yyy, 而且访问速度或流量限制, 还得防着服务器攻击, 根本没法用. 各种麻烦各种不靠谱.

不过怎么说呢, 还是自己知道的少了. 非得流行起来才晓得, 菜(~ ̄▽ ̄)~

因为刚刚查了下, github pages 08年就推出了, 那时 win7 都还没出来, 而我接触计算机 还是 win8 出来了之后. 那年年底 12-20 , 微软放出 win10 的消息.

阅读全文 »

这个问题很怪, 在微软官网下载 VSCode 都下不了, 因为微软的东西大都是短链接到 aka.ms 的, 网上也一点线索找不到.

表现为:

  1. 电脑无法访问, 用梯子都没用.
  2. 手机使用wifi也一样, 这就排除了设备的问题. 开vpn也不行就有点纳闷了.
  3. 手机使用流量无法访问, 但是 流量+梯子 居然可以, 但是呢速度慢得要死, 不是一般的慢.
  4. 这就有点纳闷了. 联系同学尝试, 结果差不多, 就是 流量可以直接访问.

后来几经摸索, 终于找到原因: 默认dns被污染了

指定了 dns 服务器就好了, 秒访问.

1
114.114.114.114

这个大家都不陌生吧~, 不过听说这家伙会莫名多很多广告. 所以下面才是正确的姿势:

阅读全文 »

1
2
3
4
5
6
7
8
9
# 禁用更新: 
adb shell pm disable-user com.oneplus.opbackup
# 恢复更新:
adb shell pm enable com.oneplus.opbackup
# 如果提示 error
# 则进入 adb shell , su
adb shell
su
pm disable-user com.oneplus.opbackup

Google一下

The $WinREAgent folder is created during a Windows Update or upgrade and contains temporary files that allow you to recover Windows 10 if there are problems during the upgrade or update.

总结一下:

$WinREAgent 文件夹是WIndows10更新是产生的, 用于存放更新失败恢复的文件. 更新之后可以随意删除.

探测目标主机操作系统类型

示例1

nmap aliyun.com -O
Starting Nmap 7.91 ( https://nmap.org ) at 2020-11-26 20:04 ?D1ú±ê×?ê±??
Nmap scan report for aliyun.com (106.11.248.144)
Host is up (0.025s latency).
Other addresses for aliyun.com (not scanned): 106.11.172.56 106.11.172.51 106.11.172.9 140.205.135.3 140.205.60.46 106.11.253.86 106.11.253.83 106.11.249.99 106.11.248.146
Not shown: 998 filtered ports
PORT STATE SERVICE
80/tcp open http
443/tcp open https
Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
Device type: proxy server
Running (JUST GUESSING): Blue Coat embedded (86%)
OS CPE: cpe:/h:bluecoat:packetshaper
Aggressive OS guesses: Blue Coat PacketShaper appliance (86%)
No exact OS matches for host (test conditions non-ideal).

OS detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 10.86 seconds

探测扫描结果:

Aggressive OS guesses: Blue Coat PacketShaper appliance (86%)

阅读全文 »

在使用nmap扫描目标主机时:

nmap –osscan-guess www.minzhuokj.com
Starting Nmap 7.91 ( https://nmap.org ) at 2020-11-26 19:44 ?D1ú±ê×?ê±??
Nmap scan report for www.minzhuokj.com (39.96.251.199)
Host is up (0.025s latency).

PORT STATE SERVICE
1/tcp open tcpmux
3/tcp open compressnet
4/tcp open unknown
6/tcp open unknown
7/tcp open echo
9/tcp open discard
13/tcp open daytime
17/tcp open qotd
19/tcp open chargen
20/tcp open ftp-data
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
24/tcp open priv-mail
25/tcp open smtp
26/tcp open rsftp

发现 ssh22 号端口开放, 于是尝试连接:

ssh.exe 39.96.251.199
ssh_exchange_identification: read: Connection reset

正常情况应该是提示输入用户名密码.

阅读全文 »