Skip to content

Instantly share code, notes, and snippets.

View dingcang's full-sized avatar

我要一个番茄 dingcang

View GitHub Profile
navigator = {
appName: "Netscape",
};
window = {};
e = {};
/**
* 源码中模块6的代码
*/
!(function (t) {
@dingcang
dingcang / encrypt_md5.html
Created January 21, 2024 06:12
某md5解密网站代码分析结果
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8" />
<meta name="baidu_union_verify" content="df1a9a844ad16db7b31cc021f2ff13e4">
<link rel="dns-prefetch" href="//cdn.sojson.com" />
<link rel="dns-prefetch" href="//cdn.vfan.top" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
1. Vim的几种模式
正常模式:可以使用快捷键命令,或按:输入命令行。
插入模式:可以输入文本,在正常模式下,按i、a、o等都可以进入插入模式。
可视模式:正常模式下按v可以进入可视模式, 在可视模式下,移动光标可以选择文本。按V进入可视行模式, 总是整行整行的选中。ctrl+v进入可视块模式。
替换模式:正常模式下,按R进入。
2. 启动Vim
@dingcang
dingcang / 证书格式转换.txt
Created July 5, 2019 09:45
将cer格式的证书转为crt格式
Basically there are two CER certificate encoding types, DER and Base64. When type DER returns an error loading certificate (asn1 encoding routines), try the PEM and it shall work.
openssl x509 -inform DER -in certificate.cer -out certificate.crt
openssl x509 -inform PEM -in certificate.cer -out certificate.crt