Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 16:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]Winsock Functions, recv from(von) Process

Discussion on [HELP]Winsock Functions, recv from(von) Process within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1

 
elite*gold: 556
Join Date: Aug 2006
Posts: 502
Received Thanks: 404
Question [HELP]Winsock Functions, recv from(von) Process

Hallo

Ich bauen grad einen TCP recv Script, um von einem Process die Packete zu empfangen. Habe hier ein bespiel server&client gebaut um packete zu simulieren. Diese Packete möchte ich nun per script empfangen. Nun bin ich grad am hängen. Hab da wenig erfahrung mit DLLCall und weiß nicht zu 100% ob das überhaupt möglich ist.

Hier der Server:


Der Client sendet automatisch jede Sekunde ein Packet

Der Hauptcode um das ganze zu empfangen:
Dies habe ich ein wenig umgeschrieben, von
Ich hoffe es macht keinem was aus, (natürlich danke dafür)


Wie gesagt, kenn mich mit dem DLLCall nicht ganz aus, bitte daher um hilfe
Danke

PS:
Sonstige Infos
recv Function
uragan is offline  
Old 08/01/2011, 17:16   #2
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
kknb is offline  
Old 08/01/2011, 19:42   #3

 
elite*gold: 556
Join Date: Aug 2006
Posts: 502
Received Thanks: 404
sehr gut, danke
Das hilf mir ein wenig weiter
doch leider immer noch ohne erfolg

nehmen wir an, recv hat 4 einträge

Code:
int recv(
[COLOR="Red"]  __in   SOCKET s,[/COLOR]
[COLOR="SeaGreen"]  __out  char *buf,[/COLOR]
[COLOR="RoyalBlue"]  __in   int len,[/COLOR]
[COLOR="DarkOrange"]  __in   int flags[/COLOR]
);
Dann wir bei mir Dllcall so aussehen:

Code:
	
$sockaddr = DllStructCreate("char[256]")
$recv1 = DllCall($dll, "int", "recv", [COLOR="Red"]"int" , 520,[/COLOR] [COLOR="SeaGreen"]"ptr", $sockaddr, [/COLOR][COLOR="RoyalBlue"]"int", DllStructGetSize($sockaddr),[/COLOR] [COLOR="DarkOrange"]"int", 0[/COLOR])
$recv = DllStructGetData($sockaddr,1)
ToolTip($recv,1,1)
(das ganze ist natürlich in einer Schleife)

Den Socket (520) weiß ich immer noch nicht wie ich den rauslesen soll, dahen wurde dieser mit Hilfe von WPE Pro ermittelt und eingesetzt

Ich weiß jetzt immer noch nicht wo der fehler ist

Thema wurde vergesen oder weiß niemand mehr ein rat?
uragan is offline  
Reply


Similar Threads Similar Threads
Mit Process Explorer /Process Hacker Hs umgehen
05/22/2010 - General Gaming Discussion - 1 Replies
Ich habe hier im Forum gelesen, das man mit Process Explorer bzw. Process Hacker das HS umgehen kann. Leider ist mir irgendwie schleierhaft wie das gehen soll. Vllt erbarmt sich jemand und erklärt es (:, da man den sogenannten Bypasser nur noch las Premium Dings Da bei Upload.to runterladen kann :rolleyes:
[help] recv
08/02/2009 - Kal Online - 3 Replies
Soo, man man behinderter tag. naja wayne. bin grad dabei mich etwas mehr mit den recv packets außeinander zu setzen. unter anderem mit den zahlen dahinter. Borsti sagte das ist die größe (size) naja also ich hab mir das mal als hex ausgeben lassen (das packet für empfangene nachrichten im chat ) ich hab mir das folgendermaßen "notiziert" 0c 00 3c //size 44 65 6e 4a 61 73//name
[Question] Hooking send() & recv() works, but recv hiding data for co???
05/06/2009 - CO2 Programming - 2 Replies
Hey guys, I've been making a DLL to allow another program to intercept the packets of conquer using windows pipes. (Then its the job of the main program to decrypt the packets, the DLL only gives a communication channel for the main program) (winsock functions btw) - hooking send() works fine for my internet browser - hooking recv() works fine for my internet browser - hooking send() works fine for conquer online
C# how to pause a process/freeze process
12/08/2008 - CO2 Programming - 2 Replies
ya so i was semi bored and after little bit of looking around i didnt find to many examples of how to do this so attached is a demo project to show you how. basically it comes down to calling ResumeThread() and SuspendThread() (API functions) on all the threads of a process...simple enough http://img388.imageshack.us/img388/9762/exampleil 6.png please note when you enter the process name there's no ".exe" to the end Warning: this isn't idiot proof . .
winsock in vb.net?
12/29/2007 - Conquer Online 2 - 4 Replies
anyone know how to get winsock into vb.net?ive been googleing for an answer and cant findone. i downloaded oswinsock and still not sure how to use it?? Ive been using vb6 for a while and am using vb 2005 for the first time and this is pissing me off.i read i should use systemcom.net or somthing? just anyone know how i can use winsock in vb.net or explain what i need to do,before i give up on this .net framework and stick with my trusty vb6 if anyone has a simple source proxy in...



All times are GMT +2. The time now is 16:24.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.