ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1067

Load plugin from the 5th tab

by vectrac20tsri - 12-27-2019 - 04:20 PM
#1
I believe this is not worthy of hide tags, very simple way of loading a plugin from the 5th tab, I play with server sources just for learning, I added a way to be able to send a message to the listener from the 5th tab and was just playing around.

Code:
void loadPlugin()
{
XOVERLAPPED active;
WCHAR buffer[0x64];
CHAR plugin[0x64];

while (XShowKeyboardUI(0, VKBD_DEFAULT, L"", L"Module Loader", L"Enter plugin to load\n\nex HDD:\plugin.xex", buffer, 100, &active) == ERROR_ACCESS_DENIED) Sleep(500);

while (!XHasOverlappedIoCompleted(&active)) Sleep(500);

if (wcslen(buffer) <= 100)
{
wcstombs((PCHAR)plugin, buffer, 0x64);
if(XexLoadImage(plugin, 8, NULL, NULL) == ERROR_SUCCESS);
{
XNotifyUI(L"Module Loaded");
}
}
}

Probably not helpful to most but just trying stuff that's not already out, please delete if not worthy of a thread.
Reply
#2
meh been leaked in a few sources before but nice leak pal
Reply
#3
(12-27-2019 - 04:20 PM)vectrac20tsri Wrote: I believe this is not worthy of hide tags, very simple way of loading a plugin from the 5th tab, I play with server sources just for learning, I added a way to be able to send a message to the listener from the 5th tab and was just playing around.

Code:
void loadPlugin()
{
XOVERLAPPED active;
WCHAR buffer[0x64];
CHAR plugin[0x64];

while (XShowKeyboardUI(0, VKBD_DEFAULT, L"", L"Module Loader", L"Enter plugin to load\n\nex HDD:\plugin.xex", buffer, 100, &active) == ERROR_ACCESS_DENIED) Sleep(500);

while (!XHasOverlappedIoCompleted(&active)) Sleep(500);

if (wcslen(buffer) <= 100)
{
wcstombs((PCHAR)plugin, buffer, 0x64);
if(XexLoadImage(plugin, 8, NULL, NULL) == ERROR_SUCCESS);
{
XNotifyUI(L"Module Loaded");
}
}
}

Probably not helpful to most but just trying stuff that's not already out, please delete if not worthy of a thread.
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply

Users browsing: 3 Guest(s)