Results 1 to 7 of 7

Thread: Ftp type of thing....

  1. #1

    Thread Starter
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    Post

    My pc is permanently online.

    Is it possible to tell if there is any thing being is being transmitted (by ftp or any other means) from my PC without my knowledge?

    Why do I want to know this I hear you ask.

    Well, I just downloaded an ocx from codeguru which checks the validity of a credit card.

    You have to enter the expiry date and credit card number and it then tells you the issuer and if it is a valid card or not.

    It occured to me that there would be nothing to stop the writer of this ocx to have embedded a bit of ftp (or similar) code to send all these details to the other side of the world!

    ------------------
    Mark Sreeves
    Analyst Programmer

    [email protected]
    A BMW Group Company


    [This message has been edited by Mark Sreeves (edited 12-16-1999).]

  2. #2
    Member
    Join Date
    Jul 1999
    Posts
    40

    Post


    ...remember is it is only checking the sequence of numbers to see if the sequence is a valid sequence...NOTHING ELSE...so the expirery date is not required data!

    dump the ocx and use Aarons's answer..the code is in your face!

  3. #3
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    If it bothers you that much, try this routine for validating Credit Cards..
    Code:
    Private Function CheckCreditCard(ByVal sNumber As String) As Boolean
        Dim iCount As Integer
        Dim iDigit As Integer
        Dim iTotal As Integer
        
        For iCount = 1 To Len(sNumber)
            iDigit = Val(Mid$(sNumber, iCount, 1))
            If IIf(Len(sNumber) Mod 2, iCount Mod 2 = 0, iCount Mod 2) Then
                iDigit = iDigit * 2
                If iDigit > 9 Then iDigit = iDigit - 9
            End If
            iTotal = iTotal + iDigit
        Next
    
        If iTotal Mod 10 = 0 And Len(sNumber) > 0 Then CheckCreditCard = True
        
    End Function
    
    Private Sub Command1_Click()
        If CheckCreditCard(Text1) Then
            MsgBox "Credit Card Verified"
        Else
            MsgBox "Credit Card Invalid"
        End If
    End Sub
    I promise it doesn't send me any Info..

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]

  4. #4

    Thread Starter
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    Post

    Thanks for all but that doesn't answer my original question!

    "Is it possible to tell if there is any thing being is being transmitted (by ftp or any other means) from my PC without my knowledge?"



    ------------------
    Mark Sreeves
    Analyst Programmer

    [email protected]
    A BMW Group Company

  5. #5
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386

    Post

    I don't know, but since windooz security is kinda uhmmm not much *G* I don't think so...
    But if you find out, I'm definitely intrested :-)

  6. #6
    Hyperactive Member kourosh's Avatar
    Join Date
    Aug 1999
    Location
    Vancouver, British Columbia, Canada
    Posts
    256

    Post

    Hello,
    I am not sure if it is going to work but I have heard that you can use winsock control to watch the connections. If you can write a program, which command the winsock to send a message or close the port when something is transfering, I think it is going to work. I have seen good toturials about winsock in www.directhit.com. this is a very good search engine. Try it.



  7. #7
    Guest

    Post

    I use a program called @guard(Atguard).

    It has a firewall option in it, if you turn it on and something tries to send data it wil popup with a screen asking you to "Block/Allow/Always Block/Always Allow" the communication for that program.


    I think you can download a demo here: http://www.atguard.com

    Or if you like a (not so legal) full version: http://atguard.da.ru/




    ------------------

    Vincent van den Braken
    EMail: [email protected]
    ICQ: 15440110
    Homepage: http://www.azzmodan.demon.nl




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