
acer20006
Active Members-
Posts
70 -
Joined
-
Last visited
Everything posted by acer20006
-
i will Explain: i want to make something like analyzer at my autoit which can find a specific packet at my packets list _ and about Wireshark i don't have any idea about it and also i don't know how to attach it with autoit _ if you can send to me some example i will be grateful my client didn't connect to the server directly( i redirect my client ip&port to my local ip {something like proxy}) that's why my autoit(local ip)can't identify the client/server packets *** any idea ??!
-
hii all actually i had two questions question no1 : _ can i sniff the packet which i get it from TCPRecv ?? >>> i have tcp connection with some server and i received the packets(that's good)_ all i want is to catch a specific packets for example:-- i have this packets (rv = received) rv: 0x0400457401007F310300 rv: 04004574A28023AD0200 rv: 0400457456265D260600 rv: 0x040045740100B6870200 <<<<<<<<<< rv: 0x04004574010091550100 rv: 0x0C0045B40200017F31030001360000000105 rv: 0x0C0045B4020001B687020001360000000105 rv: 0x0C0045B402000123AD020001530000000105 now i want to search for B6870200and automatically save the whole packet(line) at text file if the packet exist question no2 : TCPRecv catch all the packet from/to (server~client) i wounder if there's a way to make it catch only the packet which send from (server to client) or (client to server) ***** any idea ?? ***** thx
-
sending keys without controlsend ??
acer20006 replied to acer20006's topic in AutoIt General Help and Support
mmmmmmm it's work i will modify the codes to suit my needs ty mat -
sending keys without controlsend ??
acer20006 replied to acer20006's topic in AutoIt General Help and Support
While 1 $hWnd = WinGetHandle ("seeker") ControlSend ($hWnd,"","Edit1","{enter}") WEnd i need to send {enter} to client window named _seeker_ at minimized state -
hii all i know that my question is too old & boring _ but i didn't find solution to send key at minimized window / client window i use controlsend but its useless _ it's just sending key at maximize state ControlSend ("-windows title-","","Edit1","{I}") _ all i need _ is to know if autoit had this Feature or not ???
-
is controlsend not support with winlist ??
acer20006 replied to acer20006's topic in AutoIt General Help and Support
it's work ty -
is controlsend not support with winlist ??
acer20006 replied to acer20006's topic in AutoIt General Help and Support
i know that ( i have to use handle coz there's two title ) but how to get the handle and include it with the right code to make the script work fine ??? i upload code but all what i get for now is just a suggestion _ i need some one to share his knowledge -
is controlsend not support with winlist ??
acer20006 replied to acer20006's topic in AutoIt General Help and Support
the problem isn't which way use to send but the real problem is how to recognize the windows / client ( it's had the same title & name) -
is controlsend not support with winlist ??
acer20006 replied to acer20006's topic in AutoIt General Help and Support
is any one can help me here _ or what ????? -
is controlsend not support with winlist ??
acer20006 replied to acer20006's topic in AutoIt General Help and Support
thx for replay _ but i still had prblem at sending keys i can't Combine both of controlsend %_GuiCtrlListView_GetSelectedIndices i make search but there's nothing -
is controlsend not support with winlist ??
acer20006 replied to acer20006's topic in AutoIt General Help and Support
#include <GUIConstantsEx.au3> #Include <GuiListView.au3> HotKeySet("{f9}","bb") $handle = WinGetHandle("Untitled - Notepad", "") If @error Then MsgBox(0, "Error", "Could not find window") EndIf Global $Client[1][1], $Array[1] $Form1 = GUICreate("text Manager", 260, 170, 50, 50) $listview = GUICtrlCreateListView("text", 8, 8, 250, 150, BitOR($LVS_SORTDESCENDING, $LVS_LIST, $LVS_SHOWSELALWAYS)) _Refresh() Func _Refresh() _GUICtrlListView_BeginUpdate($listview) _GUICtrlListView_DeleteAllItems($listview) $Client = WinList($handle) If $Client[0][0] > 0 Then For $X = 1 To $Client[0][0] GUICtrlCreateListViewItem($Client[$X][0], $listview) Next Else GUICtrlCreateListViewItem("NOTEPAD No Found", $listview) EndIf _GUICtrlListView_EndUpdate($listview) EndFunc GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() WEnd Func bb() For $X = 1 To $Client[0][0] ControlSend("","",_GUICtrlListView_GetSelectedIndices $Client[$x][0],"123") Next For $X = 2 To $Client[0][0] ControlSend("","",_GUICtrlListView_GetSelectedIndices $Client[$x][0],"456") Next EndFunc doesn't work >>>> can u upload example about how to send keys to a same multiplier windows ??! -
hii all i know that's may be an old question ( winlist ) _ but i cant find my purpose at the search > i have now 2 windows of (NOTEPAD) i wann from my script to send to the first one "123" then switch to the other one and type "456" >> all that at minimized state #include <GUIConstantsEx.au3> #Include <GuiListView.au3> HotKeySet("{f9}","bb") Global $Client[1][1], $Array[1] $Form1 = GUICreate("text Manager", 260, 170, 50, 50) $listview = GUICtrlCreateListView("text", 8, 8, 250, 150, BitOR($LVS_SORTDESCENDING, $LVS_LIST, $LVS_SHOWSELALWAYS)) _Refresh() Func _Refresh() _GUICtrlListView_BeginUpdate($listview) _GUICtrlListView_DeleteAllItems($listview) $Client = WinList("Untitled - Notepad") If $Client[0][0] > 0 Then For $X = 1 To $Client[0][0] GUICtrlCreateListViewItem($Client[$X][0], $listview) Next Else GUICtrlCreateListViewItem("NOTEPAD No Found", $listview) EndIf _GUICtrlListView_EndUpdate($listview) EndFunc GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() WEnd Func bb() For $X = 1 To $Client[0][0] ControlSend("","",_GUICtrlListView_GetSelectedIndices $Client[$x][0],"123") Next For $X = 2 To $Client[0][0] ControlSend("","",_GUICtrlListView_GetSelectedIndices $Client[$x][0],"456") Next EndFunc > i didn't wann to make it by winactive i just wann to make it by the selection from winlist --- select the notepad then push _f9_ ----------- can some one help me by scripts or any idea ??
-
can use TCP to send packets ????
acer20006 replied to acer20006's topic in AutoIt General Help and Support
are i have to add this code to my script to send packets ?? _ i didnt get it yet :S sry -
can use TCP to send packets ????
acer20006 replied to acer20006's topic in AutoIt General Help and Support
thx for replay _ i will make search about checksum and comeback later -
can use TCP to send packets ????
acer20006 replied to acer20006's topic in AutoIt General Help and Support
mmmm so there's no other way to find solution for checksum here (i have to start searching again )>>>> any way _ Manadar how about the code _ is it good ?? or need to modify ?? -
can use TCP to send packets ????
acer20006 replied to acer20006's topic in AutoIt General Help and Support
mmmmm _ i have some problems at sending packets i made this simple code $Hex = "0B 00 F0 70 08 31 01 04 E8 27 00 00 01 0B 83 F0 01 " $g_IP = "121.254.153.33" ;~ ; Start The TCP Services : ;============================ TCPStartUp() ;~ ; Connect to "SOCKET" : ;========================= $socket = TCPConnect( $g_IP, 15779 ) If $socket = -1 Then MsgBox (0,"TCP Services","Can't make connection") TCPSend($socket,$Hex) ;~ ; Shutdown The TCP Services : ;=============================== TCPShutdown ( ) 1> but this code didnt make any action at the client or server 2> the checksum get changed over and over _ how can i calculate it at my script to prevent the change ? 0B 00 F0 70 08 31 01 04 E8 27 00 00 01 0B 83 F0 01 0B 00 F0 70 56 91 01 04 E8 27 00 00 01 0B 83 F0 01 this the same packet but this a different checksum _ i can't even send the packet through WPE ( coz of checksum ) now, what i have to do >>>>>>>>>>? -
can use TCP to send packets ????
acer20006 replied to acer20006's topic in AutoIt General Help and Support
im fan of WPE too ----------------------- you are the man _ i will try it now (i hope it work XD) ty for help Manadar & Volly -
can use TCP to send packets ????
acer20006 replied to acer20006's topic in AutoIt General Help and Support
thx for answer_ i made a search before i make a post _ i know how to create server & client & all the other thing which full allover the forum & no one talk about sending packets _ or how to send it directly to sever >>> my real problem is with packets how to send it___ i will explain it at easy way ___ my game called " silkroad online(Korean version)" & i use WPE to get the packets which i send it by button ( buff / skill / ... etc) the packets came like this " 0B 00 F0 70 88 8B 01 04 E8 27 00 00 01 AB F9 9E" _ all what i wann to know is how to send this packets back by autoit NOT wpe to the server which code i have to use ???????? -
can use TCP to send packets ????
acer20006 replied to acer20006's topic in AutoIt General Help and Support
mmmmm ya i saw the helpfile before _ but i didnt find any thing about packets >-----------------------------------------------------------------------------------------------------------------< all i need is to know how to send specific packets to server(game server) by AUTOIT to make specific action ... i can use WPE to send back the packets that i get (what i can do with the packets at this form?_nothing) _ so my idea is to make a simple script with input box can read the input_packet at it then send it server >----------------------------------------------------thx---------------------------------------------------------< -
hi all i wondering if i can use TCP function to send packets like -- 07 00 F0 70 88 2A 01 04 2B 27 00 00 00 / 0B 00 F0 70 88 8B 01 04 E8 27 00 00 01 AB F9 9E -- to server ??! and if the answer is " yes " > how to male it _ just using the TCP(send/received .. etc )function as the help said :/ ..... and if the answer is " no " what's is ur suggestion to make it work well !!!!! >>>> thx foe help XD
-
>>> msgbox will not popup #include <IE.au3> $oIE = _IECreate("http://rapidshare.com/files/27530939/T0120421.rar.html") $sText = _IEBodyReadText ($oIE) MsgBox(0, "Body Text", $sText) $word = "The file could not be found. Please check the download link." If StringInStr($sText, $word) Then MsgBox(0,"","") EndIf ------------------ msgbox will popup #include <IE.au3> $oIE = _IECreate("http://rapidshare.com/files/27530939/T0120421.rar.html") $sText = _IEBodyReadText ($oIE) MsgBox(0, "Body Text", $sText) $word = "msgbox will popup" If StringInStr($sText, $word) Then MsgBox(0,"","") EndIf ------------------ it's simple somehow but i can modify it to suit my script -------------- thx dale for help
-
k i will try
-
thx dale for help _ i read help file ----------------------------- _IENavigate > This function always returns a value of -1 i waste alot of my time in it & i dont know how to compile it with other function _ im a loser _ ---------------------------- wil i try other function _ StringInStr _( geting script from help) but the this script also had problem #include <IE.au3> $oIE = _IECreate("http://rapidshare.com/files/27530939/T0120421.rar.html") $sMyString = "Error" $oLinks = _IELinkGetCollection($oIE) For $oLink in $oLinks $sLinkText = _IEPropertyGet($oLink, "innerText") If StringInStr($sLinkText, $sMyString) Then MsgBox(0,"","") EndIf Next i try to find the problem from help file but i cant figure it out >>>> all i need from my script is if he find ( error ) word pop up msgbox <<<
-
you are rught dale it doesnt help this a simple code from my script #include <IE.au3> $oIE = _IECreate ("about:blank") Sleep(5000) _IENavigate ($oIE, "http://www.google.com" , 1) If @error Then MsgBox(0,"site" , " invalid link ") Else MsgBox(0,"site", " www.google.com") EndIf problem is if i change (http://www.google.com) to a link from any hosting site like rapedshare.com and .. i wann my script to check if my link are dead or not it's stuck _ it didnt show any error msg << the idea it's like link checker _ that's all >>
-
_IEBodyReadText useful function _ but i need it to work with the site name thx dale