• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

Question On Packet Sniffing.

If i use Chr() characters to send information would it still be picked up by packet sniffers?
0
andyakira
Asked:
andyakira
  • 4
  • 2
1 Solution
 
Jaime OlivaresSoftware 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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now