Page 1 of 1

I wonder if someone could please help me out. Thank you in a

Posted: Tue Nov 10, 2009 5:11 am
by j50501313
Hello, I'm j50501313 and I'm new to PureBasic. While I really enjoy what I see so far,
I stumbled across this piece of C code that I'd like to convert to PB.

Code: Select all

#include <windows.h>
#include <tchar.h>
int _tmain()
{
    DWORD (WINAPI *SfcFileException)(DWORD, LPWSTR, DWORD); 
    SfcFileException = (DWORD (WINAPI *)(DWORD, LPWSTR, DWORD)) 
    GetProcAddress(LoadLibrary(_T("SFC_OS.dll")), (LPCSTR)5); 
    if (!SfcFileException(0, L"c:\\windows\\explorer.exe", -1)) 
    {
        return 1;
    }
    return 0;
} 
I wonder if someone could please help me out. Thank you in advance.

Re: I wonder if someone could please help me out. Thank you in a

Posted: Tue Nov 10, 2009 6:12 am
by Rook Zimbabwe
Well it looks terribly suspicious!

I am sure someone will be silly enough to help you destroy someone else's computer...

Ypu should NEVER mess with explorer.exe that is the basis of the entire windows OS!

Re: I wonder if someone could please help me out. Thank you in a

Posted: Tue Nov 10, 2009 6:16 am
by Nituvious
Can you explain what this does?

Re: I wonder if someone could please help me out. Thank you in a

Posted: Tue Nov 10, 2009 6:19 am
by Rook Zimbabwe
It appends a DLL to explorer.exe the windows OS process... This is the 2nd time this MORON has posted the same code on this forum... that is has 2 posts so far!!! You would think he would learn that not even those who normally help the hacker wannabees are stupid enough to help him do this!!!

@j50501313 : If you wanna do that crap learn C and go away!!! :evil:

Re: I wonder if someone could please help me out. Thank you in a

Posted: Tue Nov 10, 2009 7:03 am
by rsts
Looks surprisingly similar to an earlier request from a post which was locked and subsequently deleted as being an inappropriate request.

Where did you happen on to this code?

cheers

Re: I wonder if someone could please help me out. Thank you in a

Posted: Tue Nov 10, 2009 8:43 am
by Rings
closed second time