diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 32456a4..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/.idea/*
-*.pyc
\ No newline at end of file
diff --git a/README.md b/README.md
deleted file mode 100644
index 7b84718..0000000
--- a/README.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# pythonwebhack
-
-> 用python 2.7实现的web框架建立的在线渗透平台
-> web框架是flask 前端框架是amazeUI
-
-## 安装
-`pip install flask`
-
-`pip install requests`
-
-`pip install MySQLdb `
-
-
-[usage]: python `myweb.py `
-
-乌云数据库文件安装 链接: http://pan.baidu.com/s/1hrKYy8W 密码: yrrr
-
-## 更新
-
-- 12.7 更新 加入乌云漏洞库忽略漏洞查询
-- 11.22 更新 集成了乌云漏洞查询 [搭建教程][3]
-- 11.7 更新 加入了在线社工库 调用的接口~
-- 10.25 更新 加入了社会工程学密码生成和whois查询
-- 10.21 更新 加入了CMS在线识别
-
-
-## 学习教程
-每一步都记录了 [编写记录][1]
-
-
- 用新浪云搭建了下 [http://systeminfo.applinzi.com/][2]
-
-
- [1]: http://bbs.ichunqiu.com/forum.php?mod=collection&action=view&ctid=65
- [2]: http://systeminfo.applinzi.com/
- [3]: http://bbs.ichunqiu.com/forum.php?mod=viewthread&tid=15744&page=1&extra=#pid261144
diff --git a/baiduip.py b/baiduip.py
deleted file mode 100644
index 4a37f32..0000000
--- a/baiduip.py
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env python
-# coding=utf-8
-
-"""
-Function: BaiDuIP地址定位
-Author: endness
-Time: 2016年10月20日 20:17:33
-"""
-import urllib2
-import json
-
-ak = 'YIogecncCOvlq2oGgWqnYRUCWhKma8dY'
-#IP为空默认本机IP
-def search(ip=""):
- url = "https://api.map.baidu.com/highacciploc/v1?qcip=%s&ak=%s&qterm=pc&extensions=1&coord=bd09ll&callback_type=json" % (ip,ak)
- response = urllib2.urlopen(url)
- html = response.read()
- s = json.loads(html)
- data={}
- data["radius"] = s["content"]["radius"] #定位半径
- data["lng"] = s["content"]["location"]["lng"] #经度
- data["lat"] = s["content"]["location"]["lat"] #纬度
- data["formatted_address"] = s["content"]["formatted_address"] #详细地址
- data["admin_area_code"] = s["content"]["address_component"]["admin_area_code"]#行政区划代码(身份证前6位)
- data["map"] = getmap(data["lng"],data["lat"])
- return data
-
-def getmap(lng,lat):
- url = "http://api.map.baidu.com/staticimage?width=600&height=400¢er=%s,%s&zoom=11"%(lng,lat)
- return url
-
-if __name__ == "__main__":
- pass
\ No newline at end of file
diff --git a/cms.py b/cms.py
deleted file mode 100644
index 7740375..0000000
--- a/cms.py
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/env python
-# coding=utf-8
-
-"""
-Function: CMS识别系统
-Author: w8ay
-Time: 2016年10月21日 16/17/33
-"""
-
-import requests
-import hashlib
-import socket
-import os
-
-data = []
-socket.setdefaulttimeout(10)
-
-def get_md5_value(src):
- myMd5 = hashlib.md5()
- myMd5.update(src)
- myMd5_Digest = myMd5.hexdigest()
- return myMd5_Digest
-
-def getmd5(url):
- src = requests.get(url).content
- md5=get_md5_value(src)
- return md5
-
-def init():
- file_url = os.path.abspath(os.path.split(os.path.realpath(__file__))[0] + r"./config/dna.txt")
- file = open(file_url)
- try:
- for line in file:
- str = line.strip().split(" ")
- ls_data={}
- if len(str)==3:
- ls_data["url"] = str[0]
- ls_data["name"] = str[1]
- ls_data["md5"] = str[2]
- data.append(ls_data)
- finally:
- file.close( )
-
-def cms(url):
- if url is None:
- print "url is Null!"
- return
- url = url.rstrip("/")
- for dataline in data:
- _url = url + dataline["url"]
- #print "Scan " + _url
- try:
- status = requests.head(_url,timeout=10).status_code
- except:
- pass
-
- if status==200:
- md5 = get_md5_value(requests.get(_url).content)
- #print md5
- if(md5 == dataline["md5"]):
- dataline["url"] = _url
- return dataline
- return False
-
-#初始化载入字典
-init()
-if __name__ == '__main__':
- pass
\ No newline at end of file
diff --git a/config/dna.txt b/config/dna.txt
deleted file mode 100644
index 5763ed4..0000000
--- a/config/dna.txt
+++ /dev/null
@@ -1,131 +0,0 @@
-/favicon.ico ecshop 724c06bcaf1a3005ba1da8207d2f43d0
-/favicon.ico ecshop 428b23df874b41d904bbae29057bdba5
-/favicon.ico Discuz c028c4822428e83a358c60a93ef65381
-/content/templates/default/main.css emlog add7b70ee1f05b20aee4079d00a72b60
-/robots.txt cmseasy 6d23cecefe90583d475a415aad172510
-/robots.txt cmseasy3.5 9feccf8b92b8a920d175df41fb0d362a
-/favicon.ico dedecms 7ef1f0a0093460fe46bb691578c07c95
-/robots.txt Discuz2x 2b5cb8618fba34f891ca7b59e232170a
-/robots.txt Discuz3x e4c3bfe695710c5610cf51723b3bdae2
-/robots.txt Discuz3x 4128ea5ec7c9d736bcde5acbfa2eb08f
-/favicon.ico Discuz!Board d1de7ce7b9fab425f49cec61d6ad0065
-/Vote/Img/skin/css_2/2_logo.gif foosun 8a7af084aea04360163a28ad17385fe8
-/js/close.gif aspcms2 1f96a4dc1fd3761cbbc63160f4663bf6
-/member/images/member.gif dedecms 4357834e5cd7cfdd3ea93dc93eefda9a
-/member/templets/images/login_logo.gif dedecms e5ef5cbf5adee69581b6ef02333b82e3
-/plus/img/wbg.gif dedecms 3a5f9524e65a24b169e232ed76959eb8
-/images/qq/qqkf2/Kf_bg03_03.gif aspcms2 fd5895d46be13038be5dffd88539cb45
-/favicon.ico Phpwind cfc440185d836a969827f0fd52d38e03
-/images/admin/login/logo.png Phpwind 77ab4d3d34521c54bb0ea09286eda1d2
-/admin/discuzfiles.md5 Discuz c11c470d1050bf8e20e6a94099c082f1
-/favicon.ico Phpcms 51fd7ea69a314e6cef2ba850d7f93853
-/htaccess.txt Joomla a386e1067169c649dc3949f7a198eb7b
-/.htaccess Drupal b0ca713850dca569644ee015458a52f3
-/images/kesion.png kesion 048115cf38771e35d1cb3979f08e2ed0
-/wp-content/themes/twentyten/images/wordpress.png Wordpress f51375d00e7d0a70c801c6256d432d3b
-/wp-admin/images/wp-logo-2x.png Wordpress e0c1cc94af35c8b495e35e9e6fbdad05
-/admin/views/style/green/style.css emlog e3891fd6c4be0d9907f6389cbc3913b3
-/Images/logo.gif southidc 23d42cd034b2baa4859174f25f6ddd4c
-/Script/Html.js southidc e42ebc34d965d29654128f18385fe2a4
-/kaiyuanhome/images/logo.jpg HDwiki 26089e2b5dc983e21c7e4ee7139e55e2
-/style/default/hdwiki.css HDwiki 1c9a27d7c1b47da2083be4012408c75e
-/style/default/hdwiki.css HDwiki 226c20d5f724e01cb7b0518334182ce9
-/style/default/hdwiki.css HDwiki 0a913f1e4f5be9f9510cd336e5a53d08
-/e/tool/feedback/temp/test.txt diguoCMS 8eaf3eb0a904b0507199a644d1026fd7
-/static/image/admincp/logo.gif Discuz 86453e237f4e78c656095a4978175b57
-/images/index_24.jpg 爱装网 173e61e7b4faea97eb8b1e7cb975681e
-/images/home/nchz_13.gif 爱装网 5929140a1a9d50d8c1168750a82858a8
-/images/user_logo.GIF N点虚拟主机 2f1c91922efbaf8eb92dbb8020588831
-/admin/Images/del.gif kesioncms 62d789a3c0e332b1b37adee5d95a5cee
-/KS_Inc/common.js kesioncms 7301940bc8d97156c0882e2272ab5f72
-/images/logo.gif 86cms dcaa64ffe249dfaa70cfc6e95466e741
-/adfile/ad9.js 86cms b57ae1014626b16880282e08b772e2aa
-/images/lzbg12.gif luzhucms 86dd66d4951f0f64aa33960546aeec3f
-/images/bg1.gif luzhucms 8dfe3b7bf5d8c1469eaa9e43e31aa74b
-/inc/image/bj.gif ideacms 95c44459669b7ccea31cdea399d454ca
-/inc/photo/loader.gif ideacms 71f0518dad0c74927f3bf3d4a5fb6fb2
-/images/act_1.gif actcms baa410081df00f46a03ae7d0bb2d50e6
-/images/reg.gif actcms 1a18df0fbc65058bcb98e4dd7ff9c0bf
-/favicon.ico qibocms 4c7d2f1c6455c0fd1493fc36cbec7089
-/admin/images/login/index_hz02.gif qibocms b43fb839a1b429165c614488b5c7e6ce
-/robots.txt siteserver daae653583650582032c5c258faa7d8a
-/siteserver/pic/company/logo.gif siteserver 9c958caee36407f14b3455c2d47dc5a0
-/Upload/Logo.jpg 智睿网站系统 199cc54208ea0f6377fd60a44aaf5793
-/images/Arrow_02.gif 智睿网站系统 6be608ef8b05f05b5e47d44646a1f3cd
-/upload/logo.jpg 智睿学校网站系统 f77fa432df69202f13d27f06bcbdbe7f
-/inc/qq.js YiDacms 6909101800e2587fc36e32c5431c6b4c
-/images/yi.png Yidacms efa2a854ad9897ec4c6c182e47045247
-/robots.txt EmpireCMS 1e5e773092126eadebd896fa7fb1e6e4
-/static/image/common/logo.png Z-Blog ee292fe9c2babc40dcdbd60d5b40e4d3
-/components/com_mailto/views/sent/metadata.xml joomla 891d9339b9237331848b8cf756da2953
-/wp-admin/js/media-upload.dev.js wordpress c89f28b3f0b28b839538d99883e70817
-/robots.txt phpcmsv9 7750f62fc14ea34527c09c7694a3d406
-/admin/ecshopfiles.md5 ecshop e99cc417418594504efcd1bb1987864c
-/rss.xsl powereasy动易 f2886b001cf648e033824f75ce5454bd
-/License.txt powereasy动易 bdb22d202c148bedac1a58859f8a4f52
-/images/logo.gif dvbbs a1158ed8cbc8983e4fceb8dbd5914a55
-/robots.txt EmpireCMS 1e5e773092126eadebd896fa7fb1e6e4
-/themes/README.txt drupal ebb103f4c12b214d0e1cc622c5da4216
-/images/logo.jpg shopxp f3266e43894b6e77d57e8ea2e160b8d8
-/favicon.ico mlecms a68a2169436bd7a30f2f1e17c2a36b21
-/favicon.ico mlecms 7d1ef8f5478fc951725b8858c371517b
-/admin/images/logo.png zcncms 05e27fe8919e6142f922024c77f61479
-/images/default/loading.gif zcncms 7b9776076d5fceef4993b55c9383dedd
-/favicon.ico netgather e64d01ec6dc8cee4add852e2b7a93c80
-/404/emessage.gif 尘月企业网站管理系统 9e64377e3975c928c3bff97d49e1917a
-/Admin_Cy/Script/xselect.js 尘月企业网站管理系统 17cffe01f7ad89fba3a6a4624bf5abfe
-/images-global/zoom/zoom-caption-fill.png abcms 30622d7dfb42b9e1d0e78b1fdd9340ce
-/upload/201108/1313422810.gif kuwebs 48b9ba6238fbfe755b570b40665b4183
-/images/images/message.gif kuwebs ea922c022775686cd300a345e9220121
-/install/images/00.png abcms 1513efc63c01b27ec75402e4b0d3b95f
-/images/_m10.GIF 青果软件教务系统 5f18dc98d899dadec18bd506ff17f253
-/images/index_border1.gif 青果软件教务系统 6847aab9eafaa3b18c9779ddf34f92e2
-/favicon.ico iwebshop 46ad7401bb5815164a01ad924ffb1436
-/image/watermark.gif iwebshop ac269b3a072ef820a5d4aa00d5bfd79c
-/favicon.ico otcms 931fefaca9f943da954fc2a1e4080146
-/theme/default/images/logo.gif sdcms d535f2edf34bc2d2705c236dfea92969
-/max-templates/default/images/logo.gif sdcms 781bf9d508406e067449c9429824ef21
-/adminimages/title.GIF 露珠文章管理系统 625f2078f5cc4bbffb4f1390f982b66b
-/ACT_inc/ItemBg.gif actcms 9cfc31ea9b376230b76bfbbf70b814bf
-/ACT_inc/share/minusbottom.gif actcms 934a2b40df618be35f7488ac3245aca6
-/Admin/Images/logo.jpg actcms 16088c9aeb5b77ef3a07db4e08834880
-/Admin/Images/bg_admin.jpg actcms 6b1185f2df41f38247d20f1f5b53c0cc
-/images/luzhu.gif 露珠文章管理系统 71433dae83ef287dc8f355377779045d
-/imageslzcms/logo.gif 露珠文章管理系统 1d2d2581007cbb2c3e1ea609e736d1d2
-/_skins/201209/images/logo.jpg 凡诺企业网站管理系统 33e6a22765897b73d0a6e97ecd57546a
-/UploadFiles/image/logo.png 非凡建站 40a6ec9e1d00f94a3f3dc6f093d340ea
-/static/image/common/logo.gif 74cms 41d072214c5462ad7185ae3d7d557145
-/images/usercp_usergroups.gif siteengine 2e6aa24c1f3805289405818df841dd72
-/data/smiliey/default/shy.gif siteengine 3227c0dda09fadbc46a1fbd7fe26f6ed
-/install/images/bg-input.png phpshop 663a4d8b4aef4cbad3b71b1994027c8e
-/shopdata/site/default_logo.png phpshop f4d64f73566e088068b8cd7ba1969eb8
-/plus/weather/icon/a_12.gif jumbotcms 16f7e10abf188183c3404cea5f48b42e
-/question/images/face/images/ico_face_arrow.gif jumbotcms 28acc83650388bf279d7113f8574c58c
-/favicon.ico jishigou a9bd87b58f9b9a7d939720d74d6f84bc
-/favicon.ico shlcms d5bb00993027e53e5eedcb8a972250fa
-/admini/images/dt_admini_bottom_logo.gif shlcms 960bd48dcbd38b01cac65747bf34fa31
-/favicon.ico jumbotcms 4c6bb4f93b1feef197722ee9e167d337
-/favicon.ico hishop cdfff64428dabfee701d2594bd22ac83
-/plugin/images/netgather_com.gif netgather 64b73952d8de270c1277b30da1def0d5
-/images/logo.jpg 老Y文章管理系统 91e4bffc8b4dd9c050762920102c6ac1
-/inc/image/m_tleft.png ideacms c72ccfb2f054f239ab0cc39ea7cb0cab
-/template/skin4/images/style.css ideacms 82587c6399625d54287311aabe34f073
-/xyuploadpic/201104/20110426234253776.jpg xycms 7c20cb7fa08054fe330814cde898bbd4
-/favicon.ico cmstop ecf667c14d3c6f3b0ae4b8b44b1f987a
-/inc/images/logo.png mlecms c6b49af9c35ed00f408ea3910b6a2bfb
-/favicon.ico ayacms be8f5955f093bc9f92899c00734091c5
-/data/index.html dedecms 1cd563226a10644da619c499df037071
-/job/templates/met/css/style.css metinfo 3d906218998f71e198808b7895c4dc96
-/upload/200911/1259148297.gif metinfo 5c7bcc7bb31c9dc10efbe93f0b51fbfc
-/xheditor/images/code.gif kingcms 4d140db860497655d1e42de646b9de9a
-/system/images/logo.png kingcms 050aa01fafbc432c5b97893282784e61
-/favicon.ico nitc(定海神真) 31dec4d7caee04d8e2b640a5b619bf05
-/images/logo.png akcms b04324f42cbe27e13ea05988013b0633
-/admin/images/image_new.gif cutecms 1fe436554aefee1310b083e29d6ac4c7
-/admin/config_upload/20130422105832iraqpj.png cutecms 16df42b7255cfec8ccb376dbf3fa2cf8
-/images/admina/logo.png 08cms 413946cd43e990aa551335198ae5b631
-/images/admina/arrow.jpg 08cms 6ad561345b55814902d014707015cf72
-/templates/uchome/images/sitelogo.png 建站之星 cded8ff39d38bbb9aaf4fe2e14a8678a
-/config/filtersearch/s3.xml KesionCMS 638922dfc689b7b9af094a968797405b
-/license.txt 动易 38bd1344f7a575a7d888ba2491787819
-/admin/images/southidc.css 南方数据 9e6a7ebe3600a3f509c8fe8e45d9344c
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..16e3683
--- /dev/null
+++ b/index.html
@@ -0,0 +1,57 @@
+
+
+
+
+
+Welcome to GitHub Pages.
+
+This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new gh-pages branch locally. If you’re using GitHub Desktop, simply sync your repository and you’ll see the new branch.
+
+
+Designer Templates
+
+We’ve crafted some handsome templates for you to use. Go ahead and click 'Continue to layouts' to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved.
+
+
+Creating pages manually
+
+If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.
+
+
+Authors and Contributors
+
+You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor’s GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.
+
+
+Support or Contact
+
+Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.
+
+
+
+
+
+
+
+
diff --git a/myweb.py b/myweb.py
deleted file mode 100644
index 6b4a0df..0000000
--- a/myweb.py
+++ /dev/null
@@ -1,153 +0,0 @@
-#!/usr/bin/env python
-# coding=utf-8
-
-from flask import Flask,render_template,request
-import re
-import baiduip
-from password import PasswdGenerator
-import cms
-import sys
-import whois
-import skg
-
-import MySQLdb
-import sys
-reload(sys)
-sys.setdefaultencoding('utf-8')
-
-
-
-app = Flask(__name__)
-#连接数据库操作
-db = MySQLdb.connect("127.0.0.1","root","","pyhack",charset='utf8' )
-cursor = db.cursor()
-
-@app.route('/',methods=["get","post"])
-def index():
- return render_template('ip.html')
-
-#IP地址定位
-@app.route('/ip',methods=["get","post"])
-def BaiduIp():
- if request.method == 'POST':
- ip = request.form.get("search")
- addr=ip.strip().split('.') #切割IP地址为一个列表
- if len(addr) != 4:
- return "IP ERROR!"
- data = baiduip.search(ip)
- return render_template('ip.html',data=data,title="高精度IP查询")
- else:
- return render_template('ip.html',title="高精度IP查询")
-
-#CMS在线识别
-@app.route('/webdna',methods=["get","post"])
-def webdna():
- if request.method == 'POST':
- url = request.form.get("search")
- if re.match(r'^https?:/{2}\w.+$', url):
- data = cms.cms(url)
- if data is False:
- data["error"] = "没有找到合适的CMS"
- return render_template('cms.html',data=data,title="CMS识别")
- else:
- return render_template('cms.html',title="CMS识别")
-
-#在线密码生成
-@app.route('/password',methods=["get","post"])
-def password_build():
- if request.method == 'POST':
- from flask import make_response
- birthday = request.form.get("birthday","")
- fullname = request.form.get("fullname","")
- nickname = request.form.get("nickname","")
- englishname = request.form.get("englishname","")
- partnername = request.form.get("partnername","")
- phone = request.form.get("phone","")
- qq = request.form.get("qq","")
- company = request.form.get("company","")
- domain = request.form.get("domain","")
- oldpasswd = request.form.get("oldpasswd","")
- keywords = request.form.get("keywords","")
- keynumbers = request.form.get("keynumbers","")
- pwgen = PasswdGenerator(fullname=fullname,nickname=nickname,englishname=englishname,partnername=partnername,phone=phone,qq=qq,company=company,domain=domain,oldpasswd=oldpasswd,keywords=keywords,keynumbers=keynumbers,birthday=birthday)
- wordlist = pwgen.generate()
- content = '\n'.join(wordlist)
- #content = "long text"
- response = make_response(content)
- response.headers["Content-Disposition"] = "attachment; filename=pass.txt"
- return response
- #return render_template('password.html',data=wordlist,title="社工密码生成")
- else:
- return render_template('password.html',title="社工密码生成")
-
-#Whois 在线查询
-@app.route('/whois',methods=["get","post"])
-def whoisa():
- if request.method == 'POST':
- url = request.form.get("search")
- data = whois.whois(url).replace("\n","")
- return render_template('whois.html',data=data,title="Whois查询")
- else:
- return render_template('whois.html',title="Whois查询")
-
-#调用外部社工库进行查询
-@app.route('/pass',methods=["get","post"])
-def findpass():
- if request.method == 'POST':
- info = request.form.get("search")
- data = skg.findpass(info)
- return render_template('skg.html',data=data,title="社工库查询")
- else:
- return render_template('skg.html',title="社工库查询")
-
-#集成wooyun漏洞平台
-@app.route('/wooyun',methods=["get","post"])
-@app.route('/wooyun/