today's lesson

today's lesson

0x01 通过Python生成AESKey >>> import os >>> os.urandom(16).hex() '53d5c8c572a64ca487425ca81f06d696' 0x02 通过openssl命令加密数据 # 加密 openssl enc -aes-256-ecb -in test.txt -out result.txt # 解密 openssl enc -d -aes-256-ecb -in result.txt -out result2.
one line bash

one line bash

while循环执行 while :; do $cmd ; done for循环执行 for i in {1..5}; do $cmd ; done
Mysql调错

Mysql调错

mysql> drop database DB_NAME; ERROR 1010 (HY000): Error dropping database (can't rmdir './DB_NAME', errno: 66) Find the database directory: mysql -e "select @@datadir" -> /usr/local/mysql/data/ Go to the DataBase folder: cd /usr/local/mysql/data/ Delete DB folder of the DB with the issue (in this case: sudo rm -rf DB_NAME)
Python 代码片段分享

Python 代码片段分享

import sys def is_venv(): return (hasattr(sys, 'real_prefix') or (hasattr(sys, 'base_prefix') and sys.base_prefix != sys.
OSINT,玩转图侦

OSINT,玩转图侦

总有那么一群人,他们拥有着上帝一般的视野,总能从细节中发掘出令人咋舌的线索。又有着这么一项技术,叫做图侦。今天就来简单聊聊如何入门图侦