Solved

Question On Packet Sniffing.

Posted on 2004-09-28
6
244 Views
Last Modified: 2010-04-17
If i use Chr() characters to send information would it still be picked up by packet sniffers?
0
Comment
Question by:andyakira
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 125 total points
ID: 12175154
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
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12175159
Of course you have more sophisticated algorithms but I that will depend on the relevancy of your information.
0
 

Author Comment

by:andyakira
ID: 12175773
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12175796
You have to send the returning string of CaesarEncode(), not the original Text2 variable.
0
 

Author Comment

by:andyakira
ID: 12175847
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
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12175946
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apps blocked by Java 9 103
sp_configure 'external scripts enabled', 1; 7 159
jboss 7.1 start up error 1 85
statistics basics sources 2 75
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question