Protect Against Packet Sniffing?
Jun 17, 2011
Now, I have a executable build in vb .net with MySQL.Data.dll (library to allow connection to my remote database) that checks for data in a databaseNow then, when using a packet sniffer tool, I can see all my detailsHow can I prevent thisAlso, as a security measure, I have tried obfuscating the connection string in the exe, but that is only on the code part so I'm sure is not enough as I've seen my string in Wireshark
View 2 Replies
ADVERTISEMENT
Jan 31, 2009
1. Sniff for packets and analyze them,2. Block packets from reaching their destination (program) and/or3. Replace (send) my own packets to the destination in the same stream?
View 2 Replies
Mar 20, 2011
I know I can sniff my local network but Is it possible to sniff to remote computer ip from my machine and watch the data its receiving ?
the reason I'm asking this question is because someone successfully upload file to our website server and tried to hack it.
the only way I can think of is that someone sniffing our ftp port and grabs the ftp password when I'm deploying our website to the server.
View 11 Replies
Mar 10, 2009
I'm building a simple udp lan chat application in vb.net and I'm wondering how I should split my packets. Each sent packet should have like an id, a username and ip address from where it's coming and maybe also a command part for like join or leave to update my userlist and a text message. I'd like to know what is the easiest way to put all this in a simple packet then easily split and access different parts from it when it's received. thanks.I'm using UDP since this is only in lan so i'm broadcasting to *.*.*.255
What I want to know is what would be the most easy and powerful way to format my packets so they include a username , an id, a command and a text message, then the user receiving it decrypt it to show only the message written by which user or if it's a command like join or leave to show the appropriate message of joining and add the user to the list for exemple.
View 2 Replies
Mar 11, 2010
first question is: Do you need to port-forward anything in order to receive a response?he sake of all that is good and holy, don't use ACCESS, EXCEL, or a TEXT FILE as a database. If you want your program to use a "local database", without any of the hassle of setting up a MS SQL or MySQL server, just click this link: >>> SQLite <<< Seriously. This is for your own good.
View 2 Replies
Feb 22, 2009
I am trying to intercept connections on port 2302 that is being used by a game. I was think about using something along the lines of
#Region " Imports "
Imports System
Imports System.IO
Imports System.Windows.Forms
[code]....
View 2 Replies
May 2, 2011
I want to create my own pocket editor like WPE because i want to program it.(To send special messages to the game servers when my program receives something.)
View 4 Replies
Aug 7, 2011
I can already capture packets however is it possible to edit the packet and then send it off? Suppose I had a udp pakcet that said "11-mydata", I want to change it to "11-newdata" then send it off. I know which packets will be accepted and which ones will be modified and sent. So is this possible?
View 1 Replies
Oct 9, 2010
I just update my software and begin to use the vs2010.I want to when my users use my program,if they haven't installed the net framework4.0 or they installed the old net framework version,my install program can auto-install the net framework.
View 8 Replies
May 2, 2012
Working with my friend on a Minecraft casino program. I want the program to send a packet of data to the server. He can make the plugin to capture the data in java but how do I make my end of it to make it send the data to the server? Do I need to make a class with the data to send the data?
View 9 Replies
Feb 2, 2011
I have a packet that I need to send to a client with an ID of 255. I've had no problems sending packets with IDs of 0, 1, and 2. The ID has to be 255. For some reason, after the translation has happened, both me with my server, and the client, get "63" for any Id greater than 127.
This is the code I am using:
Console.WriteLine(Asc(System.Text.ASCIIEncoding.ASCII.GetString(System.Text.ASCIIEncoding.ASCII.GetBytes(Chr("255")))))
Now, This is an overly complicated version of what the server does. You may consider this a bit unnecessary but the inverse functions performed are for your viewing reasons only.
Where it says "255" is the Packet Id I need sent in the format above. As I said, anything larger than 127 returns "63".
View 1 Replies
Apr 9, 2012
I want ask how i can send hex packet to server
i am able to connect IP and port
in packet the data i send is.3..the hex code of data is 00 33 00 07 00 00 04 0F 95 13 00 00 00 here we can see that for 3 hex 33 is used and for char "." 00 07 13 and many others are used and for its 0F used [code]...
View 1 Replies
Jun 8, 2009
I have simple udp client and server using UdpClient class in .net frame work 2.0. My Ip address is 192.168.5.20
and client ip address is 192.168.1.25 and we client pc and mine are on same network. When i tried to send udp packet from client to server exception occurs: "A socket operation was attempted to an unreachale host 192.168.5.20:10080..." But when i change my(server) IP address to "192.168.1.20" communication is fine.How i can solve this problem or,how i can send packets other than my domains ip addresses.
View 4 Replies
Mar 7, 2012
basically I'm sending and receiving both images, strings and files over a client/server connection. I can easily use a protocol for string commands but I cannot distinguish between the incoming data [if data is image or whatever and then follow onward instructions].So how do I make a packet using Dim buffer as byte()?
View 2 Replies
Jun 16, 2010
I am making a software in VB .NET and I wanted to find out where a packet is directed i.e whats its destination IP .ctually what I am doing is kind of a relay.. means for example - A computer(192.168.1.2) wants to send a data to 192.168.1.10:80 but I make it send the data to my server computer i.e 192.168.1.5 which then sends the data to the destination machine which 192.168.1.10:80 .So basically I want to find out where the packet wants to reach(in this case 92.168.1.10:80) . The structure looks like --Client Computer -> Destination Computer [ In normal case ]But I want to do something like this :- Client Computer -> Server Computer -> Destination computerFor the Server computer to send the data to destination computer I guess I will have to know where the packet wants to reach or something
View 5 Replies
Apr 12, 2012
i want ask how i can send hex packet to server .i am able to connect IP and port [code] here we can see that for 3 hex 33 is used and for char "." 00 07 13 and many others are used and for its 0F used [code] it sends same Hex for each "." in packet but i want to send other values as there in original/so i want to create a byte to send from hex code/
View 2 Replies
Feb 21, 2009
i have a program that sniffs for packets on a port going to a specific address on my lan and then sends an exact copy to the same address on another port, the problem is when i edit the port bytes in the TCP packet i have to regenerate the checksum, and thats where the problem comes in, everything i have researched on this just doesnt make sense to mei am looking for a function that will output the checksum and a little explanation on what i need to put in for it to come out right
View 1 Replies
Jul 20, 2011
How am I able to send a data packet from my program, to an IP Address on a certain port (using Udp).
View 4 Replies
Jan 10, 2010
I am trying to read a packet of data which has come in from RS232. I need to be monitoring the port until data comes in to be actioned. I have been doing this fine for some time using the following code:
Dim strline As String = Nothing
Dim comPort As SerialPort
Dim bIsOpen As Boolean = False
[Code]....
The code above works without a problem unles byte 1 or two are greater than 127. Basically, all of the characters that are not converted seem to be 128-255.
I am using VB 2008 express. Clearly I need to read each byte individually and store it as a byte within an array instead of a string but i am not sure how to do this.
how to get around this either through reading bytes properly or through using a different encoding format
View 13 Replies
Aug 2, 2010
I've been using some code which I found on the net, and have noticed that the first byte is never recieved. Annoyingly, this contains the MAC addresses, which is the bit I want. Below is the relevant snippits:
Public Sub [Start]()
If m_Socket Is Nothing Then
Try
[Code].....
View 5 Replies
May 25, 2010
I am attempting to post xml to an affiliate and am having some issues. The affiliate will only accept the xml as a string in the name-value pair called "XML" on a classic asp page.
Here is the code file I have, which works fine and gets the response "Invalid XML". I.T. on the other end explained to me that is the message that gets echoed if they get no data on their end from this one statement: XML = Request("xml")
I cant see anything here which would make me think nothing is getting transmitted.
Dim uri As New Uri("http://www.affiliatesite.com?xml=")
Dim packet As XmlDocument = New XmlDocument
packet.Load(Server.MapPath("../XML/TestDoc.xml"))
packet.GetElementsByTagName("id")(0).innerXml = "123"
[Code].....
View 1 Replies
Oct 5, 2011
I have SNMP Class which creates the SNMP packet and then create a UDP socket to send the packet..but when I use this class to send Get Packet then I m not getting any response...i have come to this point that packet is not going to its destination because i used wireshark to check if some traffic is going from udp port 161 but I m not getting any traffic when I debug my program....here is the part of the class that creates the socket:
View 6 Replies
Feb 22, 2012
I'm sure I did this several months ago but can not get to work now. Have 2 Nics in PC: 192.168.61.201 and 202. NICs are connected thru switch. Normally if I ping 202 no packets would go out PC but 201 would ping 202 thru backplane.If I use WinPcap.SendQue it appeared (based on switch stats) that ICMP request packet from 201 went to switch and response packet from 202 went to switch and then to 201 NIC. Trafffic appeared in Wireshark. My belief was that WinPcap.SendQue forced packet out.Does this seem correct analysis ? Op: XP Pro SP2, Well it now appears I have SP3.
View 3 Replies
Jun 12, 2011
I have been trying to figure out how to use Packet X to Capture Packets from a certain program that uses UDP. Does anyone know how to do so?
View 1 Replies
Nov 18, 2009
I want to create a simple Windows Mobile (compact framework) application that sends a wakeonlan packet to a specified MAC address.
View 7 Replies
Jun 14, 2011
I have a question... I recently came across a program called WPE Pro (Winsock Packet Editor Pro). Basically what it does is lets you sniff, edit and send packets intercepted from a process. Thats the key word here PROCESS. From what I can tell WPE uses DLL injection to sniff and inject packets directly into an active socket connection on the target process. What I want to know is how would I go about achieving this? If it isn't possible with the .NET language, is it possible to goto C++ or something?
View 4 Replies
Mar 1, 2009
I was trying to figure out if anyone had any example of sending ICMP packets over a Socket, when it is in raw mode?It would need to construct the IP Header information, and the raw ICMP packet.
View 1 Replies
Mar 15, 2009
I am trying to code to capture the packet loss on computers, but the only way I've been able to do so was to run the NetStat.exe and the TraceRt.exe processes and capture them to a listbox (using the code below):
[Code]...
View 1 Replies
Oct 11, 2010
I need to make a packet sniffer that will give me SSL packets. It doesn't need to give me any other information than the body of the packet, the actual data being sent to me. It does not need to differentiate between different IP addresses. And, it doesn't even need to differentiate between things which are and are not SSL packets. Any packets will be fine, it just needs to support SSL packets. The fewer lines of code the better...
View 5 Replies
Mar 1, 2011
I was wondering if there was a simple way to show packets being sent in "Label1"
and then show packets being received in "Label2"..
Also I want to know if there's a way to show Download speed in "Label3" and Upload speed in "Label4".
View 3 Replies