$ nmap -p- 10.10.10.52 Starting Nmap 7.91 ( https://nmap.org ) at 2020-11-18 13:39 CST Nmap scan report for 10.10.10.52 Host is up (0.067s latency). Not shown: 65508 closed ports PORT STATE SERVICE 53/tcp open domain 88/tcp open kerberos-sec 135/tcp open msrpc 139/tcp open netbios-ssn 389/tcp open ldap 445/tcp open microsoft-ds 464/tcp open kpasswd5 593/tcp open http-rpc-epmap 636/tcp open ldapssl 1337/tcp open waste 1433/tcp open ms-sql-s 3268/tcp open globalcatLDAP 3269/tcp open globalcatLDAPssl 5722/tcp open msdfsr 8080/tcp open http-proxy 9389/tcp open adws 47001/tcp open winrm 49152/tcp open unknown 49153/tcp open unknown 49154/tcp open unknown 49155/tcp open unknown 49157/tcp open unknown 49158/tcp open unknown 49164/tcp open unknown 49165/tcp open unknown 49168/tcp open unknown 50255/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 903.78 seconds
1. Download OrchardCMS 2. Download SQL server 2014 Express ,create user "admin",and create orcharddb database 3. Launch IIS and add new website and point to Orchard CMS folder location. 4. Launch browser and navigate to http://localhost:8080 5. Set admin password and configure sQL server connection string. 6. Add blog pages with admin user.
# 这里中间很多空行,页面最下面还有 Credentials stored in secure format OrchardCMS admin creadentials 010000000110010001101101001000010110111001011111010100000100000001110011011100110101011100110000011100100110010000100001 SQL Server sa credentials file namez
blog admin password
上面得到的是密码的二进制形式,解码得到密码:
1
@dm!n_P@ssW0rd!
但这个管理界面没什么可利用的地方:
sql password
另外这个文件名base64 hex解码后得到的就是数据库密码,用户名是admin:
1
m$$ql_S@_P@ssW0rd!
orcharddb
然后连接数据库查看信息,得到用户名密码信息:
1 2 3 4 5 6 7
SELECT name FROM master.dbo.sysdatabases; SELECT * FROM orcharddb.INFORMATION_SCHEMA.TABLES; SELECT * FROM orcharddb.INFORMATION_SCHEMA.COLUMNS; USE orcharddb; SELECT * FROM blog_Orchard_Users_UserPartRecord;