[2008] Packet Sniffing And Sending?
Jan 31, 20091. 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 Replies1. 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 RepliesNow, 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 Repliesfirst 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 Repliesi 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 RepliesI 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.
I want to create a simple Windows Mobile (compact framework) application that sends a wakeonlan packet to a specified MAC address.
View 7 RepliesI cannot find a way to get the server to put the information of the recieved packet onto a textbox for the user to see.Client Side:
Imports System.Net.Sockets
Imports System.Text
Public Class Client
[code]....
I am also trying to get the server to send back a packet to the client saying it recieved the packet sent. I just dont know how to translate the packet to a textbox.
I want to make an application which turns on my computer. A Wake-on-Lan application should do the trick. I allready created something which sends data over UDP, i can see that it sends the data (with wireshark) but it does not send the correct data.
[Code]...
im trying to decypher their structures and substructures and right now im wondering if anybody knows what exactly sequence and acnowledgment numbers in TCP packet headers are made of?
View 1 RepliesI'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.
I am trying to Send an Email with an attachment (using Gmail) but I keep getting errors like "Operation Timed out" or Failure Sending Email". It was working earlier today but I found out that i needed to add Using statement because the email was having a file open that had to be deleted after it was sent but afterwards it doesn't work.
Here's what I have (Portion of it):
Private Sub SendMailOneAttachment(ByVal un As String, ByVal pass As String, Optional ByVal smtp As String = "smtp.gmail.com")
Using oAttach As Net.Mail.Attachment = New Net.Mail.Attachment((Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) & "\" & My.Computer.Name & "_" & fName & " .zip"))
Dim client As SmtpClient = New SmtpClient(smtp)
[Code] .....
The ports are correct I believe, no firewall up on my PC...
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]....
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 RepliesI 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 RepliesI 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 RepliesWorking 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 RepliesI 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".
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]...
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.
Which is better for Sending Files/Sending Images/Msg for P2P Chat?
View 1 Repliesbasically 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 RepliesI 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 Repliesi 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 RepliesHow am I able to send a data packet from my program, to an IP Address on a certain port (using Udp).
View 4 RepliesI 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
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].....
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].....
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 RepliesI'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 RepliesI 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