public static void CBCREATEPROCESS(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_CREATEPROCESS info) { var CreateProcessInfo = info.CreateProcessInfo.ToStruct <WAPI.CREATE_PROCESS_DEBUG_INFO>(); var modInfo = info.modInfo.ToStruct <WAPI.IMAGEHLP_MODULE64>(); var DebugFileName = info.DebugFileName.MarshalToString(); var fdProcessInfo = info.fdProcessInfo.ToStruct <WAPI.PROCESS_INFORMATION>(); PLog.WriteLine("[DotNet TEST] Create process {0}", info.DebugFileName.MarshalToString()); }
public static void CBMENUENTRY(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_MENUENTRY info) { switch (info.hEntry) { case MENU_ABOUT: Interaction.MsgBox("ERC Plugin For x64dbg\nCoded By Andy Bowden", MsgBoxStyle.OkOnly, "Info"); break; case MENU_HELP: Interaction.MsgBox("https://github.com/Andy53/ERC.Xdbg", MsgBoxStyle.OkOnly, "Help"); break; } }
public static void CBMENUENTRY(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_MENUENTRY info) { switch (info.hEntry) { case MENU_ABOUT: Interaction.MsgBox("Test DotNet Plugins For x64dbg\nCoded By Ahmadmansoor/exetools", MsgBoxStyle.OkOnly, "Info"); break; case MENU_DUMP: if (!Bridge.DbgIsDebugging()) { PLog.WriteLine("You need to be debugging to use this Command"); break; } Bridge.DbgCmdExec("DotNetDumpProcess"); break; } }
public static void CBMENUENTRY(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_MENUENTRY info) { switch (info.hEntry) { case MENU_ABOUT: HotSpot.aboutDlg.ShowDialog(); break; case MENU_GET_HOTSPOTS: //Bridge.DbgCmdExec("GetHotSpots"); if (debugging) { HotSpot.mainDlg.ShowDialog(); } else { //Interaction.MsgBox("You need to be debugging to use this option", MsgBoxStyle.OkOnly, "Info"); MessageBox.Show("You need to be debugging to use this option", "Not Debugging!!!", MessageBoxButtons.OK, MessageBoxIcon.Warning); } break; } }
public static void CBLOADDLL(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_LOADDLL info) { var LoadDll = info.LoadDll.ToStruct <WAPI.LOAD_DLL_DEBUG_INFO>(); var modInfo = info.modInfo.ToStruct <WAPI.IMAGEHLP_MODULE64>(); var modname = info.modname.MarshalToString(); }
public static void CBSTOPDEBUG(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_STOPDEBUG info) { PLog.WriteLine("[DotNet TEST] DotNet test debugging stopped!"); }
public static void CBINITDEBUG(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_INITDEBUG info) { var szFileName = info.szFileName.MarshalToString(); PLog.WriteLine("[DotNet TEST] DotNet test debugging of file {0} started!", szFileName); }
public static void CBLOADDLL(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_LOADDLL info) { }
public static void CBCREATEPROCESS(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_CREATEPROCESS info) { }
public static void CBSTOPDEBUG(Plugins.CBTYPE cbType, ref Plugins.PLUG_CB_STOPDEBUG info) { debugging = false; HotSpot.mainDlg.LstFoundSpots.Items.Clear(); HotSpot.mainDlg.Found.Text = ""; }