Demo There is no trace of wings in the sky, but I have flown by.
摘要: 阅读全文
posted @ 2020-08-16 22:35 花花大王 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 再setting.py的STATIC_URL 下添加 1 STATIC_URL = '/static/' 2 STATICFILES_DIRS = ( 3 os.path.join(BASE_DIR, 'static'), 4 ) 5 TEMPLATE_DIRS = ( 6 os.path.join 阅读全文
posted @ 2020-03-15 18:47 花花大王 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 简介:恶意攻击者往Web页面里插入恶意Script代码,当用户浏览页面时,嵌入其中的Script代码会被执行,从而达到恶意攻击用户的目的。 触发:发生在目标网站中目标用户的浏览器层面上 常见:公共留言板,公共可见文本 测试方法: (1)cookies弹框 <script>alert(document 阅读全文
posted @ 2019-07-25 16:36 花花大王 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 一、 Selenium界面元素定位 本文元素定位以das2为例 #导入包 from selenium import webdriver #打开火狐驱动 driver=webdriver.Firefox() #访问网址 driver.get("http://192.168.3.217:8080/das 阅读全文
posted @ 2019-02-01 15:27 花花大王 阅读(1273) 评论(0) 推荐(0) 编辑
摘要: 一、 安装 可以用Firefox打开https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/,在这里边找到和当前firefox版本兼容的selenium ide,添加到firefox,点击”Add to Firefox”就可以了 添加完 阅读全文
posted @ 2019-02-01 15:18 花花大王 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 一、 安装python 1、Window 平台安装 Python 以下为在 Window 平台上安装 Python 的简单步骤: 打开 WEB 浏览器访问https://www.python.org/downloads/windows/ 在下载列表中选择Window平台安装包, 红框内为win64位 阅读全文
posted @ 2019-02-01 14:30 花花大王 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 1.创建用户 2.赋予权限 3.撤销权限 撤销guest_test用户guest_test库所有表的增删改查的权限 4.删除用户 5.在数据库中查询所有用户 阅读全文
posted @ 2018-12-17 21:41 花花大王 阅读(7427) 评论(0) 推荐(0) 编辑
摘要: 1、准备charles环境 Charles端口一般配置的为8888,不知道怎么配置详见charles文档 打开charles,发现访问浏览器任意页面都是失败。 在浏览器的高级设置中设置代理服务器,以火狐为例,如下 点击确定保存后随意访问一个页面发现可以访问了,证明设置代理成功。 2、Charles抓 阅读全文
posted @ 2018-11-27 15:29 花花大王 阅读(3765) 评论(0) 推荐(0) 编辑
摘要: 一、Charles的主要功能 (1)截取Http 和 Https 网络封包。 (2)支持重发网络请求,修改请求参数,方便后端调试。 (3)支持模拟弱网环境。 二、配置简单抓包 1、设置系统代理:勾选Proxy—windos proxy(或Mac os x proxy) 2、设置端口:点击Proxy— 阅读全文
posted @ 2018-10-11 18:05 花花大王 阅读(1662) 评论(0) 推荐(0) 编辑
摘要: 一、列表 格式:list = ['xxx','xxx','xxx'] 性质:可以修改列表内容 copy用法: 其他常用函数: 二、元组 格式:tuple = (‘xxx’,‘xxx’,‘xxx’) 性质:不可变性,不可修改元组内容 常用函数 三、字典 格式:dir = {'a':'a','b':'b 阅读全文
posted @ 2018-08-26 18:52 花花大王 阅读(206) 评论(0) 推荐(0) 编辑