1. 下面两个情况分别输出什么? function a(b, c) { function b() {} alert(b); // function b() {} } a(1, 2); function a(b, c) { var b; alert(b); // 1 } a(1, 2); 2. 不太理 Read More
posted @ 2021-10-07 22:04
TwinkleG
Views(30)
Comments(0)
Diggs(0)
1. 今天累的有点迷茫,躺在床上看着看着面试题,突然看到个好玩的,然后自己坐起来打开电脑跑了一下代码。 2. margin、padding 在使用百分比时,它的百分比值是参照父元素的 width 值,是的,margin-top/left/right/bottom 都是 以父元素宽度为参照。 而且如果 Read More
posted @ 2021-10-07 21:43
TwinkleG
Views(70)
Comments(0)
Diggs(0)
1. 针对 Web 应用的攻击模式: (1)主动攻击:以服务器为目标的主动攻击:SQL 注入攻击、OS 命令注入攻击,主动攻击指的是攻击者直接访问 Web 应用,把攻击代码传入的攻击模式,需要攻击者能够访问到那些资源。 (2)被动攻击:以服务器为目标的被动攻击:利用圈套策略执行攻击代码的攻击模式,攻 Read More
posted @ 2021-10-07 17:15
TwinkleG
Views(219)
Comments(0)
Diggs(0)
1. 有时,服务器端可能只希望特定的用户访问,那这个时候就需要服务器端确认客户端用户的身份。 2. HTTP 1.1 有四种对用户身份验证的方式: (1)BASIC 认证 (2)DIGEST 认证 (3)SSL 客户端认证 (4)Web 表单认证 3. (1)BASIC 认证:HTTP 1.0 推出 Read More
posted @ 2021-10-07 16:37
TwinkleG
Views(990)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号