Question On Packet Sniffing.

If i use Chr() characters to send information would it still be picked up by packet sniffers?
andyakiraAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
It will be unusual but will be detected almost inmediatly.
A little step forward is some kind of caesar ciphering algorithm, just sum a number to actual ascii value.

To encrypt:

Private Function CaesarEncode(str as String, key as Integer) as String
    CaesarEncode=""
    For i = 1 To Len(str)
        CaesarEncode= CaesarEncode & chr(asc(mid(str,i,1))+key)
    Next i
End Function

To decrypt:

Private Function CaesarDecode(str as String, key as Integer) as String
    CaesarDecode = ""
    For i = 1 To Len(str)
        CaesarDecode= CaesarDecode & chr(asc(mid(str,i,1))-key)
    Next i
End Function

Hope to be useful,
Jaime.
 
0
 
Jaime OlivaresSoftware ArchitectCommented:
Of course you have more sophisticated algorithms but I that will depend on the relevancy of your information.
0
 
andyakiraAuthor Commented:
am i doing this right jaime. after encoding im sending this to the server CaesarDecode(Text2, 3) but the sniffer still picks up the real text, what steps should i be doing?
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Jaime OlivaresSoftware ArchitectCommented:
You have to send the returning string of CaesarEncode(), not the original Text2 variable.
0
 
andyakiraAuthor Commented:
the problem is i dont own the server, i'm trying to make it send a message to my name on this server, so there is no way to hide the name part is there?
0
 
Jaime OlivaresSoftware ArchitectCommented:
If you refer to the heading information of the packets, then you can't, it will simply not reach your server.
Maybe any kind of secure layer like SSL will give you some privacy.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.