Click to See Complete Forum and Search --> : Ftp type of thing....
Mark Sreeves
Dec 15th, 1999, 10:07 PM
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
Mark.Sreeves@Softlab.co.uk
A BMW Group Company
[This message has been edited by Mark Sreeves (edited 12-16-1999).]
Juillet
Dec 16th, 1999, 12:06 AM
...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!
Aaron Young
Dec 16th, 1999, 11:53 AM
If it bothers you that much, try this routine for validating Credit Cards..
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
aarony@redwingsoftware.com
adyoung@win.bright.net
Mark Sreeves
Dec 16th, 1999, 02:27 PM
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
Mark.Sreeves@Softlab.co.uk
A BMW Group Company
Crazy D
Dec 16th, 1999, 03:55 PM
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 :-)
kourosh
Dec 16th, 1999, 04:24 PM
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. (http://www.directhit.com.) this is a very good search engine. Try it.
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: azzmodan@azzmodan.demon.nl
ICQ: 15440110 (http://www.icq.com/15440110)
Homepage: http://www.azzmodan.demon.nl
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.