|
-
Jan 16th, 2003, 09:24 PM
#1
Thread Starter
Lively Member
Enable File Sharing
Hey i was wondering if there is any way to enable file sharing through vb? If so .. can someone explain how .. i have tried to look it up and no luck.
In case your wondering.. this is not for a trojan . It is however for a RAT.
-
Jan 17th, 2003, 07:25 AM
#2
Thread Starter
Lively Member
Nobody know??
-
Jan 17th, 2003, 09:22 AM
#3
Fanatic Member
How about winsock?
Originally posted by killerSD
Nobody know??
Hey, ever tryed winsock control?
You can send files with it...
-
Jan 17th, 2003, 11:00 AM
#4
Frenzied Member
What is it that you want to enable?
File Sharing is available as a part of the Microsoft Operating System (assuing a reasonably recent OS).
Or do you mean, set one of your folders as "Shared"? I.e. publish a network share for other users to connect to.
If so, there will be an API to do this, but I am not sure what that is.
Or do you mean, map a drive letter to a shared folder on another computer (i.e. the DOS Net Use command).
If so, try:
VB Code:
Private Declare Function WNetAddConnection Lib "mpr.dll" Alias "WNetAddConnectionA" (ByVal lpszNetPath As String, ByVal lpszPassword As String, ByVal lpszLocalName As String) As Long
Private Sub Form_Load()
WNetAddConnection "\\vdk00005\proj", "", "H:"
End Sub
-
Jan 18th, 2003, 09:38 AM
#5
Thread Starter
Lively Member
I want to be able to turn on file and printer sharing so i can access my other printer and files on my other computer..but i also want to be able to turn it off so i dont get any netbios attacks .. understand?
-
Jan 18th, 2003, 09:42 AM
#6
Thread Starter
Lively Member
I got it!! I think...
--------------
NOpe i dont have it.. that was for NT.. i need it for win9x..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|