Results 1 to 7 of 7

Thread: Is it possible to ...

  1. #1
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default Is it possible to ...

    Send packets to a server using SCAR on an already open connection?

    The problem I have here is that when I create a new connection and send a packet to a server it gets ignored as it is sending it using the new connection and not the existing one.

    I made a small function here:

    SCAR Code:
    Function SendPacket: Boolean;
    Var
      Packet:Integer;
    Begin
      Packet := OpenConnection('', , 5000); //I edited out the I.P and Port
      If Packet = -1 Then Exit;
      Writeln('Packet ID: '+IntToStr(Packet));
      Wait(500);
      If IsConnectionOpen(Packet) Then
      Begin
        Writeln('Connection Open! Attempting to send packet ...');
        If SendConnectionData(Packet, '00 00 00 00 00 ') Then //Edited packet
        Begin
          Result := True;
          Wait(1000);
          Writeln('Packet Sent!');
        End Else Writeln('Sending failed');
      End;
    End;

    Now what happens is when I run this function it does create a new connection and I do get the "Packet Sent!" in the debug ... but nothing happens.

    I was just wondering if there is a way to see if there is a socket already open on a specific I.P and PORT and if I am able to send packets using that, because as I stated before it does not work correctly if I create a new packet.
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  2. #2
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    You need to create a plugin that uses hooks.
    There used to be something meaningful here.

  3. #3
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    And how would I do that?
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  4. #4
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by cycrosism View Post
    And how would I do that?
    Its a very complex process. There are plenty of tutorials online.

    And you can search the forum for plugin tutorials.
    There used to be something meaningful here.

  5. #5
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    I haven't found any good packet editor out there... Only packed sniffing, but that aint much help.. So I guess; Good luck on making such a thing .
    Verrekte Koekwous

  6. #6
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    I haven't found any good packet editor out there... Only packed sniffing, but that aint much help.. So I guess; Good luck on making such a thing .
    I use one called wpepro. Its free and it has lots of great features like filtering packets and sending packets on an already open connection.
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  7. #7
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by cycrosism View Post
    I use one called wpepro. Its free and it has lots of great features like filtering packets and sending packets on an already open connection.
    IIRC it didn't have real good packet-editing features..
    Verrekte Koekwous

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •