摘要:
http://www.javascriptkit.com/jsref/eventkeyboardmouse.shtml
阅读全文
posted @ 2018-01-23 13:00
papering
阅读(155)
推荐(0)
摘要:
# coding:utf-8'''定义规则 urls:url列表 type:解析方式,取值 regular(正则表达式),xpath(xpath解析),module(自定义第三方模块解析) patten:可以是正则表达式,可以是xpath语句不过要和上面的相对应'''import osimport random'''ip,端口,类型(0高匿名,1透明)...
阅读全文
posted @ 2018-01-23 02:06
papering
阅读(369)
推荐(0)
摘要:
在浏览器输入域名 分析抓包数据 分析 ip 192.168.3.123 网关192.168.2.1
阅读全文
posted @ 2018-01-22 21:59
papering
阅读(1437)
推荐(0)
posted @ 2018-01-22 21:51
papering
阅读(143)
推荐(0)
摘要:
简单服务发现协议(SSDP,Simple Service Discovery Protocol)
阅读全文
posted @ 2018-01-22 19:53
papering
阅读(554)
推荐(0)
posted @ 2018-01-22 19:29
papering
阅读(229)
推荐(0)
posted @ 2018-01-21 12:04
papering
阅读(160)
推荐(0)
摘要:
var ia=document.getElementsByTagName("em");var t=600; for(var ii=0;ii<t;ii++){var it=ia[ii]; try{var itnv=it.firstChild.nodeValue;if(itnv=="+"){consol
阅读全文
posted @ 2018-01-20 11:07
papering
阅读(247)
推荐(0)
摘要:
ia=document.getElementsByTagName("a");console.log(ia[3]);console.log(ia[5]);ia[30].click();var t=30; for(var ii=0;ii<t;ii++){ia[ii].click();} <a href=
阅读全文
posted @ 2018-01-20 01:05
papering
阅读(368)
推荐(0)
摘要:
请求的是文件 脚本请求 服务器内部文件请求 路径 相对性 相对服务器根目录 相对当前脚本路径
阅读全文
posted @ 2018-01-19 22:51
papering
阅读(172)
推荐(0)
摘要:
深入浅出带你走进Redis! https://mp.weixin.qq.com/s/ThVtw8TVuhxIyYxJy6sOWw 带你走进 Redis https://mp.weixin.qq.com/s/4bAPVdUr_XbIw9xFCtWhfw 【Redis学习笔记】5:Redis常见数据结构
阅读全文
posted @ 2018-01-19 21:29
papering
阅读(142)
推荐(0)
摘要:
http://www.laruence.com/manual/yaf.bench.html
阅读全文
posted @ 2018-01-19 20:35
papering
阅读(195)
推荐(0)
摘要:
下载的php_yal.dll文件添加到php的ext http://pecl.php.net/package/yaf/3.0.6/windows yaf. use_namespace=1 ;;extension="D:\Program Files\phpStudy20161103\php\php-5
阅读全文
posted @ 2018-01-19 18:09
papering
阅读(198)
推荐(0)
摘要:
http://blog.csdn.net/u012009613/article/details/52770567 mysql如何进行以,分割的字符串的拆分
阅读全文
posted @ 2018-01-19 17:42
papering
阅读(1017)
推荐(0)
摘要:
在js中取选中的radio值 <input type="radio" name="address" value="0" /> <input type="radio" name="address" value="1" /> <input type="radio" name="address" valu
阅读全文
posted @ 2018-01-19 15:44
papering
阅读(17670)
推荐(0)
摘要:
<!doctype html><html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" content=""> <meta name="
阅读全文
posted @ 2018-01-19 15:42
papering
阅读(489)
推荐(0)
摘要:
l = []with open('tmp.txt', 'r', encoding='utf-8') as fr: for i in fr: l.append(i.replace('\n', ''))s = ','.join(list(set(','.join(l).split(',')))[1:])
阅读全文
posted @ 2018-01-18 21:57
papering
阅读(333)
推荐(0)
摘要:
mysql group by 组内排序 SELECT * FROM (SELECT MAX(id) AS t,wukong_uid, 1 AS tag FROM toutiao_uid_gathered_wukong GROUP BY wukong_uidUNION ALLSELECT id AS
阅读全文
posted @ 2018-01-18 16:51
papering
阅读(369)
推荐(0)
摘要:
https://neo4j.com/docs/ Server version Neo4j/3.3.1 Server address 127.0.0.1:7687 Query MATCH (a:Person)-[:KNOWS]->(friend) WHERE a.name ="Arthur" RETU
阅读全文
posted @ 2018-01-18 15:07
papering
阅读(636)
推荐(0)
摘要:
js = 'var a=document.getElementsByClassName("user-data-right")[0];a.target="_self";a.href="{}";a.click();'.format( 'https://www.toutiao.com/c/user/{}/
阅读全文
posted @ 2018-01-18 13:51
papering
阅读(154)
推荐(0)
posted @ 2018-01-18 13:37
papering
阅读(123)
推荐(0)
摘要:
charset='utf8mb4' conn = pymysql.connect(host=h, port=pt, user=u, passwd=p, db=db, charset='utf8mb4')
阅读全文
posted @ 2018-01-18 12:08
papering
阅读(476)
推荐(0)
posted @ 2018-01-18 11:05
papering
阅读(160)
推荐(0)
摘要:
Line #1218 : 101.232.208.245 - - [16/Jan/2018:02:47:34 +0800] "GET /?xltestdesfs HTTP/1.1" 200 3865 Line #1243 : 101.232.208.245 - - [16/Jan/2018:03:0
阅读全文
posted @ 2018-01-18 09:44
papering
阅读(353)
推荐(0)
posted @ 2018-01-18 01:47
papering
阅读(112)
推荐(0)
摘要:
[root@VM_61_158_centos ~]# curl http://ip.chinaz.com/220.112.233.179 |grep -e Whwtdhalf.*span.*span.*span.*span % Total % Received % Xferd Average Spe
阅读全文
posted @ 2018-01-18 01:02
papering
阅读(234)
推荐(0)
摘要:
from selenium import webdriverimport time, randomdef gen_browser(btype='chrome'): return webdriver.Chrome()browser = webdriver.Chrome()url = 'https://www.wukong.com/'browser.get(url)browser.refre...
阅读全文
posted @ 2018-01-17 19:39
papering
阅读(283)
推荐(0)
摘要:
一切的入口都是漏洞 都是数据的出口
阅读全文
posted @ 2018-01-17 16:32
papering
阅读(133)
推荐(0)
摘要:
for tof in tofollow_uid_list: print(tof) js = 'window.location.href="https://www.toutiao.com/c/user/{}/"'.format(tof) browser.execute_script(js) time.sleep(random.randint(30, 60)) n...
阅读全文
posted @ 2018-01-17 12:25
papering
阅读(192)
推荐(0)
摘要:
实例化一个新的浏览器,打开某个url from selenium import webdriverfrom selenium.webdriver.chrome.options import Optionsimport time, randomfrom selenium.webdriver.commo
阅读全文
posted @ 2018-01-17 00:41
papering
阅读(630)
推荐(0)
摘要:
Python 集合set()添加删除、交集、并集、集合操作详解 - 玩蛇网 http://www.iplaypy.com/jichu/set.html 字典排序 按值 按键 求交集 差集 a-b 交集 并集 差集 对称差集
阅读全文
posted @ 2018-01-17 00:16
papering
阅读(378)
推荐(0)
摘要:
ugc_l = browser.find_elements_by_class_name('ugc-item') try: myl = [{'statistics': i.text.replace('阅读', '').replace('赞', '').replace('评论', '').replace(' ⋅ ', ...
阅读全文
posted @ 2018-01-16 18:35
papering
阅读(191)
推荐(0)
摘要:
[SQL]SELECT username,password,toutiao_uidFROM pwdtab pLEFT JOIN toutiao_action_article aON p.toutiao_uid=a.toutiao_uid WHERE 1 AND p.id>3000 [Err] 126
阅读全文
posted @ 2018-01-16 15:36
papering
阅读(245)
推荐(0)
posted @ 2018-01-16 09:54
papering
阅读(325)
推荐(0)
摘要:
www.youdomain.com?tmUnblock.cgi www.youdomain.com? www.youdomain.com?xltestdesfs
阅读全文
posted @ 2018-01-16 02:50
papering
阅读(226)
推荐(0)
摘要:
[root@bigdata-server-01 ~]# curl 13.26.92.20array(27) { ["HTTP_USER_AGENT"]=> string(11) "curl/7.29.0" ["HTTP_HOST"]=>
阅读全文
posted @ 2018-01-16 02:35
papering
阅读(414)
推荐(0)
摘要:
[root@bigdata-server-01 ~]# curl www.baidu.com<!DOCTYPE html><!--STATUS OK--><html> <head><meta http-equiv=content-type content=text/html;charset=utf-
阅读全文
posted @ 2018-01-16 02:34
papering
阅读(274)
推荐(0)
摘要:
firefox_profile = webdriver.FirefoxProfile()firefox_profile.set_preference('permissions.default.image', 2)#某些firefox只需要这个firefox_profile.set_preference('browser.migration.version', 9001)#部分需要加上这个#...
阅读全文
posted @ 2018-01-16 00:02
papering
阅读(283)
推荐(0)
posted @ 2018-01-15 22:51
papering
阅读(334)
推荐(0)
摘要:
避免逻辑捆绑、打包 单个逻辑越简单,越高效,越有机动性
阅读全文
posted @ 2018-01-15 22:29
papering
阅读(214)
推荐(0)