Sign in to follow this  
Followers 0
rush4hire

Want to get text from a Flash swf.

16 posts in this topic

#1 ·  Posted (edited)

I have been searching for hours.

I just need to get the text from this Macromedia Flash chat client found here: http://www.maniatv.com/mip/mip.html

To start with. Then I want to send stuff maybe. Mostly I want to log the chat with the window closed.

Also. Is there anything that works with winpcap ? any winpcap / autoit projects ?

Thanks. :whistle:

Oh btw. Here's what I've tried so far:

;~ opt("WinDetectHiddenText", 1)
;~ $x = ControlGetFocus ("ManiaTV! Interactive Player (BETA) -")
;~ $x = WinGetText ("ManiaTV! Interactive Player (BETA) -")
;~ $x = WinGetClassList ("ManiaTV! Interactive Player (BETA) -")
;~ $x = WinGetProcess ("ManiaTV! Interactive Player (BETA) -")
;~ $x = ControlGetText ( "ManiaTV! Interactive Player (BETA) -", "Turtle: in some way or another", 129492648 )
ControlSend ( "ManiaTV! Interactive Player (BETA) -", "", 129492648, "hi" )
;~ $x = ControlListView ( "ManiaTV! Interactive Player (BETA) -", "", 129492648, "GetItemCount" )
$x = StdoutRead(3140)
InputBox ("","",$x)
;; WinGetProcess
;3140

;;;; focus
;~ MacromediaFlashPlayerActiveX1

;; window text
;~ http://www.maniatv.com/mip/mip.html
;~ http://www.maniatv.com/mip/mip.html
;~ Done
;~ ManiaTV! Interactive Player (BETA)
;~ WMPVideoWindow
;~ ?'
;~ ManiaTV! :: Network Homepage

;; classes
;~ ReBarWindow32
;~ ToolbarWindow32
;~ ToolbarWindow32
;~ ToolbarWindow32
;~ ComboBox
;~ Edit
;~ ToolbarWindow32
;~ ComboBox
;~ Edit
;~ ToolbarWindow32
;~ ToolbarWindow32
;~ ToolbarWindow32
;~ ToolbarWindow32
;~ msctls_statusbar32
;~ ToolbarWindow32
;~ ReBarWindow32
;~ SysTabControl32
;~ AfxControlBar42su
;~ Afx:400000:8:10011:1100059:0
;~ MDIClient
;~ Afx:400000:8:0:0:481049f
;~ Afx:400000:8
;~ Shell Embedding
;~ Shell DocObject View
;~ Internet Explorer_Server
;~ WMPVideoWindow
;~ MacromediaFlashPlayerActiveX
;~ Internet Explorer_TridentCmboBx
;~ ToolbarWindow32
;~ Afx:400000:8:0:0:481049f
;~ Afx:400000:8
;~ Shell Embedding
;~ Shell DocObject View
;~ Internet Explorer_Server
;~ MacromediaFlashPlayerActiveX
;~ ToolbarWindow32
;~ AfxControlBar42su
;~ AfxControlBar42su
;~ AfxControlBar42su
;~ Shell Embedding
;~ Shell DocObject View
;~ Internet Explorer_Server
Edited by rush4hire

Share this post


Link to post
Share on other sites



All I can suggest is WPE for the sending part.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

WPE Pro. Packet editor


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Ok so this is like WinPCap? only different somehow ?

Thank you guys, and I'm seriously checking into this.

Ok I give up. I can't find this program. I'll just try WinPcap then.

Edited by rush4hire

Share this post


Link to post
Share on other sites

Uhm.. OCR

Do a quick search and you'll know what i mean. Flash text isn't normal windows text (I always like to check wether you can select it and copy it normally, but flash may 'simulate' this.).

Share this post


Link to post
Share on other sites

Ok so this is like WinPCap? only different somehow ?

Thank you guys, and I'm seriously checking into this.

Ok I give up. I can't find this program. I'll just try WinPcap then.

Yeah, its hard to find ^^

Maybe, try searching.

Windows Packet Editor Pro


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Thanks.

I'll search for that. I think OCR would require the window to be visible right ? So that would not be very good.

O ya you can select the text. But I might try to work with the packets.

It will just take a bit of time to find out how the packet programs work.

But I need to learn about those anyway.

Is there anything on this forum dealing with packet manipulation ?

Another project would be to stop those dam porn bots in the yahoo chat rooms from booting ppl when they block them.

And that would take packet manipulation.

Share this post


Link to post
Share on other sites

Couldnt you use the TCP functions or something?


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Couldnt you use the TCP functions or something?

Oh yeah, and, "I bypassed the censor :whistle: "

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

First of all I can't find a way to detect the port the process is using.

The process would be found by the browser window, but in this case it uses a different port each time. It has has used these ports last several times I went to this chat:

4259

4345

4779

5324

I can get the packets with WPE PRO. You don't have to find the port, just select a process ("Target program" menu) It will put the ip/port with each packet recieved.

I can't even get the packets when I have the port here.

Now it gives me the msgbox.....

All I have is this little test so far and now it just gives me the msgbox..

; I guess if no chat is sent for 60 seconds it will timeout....
Opt("TCPTimeout",60000)
$ip = "192.168.2.3"
$port = 5324

TCPStartUp()

$sock = TCPListen($ip, $port,  100 )
If $sock == -1 Then
    msgbox(0,'','not working?')
    Exit
Else
    $s = TCPRecv ($sock, 100)
    FileWrite ("pactest.txt",$s)
EndIf
Edited by rush4hire

Share this post


Link to post
Share on other sites

WPE Pro, Shows the port & IP to connect to, but apparently, theres somthing to do with https, but I dont know that works.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Now i can't even get the socket. I got it once. Like this doesn't work.

And the port is different..

Is this impossible?

Or are there some examples of packet stuff?

What would I search for?

; I guess if no chat is sent for 60 seconds it will timeout....
Opt("TCPTimeout",60000)
;~ $ip = "8.3.208.85"
;~ $port = 443
$ip = "192.168.2.3"
;~ $port = 1170
$port = 1775

TCPStartUp()
While 1
    $sock = TCPListen($ip, $port,100)
    If $sock == -1 Then
        Sleep(100)
    Else
        ExitLoop
    EndIf
Wend
msgbox(0,'',$sock)

Share this post


Link to post
Share on other sites

WPE Pro, Shows the port & IP to connect to, but apparently, theres somthing to do with https, but I dont know that works.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0