┌──(root㉿kakeru)-[~/tmp] └─# nmap -A 192.168.240.115 Starting Nmap 7.95 ( https://nmap.org ) at 2025-02-0219:12 CST Nmap scan report for 192.168.240.115 Host is up (0.0018s latency). Not shown:999 closed tcp ports (reset) PORT STATE SERVICE VERSION 80/tcp open http Apache httpd 2.4.38 ((Debian)) |_http-title: Site doesn't have a title (text/html; charset=UTF-8). |_http-server-header: Apache/2.4.38 (Debian) MAC Address:1A:69:75:79:70:92 (Unknown) Device type: general purpose Running: Linux 4.X|5.X OS CPE: cpe:/o:linux:linux_kernel:4 cpe:/o:linux:linux_kernel:5 OS details: Linux 4.15-5.19, OpenWrt 21.02 (Linux 5.4) Network Distance:1 hop
TRACEROUTE HOP RTT ADDRESS 11.79 ms 192.168.240.115
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done:1 IP address (1 host up) scanned in8.02 seconds
rose@flower:~/diary$ sudo -l sudo -l MatchingDefaults entries for rose on flower: env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User rose may run the following commands on flower: (root) NOPASSWD: /bin/bash /home/rose/.plantbook
看看内容:
1 2 3 4 5 6
rose@flower:~$ cat .plantbook cat .plantbook #!/bin/bash echo Hello, write the name of the flower that u found read flower echo Nice, $flower submitted on : $(date)