Results 1 to 6 of 6

Thread: Enable File Sharing

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    Under the Boardwalk
    Posts
    79

    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.
    -=]{ i ( ( er =-

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    Under the Boardwalk
    Posts
    79
    Nobody know??
    -=]{ i ( ( er =-

  3. #3
    Fanatic Member Ruku's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    655

    How about winsock?

    Originally posted by killerSD
    Nobody know??
    Hey, ever tryed winsock control?

    You can send files with it...

    Using VB.NET 2005/.NET 2.0, NetBeans IDE 5, Fujitsu Cobol85,
    Website: http://DreamForgery.com

  4. #4
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    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:
    1. Private Declare Function WNetAddConnection Lib "mpr.dll" Alias "WNetAddConnectionA" (ByVal lpszNetPath As String, ByVal lpszPassword As String, ByVal lpszLocalName As String) As Long
    2.  
    3. Private Sub Form_Load()
    4. WNetAddConnection "\\vdk00005\proj", "", "H:"
    5. End Sub

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    Under the Boardwalk
    Posts
    79
    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?
    -=]{ i ( ( er =-

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Location
    Under the Boardwalk
    Posts
    79
    I got it!! I think...
    --------------
    NOpe i dont have it.. that was for NT.. i need it for win9x..
    -=]{ i ( ( er =-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width