原创 ODbgScript學習

ODbgScript腳本可以更加靈活的控制OllyDBG,以下根據《加密與解密(第三版)》ISO的第二章和官方文檔而寫。相關文件:OllyScript 《加密與解密》的光盤中的OllyDBG自帶ODbgScript插件,這裏使用O

原创 PhpStorm+xampp配置xdebug

環境配置 PhpStorm 2018.3.6 2019.1的識別不了xdebug xampp-windows-x64-7.1.26-0-VC14-installer 安裝路徑:D:\xampp 集成了php_xdebug.

原创 解決PyInstaller vcruntime140.dll沒有被指定在Windows上運行

PyInstaller PyInstaller可以將 python script 打包成可執行文件。 安裝 pip install pyinstaller 使用 pyinstaller文檔 : https://pyinstall

原创 ctf之AWD(5)_服務器

ctf之AWD(5)_服務器 根據github源碼做了一些修改和添加 內容 : (1)修改mysql密碼 (2)數據庫監控 (3)文件監控 (1)修改mysql密碼 ##### change_mysql.py ##

原创 ctf之AWD(3)_重寫菜刀

ctf之AWD(3)_重寫菜刀 原理 多次post cmd=@eval(base64_decode($_POST[z0])); #cmd爲原密碼,z0爲新密碼 wireshark抓包分析 菜刀2011 post數據分析 &cmd

原创 ctf之AWD(1)_ssh弱口令

ctf之AWD(1) ssh弱口令 批量修改ssh初始密碼 要點 passwd的--stdin參數ubuntu不支持,chpasswd命令需要root權限 echo "root" |passwd --stdin apache

原创 upload-labs文件上傳01-04

upload-labs 01 前端js繞過 ctrl+u查看源碼 function checkFile() { var file = document.getElementsByName('upload_fil

原创 python上傳圖片

python上傳圖片(1) 抓取圖片流量 Content-Disposition: form-data; name=“upload_file”; filename=“test.jpg” Content-Type: image/

原创 逆向分析_win_api基礎(2)

win_api基礎(2) (一) 查看MessageBox返回值 環境 : vc++ 6.0 //msgbox2.cpp 配置工程爲 release #include <windows.h> #include <stdio.h

原创 逆向分析_DLL基礎(3)

DLL基礎(3) DllMain處理 (一) 創建dll release項目(sum) //sum.cpp #include<windows.h> #include<stdio.h> extern "C" int __decls

原创 python socket請求與http端口掃描

socket4http() socket4http2() 模擬http請求 convert2crlf win-python3,將\n轉換成\r\n connScan http連接掃描 b'HTTP' in connSkt.recv

原创 逆向分析_DLL基礎(4)

DLL基礎(4) 變量導出 dll項目,名稱:dllvar dllvar.h //dllvar.h #include<windows.h> #ifdef DLLVAR_EXPORTS #define DLLVAR_API __d

原创 逆向分析_DLL基礎(2)

DLL基礎(2) 參數傳遞 //msgbox_arg.cpp #include<windows.h> extern "C" _declspec(dllexport) void __cdecl msgbox(HWND hwnd,H

原创 Asm和VC混合編程_數據傳送(2)

Asm和VC混合編程 局部變量 masm符號 @@ @F即(forward),指令後第一個@@標號 @B即(before),指令前第一個@@標號 局部變量 TestProc proc local @local:DWORD

原创 Apache2.4配置VirtualHost

Apache2.4監聽多端口 參考:ArchWiki https://wiki.archlinux.org/index.php/Apache_HTTP_Server 一個ip配置多個端口的web服務,Apache2的配置目錄在/e