git(五)自动更新blog 这里的自动更新,并不是说人工智能时代可以不用写blog,都交给机器来写:) 当把markdown格式文件放在/root/Desktop目录下,再运行该脚本。 可以给图片添加水平,并且上传到搭建好的blog。 12vi /root/.bashrcalias update='cd /home/Whale3070.github.io;git add .;git commit 2019-04-12 tools git
围城--读后感 围城围城categories: - View围城 一开始读这本书,实在是硬着头皮读下去,像吃一个不甜的梨子,咬了几口,食之无味弃之可惜。 之前读了杨绛的《我们仨》,鼻子酸酸的,感触良多。 因为“结婚就像围城,外面的人想进去,里面的人想出来”,这个名句流传甚广, 所以读不进去必定是我的问题。作为一本名著,必定有它的魅力之处。 再选了一个无人打扰的地点、无事牵绊的时间,于是再重读。 … 适应了快餐网 2019-04-03 View 围城
shell-script(三)批量查询域名 知识点一:while–do–done 语句的运用categories: - linux知识点一:while–do–done 语句的运用案例一: 知识点二:判断符号1234567891011-eq //等于 equal-ne //不等于 not equal-gt //大于 (greater )-lt //小于 ( 2019-04-02 linux
hydra&wfuzz弱密码测试用例(updating) Apache认证123cd /usr/share/seclists/hydra -C Passwords/Default-Credentials/tomcat-betterdefaultpasslist.txt http-get://ip:port/manager/html ssh/ftp密码认证12345678-l -L 设置用户名-p -P 设置密码小写为单个单词,大写为单词字典。 2019-03-24 tools
Frolic(CTF-like again) 10.10.10.11110.10.10.111categories: - training10.10.10.111 scan12345678910111213141516171819202122232425262728293031323334353637383940Nmap 7.70 scan initiated Fri Mar 22 16:23:48 2019 as: nmap -Pn -s 2019-03-23 training 10.10.10.111
Valentine(CTF-like also) 12345Discovered open port 22/tcp on 10.10.10.79 Discovered open port 443/tcp on 10.10.10.79 Discovered open port 80/tcp on 10.10. 2019-03-22 training ``` Discovered open port 22/tcp on 10.10.10.79 Discovered open port 443/tcp on 10.10.10.79 Discovered open port 80/tcp on 10.10.10.79
Calamity(web rce) nikto -h 10.10.10.27 Allowed HTTP Methods: OPTIONS, GET, HEAD, POST OSVDB-29786: /admin.php?en_log_id=0&action=config: EasyNews from http://www.webrc.ca version 4.3 allows remote 2019-03-21
Apocalyst(CTF-like) 12345678922/tcp open ssh OpenSSH 7.2p2 Ubuntu 4ubuntu2.2 (Ubuntu Linux; protocol 2.0)| ssh-hostkey: | 2048 fd:ab:0f:c9:22:d5:f4:8f:7a:0a:29:11:b4:04:da:c9 (RSA)| 256 76:92:39:0a:57:bd:f0:03:2 2019-03-21 training ``` 22/tcp open ssh OpenSSH 7.2p2 Ubuntu 4ubuntu2.2 (Ubuntu Linux; protocol 2.0) | ssh-hostkey: | 2048 fd:ab:0f:c9:22:d5:f4:8f:7a:0a:29:11:b4:04:da:c9 (RSA) | 256 76:92:39:0a:57:bd:f0:03:26:78:c7:db:1a:66:a5:bc (ECDSA) |_ 256 12:12:cf:f1:7f:be:43:1f:d5:e6:6d:90:84:25:c8:bd (ED25519) 80/tcp open http Apache httpd 2.4.18 ((Ubuntu)) |_http-generator: WordPress 4.8 |_http-server-header: Apache/2.4.18 (Ubuntu) Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel 访问发现很慢 `wget http://10.10.10.46 `,发现一个域名 `echo 10.10.10.46 apocalyst.htb >> /etc/hosts` 访问`http://apocalyst.htb`
shell-script(二) 案例三:写一个bash script,目的是扫描40台主机的全部端口,服务版本,生成以IP为目录的扫描结果。案例三:写一个bash script,目的是扫描40台主机的全部端口,服务版本,生成以IP为目录的扫描结果。categories: - linux案例三:写一个bash script,目的是扫描40台主机的全部端口,服务版本,生成以IP为目录的扫描结果。 扫描网段内在线主机 1234nma 2019-03-21 linux 案例三:写一个bash script,目的是扫描40台主机的全部端口,服务版本,生成以IP为目录的扫描结果。
cronOS(域名查询) cat /etc/passwd | grep homeps -ef | grep rootroot 1083 1 0 Mar15 ? 00:00:00 /usr/sbin/cron -f 123#### mysql /var/www/admin/config.phpadmin 2019-03-16