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

Just starting out? Need help? Post your questions and find answers here.
j50501313
User
User
Posts: 20
Joined: Fri Oct 23, 2009 11:51 am

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

Post 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.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

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

Post 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!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Nituvious
Addict
Addict
Posts: 1027
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

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

Post by Nituvious »

Can you explain what this does?
▓▓▓▓▓▒▒▒▒▒░░░░░
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

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

Post 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:
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

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

Post 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
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

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

Post by Rings »

closed second time
SPAMINATOR NR.1
Locked