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 ...
随机推荐
- 从零開始学android<Menu菜单组件.三十.>
在Android系统之中.菜单一共同拥有三类:选项菜单(OptionsMenu).上下文菜单(ContextMenu)和子菜单(SubMenu). 今天我们就用几个样例来分别介绍下菜单的使用 acti ...
- 智能手机的工业控制应用方案——SimpleWiFi在工业控制领域应用
智能手机的工业控制应用方案——SimpleWiFi在工业控制领域应用 先上图: 现在的智能控制都是基于微控制器,随着智能的手持终端的普及,基于智能终端的控制就会越来越普遍. WIFI便是其中的一 ...
- poj 1991 Turning in Homework dp
这个可以证明必须从两边的任务开始交起,因为中间交的任务可以后面经过的时候再交,所以就变成了一个n*n的dp. #include <iostream> #include <cstdio ...
- achieve aop through xml
The main way to achive AOP is deploying a xml file. Now a xml file is presented to be a explanation ...
- CMake Intro - CMakeLists.txt
Notes: directory structure: cmake, cmake/Tutorial, cmake/Tutorial/MathLibs 1. File lists in cmake/ ...
- Codeforces Round #248 (Div. 1)——Ryouko's Memory Note
题目连接 题意: 给n和m,一行m个1<=x<=n的数.记c=.如今仅仅能选择一个数x变成y,序列中全部等于x的值都变成y,求最小的c 分析: 对于一个数x,把与他相邻的所有的非x的数所有 ...
- PHPExcel融入ZF2
下载PHPExcel至vendor下一个 在public\index.php加拿大 require './vendor/Classes/PHPExcel.php'; 之后就能够在不论什么地方按例如以下 ...
- tera term 残ALT债券
Setup -> Keyboard对话框 Meta key变: left 版权声明:本文博客原创文章,博客,未经同意,不得转载.
- svnkit添加节点
package com.repositoryclient.svnoptions; import org.tmatesoft.svn.core.SVNException; import org.tmat ...
- hdu4578(线段树)
题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=4578 题意:n个数,初始值为0,4种操作: 1.将某个区间所有值加上另一个值: 2.将区间所有值都乘上 ...