Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Archived Forums » RenGuard Client » Could It Work?
Could It Work? [message #49356] Sat, 27 September 2003 05:37 Go to previous messageGo to previous message
destruktv is currently offline  destruktv
Messages: 14
Registered: September 2003
Karma:
Recruit
A very basic appriach, any script kiddie would try that first Smile. I'd be surprised if the Renguard team had not covered that. The best way to check what the directory of the (executing) Renegade process is, is ofcourse in its runtime state.

CreateProcess(LPCWSTR lpszImageName, LPCWSTR lpszCmdLine,
LPSECURITY_ATTRIBUTES lpsaProcess, LPSECURITY_ATTRIBUTES lpsaThread, BOOL fInheritHandles, DWORD fdwCreate, LPVOID lpvEnvironment, LPWSTR lpszCurDir, LPSTARTUPINFOW lpsiStartInfo,
LPPROCESS_INFORMATION lppiProcInfo);

The above API function's first parameter by default when windows creates a process specifies the full path and filename of the module (executable) to execute.
This parameter can easily be checked to determine (running) Renegade's directory.

Ofcourse there are other issues that need to be considered even after that, but to bypass this, we already require some skills that most "lame kids who cheat" don't have.

Cheers,
D.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: replacement models
Next Topic: Design the RenGuard.com site!
Goto Forum:
  


Current Time: Thu Jan 09 16:32:50 MST 2025

Total time taken to generate the page: 0.01293 seconds