Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Question On Packet Sniffing.

Posted on 2004-09-28
6
Medium Priority
?
255 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 500 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
Independent Software Vendors: 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Simple Linear Regression
Progress

715 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