Jump to content

Recommended Posts

Posted

Ok, after a lot of researches, i've found that the APIs that use windows to determine what files is opened, and by who, on a system, is NetFileEnum of the netapi32.dll

but..after a lot of try, i really don't understand dllcall

i think that application could be really needed by everyone to see who is connected to your computer, or on a remote computer !

here some links that was my source

on msdn first :

NetFileEnum

and a guy that has developed an little application with this, in .NET

VBNet example using NetFileEnum

and here is my script, but doesn't work...i really don't understand anything to dllcall, sorry :/

;netfileenum
Dim $servername,$basepath,$username,$element,$entriesread,$totalentries
DllCall("netapi32.dll","long","NetFileEnum","long",$servername,"long",$basepath,"long",$username,"long",3,"long", _
DllStructGetPtr($element),"long",-1,"long",$entriesread,"long",$totalentries,"long","")
ConsoleWrite(DllStructGetData($element,1))

-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...