ios-html-get/post差额,简而言之(MS)CheckST
get直接采取拉数据,post注射剂server。至server安全或使用get
而且由于get明确传递,password帐户A眼可以看得出来,甚至加密也可以很easy解,所以传password用post即使对server不安全。
网络编程
第三方:ASI最强大。http终结者,可惜不更新
AFN简单应用
URL统一资源定位符:包含:协议、域名、port号(详细地址)
URI统一资源标示符
请求方法
get:server直接拿过来,明文传。传的数据量小,
post:注入server。但对server不安全,账号password私密的最好用它
一句话gai
get直接拽拿数据,post注入server。为了server的安全还是用get
而由于get是明文传,password账号一眼就能看出来,即使加密也能够非常easy的破解。所以传password用post即使对server不安全。
打开html的方法顺序:
本地localhost
sudo apachectl start
1、1
创建other点击EMPTY创建名字为testNet.html的文件,内容例如以下
<html>
<head></head>
<title>jeredu</title>
<body>
my first web
</body>
</html>
1、2
两个a之间是超文本链接,在网页显示get,点击get跳转到该网址并赋值name=zhangsan&pwd=123类似明文传值
创建other点击EMPTY创建名字为s.html的文件,内容例如以下
<html>
<head></head>
<title>get</title>
<body>
<a href="http://localhost/testNet.html?name=zhangsan&pwd=123">get </a>
</body>
</html>
2.1打开终端
Last login: Thu Jun 11 09:25:10 on ttys006
zhangxindeMacBook-Pro:~ zhangxin$ sudo apachectl start
Password:
/System/Library/LaunchDaemons/org.apache.httpd.plist: Operation already in progress
输入IP地址。
显示It Works!网络正常能够发送请求
2.2
打开硬盘。选择资源库,WebServer目录下的Documents。将新建的html文件拖入此目录并鉴定就可以
POST:
post <form>表单提交 <tr>行。有几行,几个tr。行里面有列《td》,一行也能够有多列
post.html
<html>
<head>
<title>
post
</title>
</head>
<body>
<form action="http://localhost/testNet.html" method="POST">
<table style="width:300px;margin:0 auto">
<tr>
<td >userName:</td>
<td><input type="text" name="userName"/></td>
</tr>
<tr>
<td>passWorld:</td>
<td><input type="password" name="psw"/></td>
</tr>
</table>
<input type="submit" value="submit" style="margin:100 0 0 450" />
</form>
</body>
</html>
版权声明:本文博主原创文章,博客,未经同意不得转载。
ios-html-get/post差额,简而言之(MS)CheckST的更多相关文章
- mysql sys table
本文详细地介绍了MySQL 5.7新引入的sys schema.首先,本文概要地介绍了sys schema的作用和定位:其次,分别介绍了sys schema中的视图.函数和存储过程:接下来,通过两个例 ...
- 百度移动深度学习 Mobile-deep-learning(MDL)
Free and open source mobile deep learning framework, deploying by Baidu. This research aims at simpl ...
- 51Nod 1084:矩阵取数问题 V2(多维DP)
1084 矩阵取数问题 V2 基准时间限制:2 秒 空间限制:131072 KB 分值: 80 难度:5级算法题 收藏 关注 一个M*N矩阵中有不同的正整数,经过这个格子,就能获得相应价值的奖励 ...
- 洛谷 P1164:小A点菜(DP/DFS)
题目背景 uim神犇拿到了uoi的ra(镭牌)后,立刻拉着基友小A到了一家--餐馆,很低端的那种. uim指着墙上的价目表(太低级了没有菜单),说:"随便点". 题目描述 不过ui ...
- Prometheus Node_exporter 之 Disk Datail /proc/diskstats
Disk Datail /proc/diskstats 1. Disk IOps Completed type: GraphUnit: I/O ops/sec(iops)Label: IO read( ...
- hdu 6196 搜索+剪枝
Today, Bob plays with a child. There is a row of n numbers. One can takes a number from the left sid ...
- 【BZOJ 1221】 [HNOI2001] 软件开发
[链接] 我是链接,点我呀:) [题意] 在这里输入题意 [题解] /* 设一个超级源点S和超级汇点T S和2*i-1各连一条容量为ni的边. 花费为0 表示每天都会产生ni条要洗的毛巾 S和2*i各 ...
- ACM ICPC 2011-2012 Northeastern European Regional Contest(NEERC)G GCD Guessing Game
G: 要你去才Paul的年龄,Paul的年龄在1~n之间,你每猜一个Paul会告诉你,你猜的这个数和他年龄的gcd,问在最坏情况下最少要猜多少次. 题解: 什么是最坏情况,我们直到如果他的年龄是1的话 ...
- UVA 11752 The Super Powers(暴力)
题目:https://cn.vjudge.net/problem/UVA-11752 题解:这里只讨论处理越界的问题. 因为题目最上界是 264-1. 我们又是求次幂的. 所以当我们就可以知道 i 的 ...
- 移动深度学习 Mobile-deep-learning(MDL)
Free and open source mobile deep learning framework, deploying by Baidu. This research aims at simpl ...
随机推荐
- 计算机视觉与模式识别代码合集第二版three
计算机视觉与模式识别代码合集第二版three Topic Name Reference code Optical Flow Horn and Schunck's Optical Flow ...
- Java-WebSocket 项目的研究(三) WebSocketClient 类 具体解释
通过之前两篇文章 Java-WebSocket 项目的研究(一) Java-WebSocket类图描写叙述 Java-WebSocket 项目的研究(二) 小试身手:client连接server并发送 ...
- Android真机网络adb联机调试初探
新项目是一个基于android4.2设备.刚拿到demo板时就对联机互调感兴趣了.处于以前在S3c2440上对linux的移植使用经验.心里猜测对于android设备应该也这样.所以通过搜索资料整理如 ...
- mysql视图学习总结
转自http://www.cnblogs.com/wangtao_20/archive/2011/02/24/1964276.html 一.使用视图的理由是什么? 1.安全性.一般是这样做的:创建一个 ...
- hdu1503(最长公共子序列)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1503 题意:由两个字符串构造出另一个字符串,该字符串包含前两个字符串(按字符顺序,但不一定连续),使该 ...
- Android Monkey自己主动化測试
前言 假设你做Android开发,还没有使用过Monkey进行測试,那么今天看到这篇文章,希望能解决你Android測试中的一些问题.起码能帮你省点測试的时间而且发现很多其它的问题. Monkey简单 ...
- [leetcode]3 Sum closest
问题叙述性说明: Given an array S of n integers, find three integers in S such that the sum is closest to a ...
- Windown安装Mysql安装图解
一.MYSQL的安装 1.打开下载的mysql安装文件mysql-5.0.27-win32.zip,双击解压缩,运行“setup.exe”. 2.选择安装类型,有“Typical(默认)”.“Comp ...
- hibernate得知——Set设置配置
Set设置配置 创建数据表:表关系的员工有多重身份 create table EMPLOYEE ( id INT NOT NULL auto_increment, first_name VARCHAR ...
- android各种资源的详细解释
1.字符数组 使用字符串数组资源<string-array>标签定义,在<string-array>包括一些标签<item>数组元素标记. 例如 &l ...