Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroMemoryEx authored Sep 2, 2024
1 parent 316c351 commit b6441a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ring3-gui/ring3-gui/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ int main(int, char**)
bool all_windows = false;
int pid = 0;
ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f);
Texture tex = readTextureFile();

#ifdef __EMSCRIPTEN__
io.IniFilename = nullptr;
Expand All @@ -272,7 +273,6 @@ int main(int, char**)
ImGui_ImplOpenGL3_NewFrame();
ImGui_ImplGlfw_NewFrame();
ImGui::NewFrame();
Texture tex = readTextureFile();
if (show_demo_window)
ImGui::ShowDemoWindow(&show_demo_window);
{
Expand Down Expand Up @@ -498,7 +498,7 @@ int main(int, char**)
fopera operation_client = { 0 };
ImGui::Begin("Chaos Rootkit PANEL", &restrict_access_to_file);

ImGui::InputTextWithHint("##","PID", buf, IM_ARRAYSIZE(buf)); // Added label for InputText
ImGui::InputTextWithHint("##", "PID", buf, IM_ARRAYSIZE(buf)); // Added label for InputText


ImGui::InputTextWithHint("###", "Filename", filename, IM_ARRAYSIZE(filename));
Expand Down Expand Up @@ -553,7 +553,7 @@ int main(int, char**)
{
if (restrict_access_to_file == 1)
{
MessageBoxA(0, "You can only enable either restrict access to files or integrity bypass at a time.",0,0);
MessageBoxA(0, "You can only enable either restrict access to files or integrity bypass at a time.", 0, 0);
restrict_access_to_file = 0;
}
fopera operation_client = { 0 };
Expand Down Expand Up @@ -613,7 +613,7 @@ int main(int, char**)
{
if (DeviceIoControl(hdevice, PRIVILEGE_ELEVATION, (LPVOID)&currentPid, sizeof(currentPid), &lpBytesReturned, sizeof(lpBytesReturned), 0, NULL))
{

component_color_handler = 2;
if (!lpBytesReturned)
{
Expand Down

0 comments on commit b6441a7

Please sign in to comment.