Sunday, June 20, 2021

[CSS] position: absolute



 <style>

body {

  background-color: khaki;

  font-family: Helvetica;

}


.box-before {

  position: absolute;

  width: 40px;

  height: 40px;

  color: white;

  font-size: 16px;

  background-color: #2f5ec2;

  z-index:4;

}


.box-1 {

  position: absolute;

  width: 400px;

  height: 100px;

  padding: 10px;

  color: white;

  font-size: 70px;

  background-color: #fd3c40;

  box-sizing: border-box;

  z-index:3;

}


.box-2 {

  position: absolute;

  height: 100px;

  top: 20px;

  left: 70px;

  color: white;

  font-size: 20px;

  background-color: #8c4fb6;

  z-index:2;

}


.box-3 {

  position: absolute;

  height: 300px;

  width: 80px;

  color: white;

  font-size: 20px;

  background-color: #00b842;

  z-index:1;

}


.box-after {

  position: absolute;

  width: 800px;

  height: 600px;

  color: white;

  font-size: 220px;

  background-color: #faaa20;

  z-index:0;

}

</style>

<body>

  <div class="box-before">

    blue

  </div>

  <div class="box-1">

    red

    <div class="box-2">

      purple

    </div>

    <div class="box-3">

      green

    </div>

  </div>

  <div class="box-after">

    Orange

  </div>

</body>

fiddler解密https数据

接着进行 https 解密的配置:tools--options--https

然后:这里勾选 解密https和忽略服务器证书的。

这里本来应该是会提示你安装fiddler的根证书的,然后表明这个有些风险。我这里由于之前安装过了,所以卸载了再安装没有提示了。反正对于弹出的框,你都大概看看,理解一下,然后,yes,赞同即可.这样的话就会顺利把根证书安装到本地。后面就可以查看https的数据了。

Actions -> Trust root certificate -> Yes -> 是 -> 是

Actions -> Export Root Certificate to Desktop



以谷歌浏览器为例说明,在浏览器上输入: chrome://settings/ 然后进入高级设置,点击管理证书



重新打开fiddler,就可以在电脑上进行https抓包了。

如果抓取的包都是错误的,需要注意把下面这几个反勾选掉。Autoresponder—enable rules

如果是非新安装fiddler,则先按照如下步骤清除现有的证书:

1、清除C:\Users\Administrator\AppData\Roaming\Microsoft\Crypto\RSA 目录下所有文件。

2、清除电脑上的根证书,WIN+R快捷键,输入:certmgr.msc, 然后回车,查找所有fiddler证书,然后删除。

Reference : 

https://zhuanlan.zhihu.com/p/104407121

https://zhuanlan.zhihu.com/p/26177544


Fiddler Index

 Fiddler Introduction

 Fiddler 解密 https 數據


n8n index

 【n8n免費本地端部署】Windows版|程式安裝x指令大補帖  【一鍵安裝 n8n】圖文教學,獲得無限額度自動化工具&限時免費升級企業版功能