CTF入门 WECALL2-正则

python3
list() 一个字符字符分


child[a],child[b] = child[b],child[a]

交换位置

spilt() 按空格分
int()


Training: Crypto - Substitution I

http://practicalcryptography.com/cryptanalysis/text-characterisation/quadgrams/

Training: Crypto - Caesar II

import sys
sys.stdout = open(‘/root/Documents/CTF_WECALL/results.py’, mode = ‘w’,encoding=’utf-8’)

打印到文件中

line breaks. 换行符

vscode python 整段右移 选中tab


python 2 转到 3

2to3.py


正则30分钟学习

https://deerchao.cn/tutorials/regex/regex.htm

wechall mysql 2

‘ union select 1,’admin’ ,md5(‘1’) from users where username =’admin’#

??可以随便选择

wechall WWW-Basics

lsof -i:端口号 用于查看某一端口的占用情况,比如查看8000端口使用情况,lsof -i:8000

nginx -s quit
ps -ax | grep nginx
lsof -i:80
ip add