1000php icon indicating copy to clipboard operation
1000php copied to clipboard

既然都是静态的,建议放到github.io上可直接浏览

Open gantoday opened this issue 7 years ago • 10 comments

gantoday avatar Aug 19 '16 10:08 gantoday

土司已有朋友放出在线版

Xyntax avatar Aug 19 '16 10:08 Xyntax

@Xyntax URL?

gantoday avatar Aug 20 '16 09:08 gantoday

请问在线版的地址能发以下吗???谢谢

g3tr1ce avatar Sep 14 '16 11:09 g3tr1ce

https://www.t0ols.com/

Xyntax avatar Sep 14 '16 15:09 Xyntax

求密碼

tnlin avatar Oct 23 '16 14:10 tnlin

# -*- coding: utf-8 -*-
# @Author: lock
# @Date:   2017-04-27 14:01:57
# @Last Modified by:   lock
# @Last Modified time: 2017-04-27 16:21:33
import glob
import os
from lxml import etree

def main():
	write_list=set()
	file_list = glob.glob("bugs/*.html")
	for f in file_list:
		with open(f,'r') as fp:
			content = fp.read()
			selector=etree.HTML(content)  #将源码转化为能被XPath匹配的格式
			text = selector.xpath('//*[@id="bugDetail"]/div[@class="content"]/h3[@class="wybug_title"]/text()') #返回为一列表
			for i in text:
				title = i.replace("\t","").strip()
				if title=="":
					continue
				link = "<a href='"+f+"'/>"+title+"</a>"
				write_list.add(link)
	with open('index.html','w') as fp:
		for item in write_list:
			fp.write(item.encode('GB2312')+"<br/>")

	print 'all done'

if __name__ == '__main__':
	main()
建议楼主在1000php目录下执行这个脚本吧bugs中的漏洞标题和url提前出来。
会生成一个index.html文件,点击标题会链接到响应的漏洞页面。
还有1000php中没有css样式,看上去是错乱的,
我自己本地找到了当时的css,现在可以正常显示

上面代码排版全乱了,增加了完整版:
包括增加了css,js,打开时像WooYun还存活时的模样/(ㄒoㄒ)/~~
**下面是链接:**

https://github.com/LockGit/Hacking#wooyun_indexpy-1000%E4%B8%AAphp%E4%BB%A3%E7%A0%81%E5%AE%A1%E8%AE%A1%E6%A1%88%E4%BE%8B20167%E4%BB%A5%E5%89%8D%E4%B9%8C%E4%BA%91%E5%85%AC%E5%BC%80%E6%BC%8F%E6%B4%9E---%E5%A2%9E%E5%8A%A0%E7%B4%A2%E5%BC%95

LockGit avatar Apr 27 '17 08:04 LockGit

楼上说的不错,添加索引看起来确实是会舒服很多。 您给的代码,显示有点错乱,看不大懂了,另外“点击标题会链接到响应的漏洞页面”,不知道您这代码哪部分是实现这样的功能的?另外,如果方便的话,可以分享一下源码吗? 另外,个人用比较笨的方法添加索引:starnightcyber/1000php

starnightcyber avatar Dec 15 '17 15:12 starnightcyber

@starnightcyber 使用方法

LockGit avatar Dec 15 '17 16:12 LockGit

为1000php增加索引,方便浏览的方法,增加了css,js,打开时像WooYun还存活时的模样/(ㄒoㄒ)/~~

https://github.com/LockGit/Hacking#wooyun_indexpy-1000%E4%B8%AAphp%E4%BB%A3%E7%A0%81%E5%AE%A1%E8%AE%A1%E6%A1%88%E4%BE%8B20167%E4%BB%A5%E5%89%8D%E4%B9%8C%E4%BA%91%E5%85%AC%E5%BC%80%E6%BC%8F%E6%B4%9E---%E5%A2%9E%E5%8A%A0%E7%B4%A2%E5%BC%95

LockGit avatar Dec 15 '17 16:12 LockGit

link = "<a href='"+f+"' target='_black'/>"+title+"</a>" 原来看不清楚的这句代码,跟我的做法差不多,就是直接写入一个HTML的超链接

image

starnightcyber avatar Dec 16 '17 03:12 starnightcyber