Hack Forums
[.NET] click button create with javascript webbrowser - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] click button create with javascript webbrowser (/showthread.php?tid=3582597)



click button create with javascript webbrowser - aleeeeeee - Jun 28, 2013

How can i click on button in webbrowser create with swfobject?
this is the code html:
PHP Code

<?php 
<div class="vsLaunch">
<
div id="swf_btn" class="swf">
Your Flash plugin is out of date. <a href="http://get.adobe.com/flashplayer/" target="_blank">Click here to update it</a>.
</
div>
<
script type="text/javascript">
//<![CDATA[
var so = new js.SWFObject("http://data.mybrute.com/swf/uc.swf?v=18","btn",212,66,9,"#ECAD71");
so.addParam("menu","false");
so.addParam("AllowScriptAccess","always");
so.addParam("FlashVars","__file=http://data.mybrute.com/swf/btn.swf?v=0&__key=http://data_labrute_fr/swf_key&lang=en&u=/fight/&amp;d=broizu178&amp;b=http://data.mybrute.com/img/en/teasing_submit.gif&amp;o=http://data.mybrute.com/img/en/teasing_submit_over.gif&amp;a=ghostdefence&amp;k=44");
so.addParam("scale","noscale");
so.write("swf_btn");
//]]>
</script> 

I did document.getelementbyid("swf_btn").invokemember("click") but nothing


* - Lambasoft - Jun 28, 2013

Well mate, you will have to reverse engineer the flash script.
That's the only way.

I can't help you much with that, I got a lake of knowledge in reverse engineering.
I can wish you good luck tho ^^