原文博客:https://blog.csdn.net/xumingqing171/article/details/51897224 刷新打开(window.open)此窗口的父窗口window.opener.location.href = 'http://www.baidu.com';window. ...
一、thinkPHP5.0爆出getshell漏洞 http://127.0.0.1/anquan/index.php?s=/index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]= ...
分类:
Web程序 时间:
2019-01-19 11:22:57
阅读次数:
254
1.背景 urllib,urllib2是客户端http协议的实现,urllib2底层使用httplib,socket库,它主要包含urlopen, build_opener, install_opener等func。python2.7使用urllib2库中的urlopen会出现内存泄漏的现象,可以通 ...
分类:
Web程序 时间:
2019-01-13 22:22:41
阅读次数:
317
文件IO常用操作: open(file,mode='r',buffering=-1,encoding=None,error=None,newline=None,closefd=True,opener=None):打开一个文件,返回一个文件对象和文件描述符,打开文件失败,则返回异常。 file:打开或 ...
分类:
编程语言 时间:
2019-01-12 19:58:18
阅读次数:
184
["postMessage","blur","focus","close","parent","opener","top","length","frames","closed","location","self","window","document","name","customElem ...
open() 用于打开文件,可以对文件进行读写操作: file:文件名mode:指定以哪种模式打开buffering:设置缓冲区大小,可选参数,设置缓冲区的作用是是为了减少系统的IO调用encoding:errors:newline:closefd:opener:file object:打开文件后会 ...
分类:
其他好文 时间:
2019-01-10 21:54:35
阅读次数:
380
vue-router 默认 hash 模式 —— 使用 URL 的 hash 来模拟一个完整的 URL,于是当 URL 改变时,页面不会重新加载。 如果不想要很丑的 hash,我们可以用路由的 history 模式,这种模式充分利用 history.pushState API 来完成 URL 跳转而 ...
分类:
Web程序 时间:
2019-01-09 21:42:32
阅读次数:
242
认证,代理,cookie 1from urllib.request import HTTPBasicAuthHandler, HTTPPasswordMgrWithDefaultRealm, build_opener 2from urlli ...
分类:
Web程序 时间:
2019-01-07 01:38:02
阅读次数:
171
原文:cordova APP 检查更新 //升级程序 .factory('UpdateService', function ($rootScope, $cordovaAppVersion, $cordovaFileTransfer, $timeout, $ionicLoading, $cordova... ...
分类:
移动开发 时间:
2019-01-07 00:12:23
阅读次数:
248
``` if (navigator.userAgent.indexOf("MSIE") > 0) { if (navigator.userAgent.indexOf("MSIE 6.0") > 0) { window.opener = null; ... ...
分类:
Web程序 时间:
2019-01-03 13:00:31
阅读次数:
349