Page 1 of 1

Lua but not Spring. Important.

Posted: 01 Jun 2008, 22:38
by Complicated
Anyone able to write a luascript that'll display big letters "UPDATE YOUR ADOBE" on the screen if the currently installed Adobeflash is not 9.0.124.0?

It's a anti-hack related problem as the previous adobe flash has a huge hole in it that allows people to take passwords, this problem is currently exsisting on Worldofwarcraft, but wish for this to be implimented on a private server.

Yes anyone that helps with this will be credited

Re: Lua but not Spring. Important.

Posted: 04 Jun 2008, 11:29
by Posts
not exactly what you wanted, though it seems unclear that you know what you want, what i'm going to show you is javascript + html

In this post i present to you a modified form of what you can find at this URL: URL

I've improved your version logic, "less than" applied to only certain major versions, 9 and 8, http://www.securityfocus.com/bid/28695

note to self: keyword search URL

see attachment for second part

Code: Select all

<html>
<script type="text/javascript" src="SWFObject.js"></script>
<body>
<script type="text/javascript">
	var version = deconcept.SWFObjectUtil.getPlayerVersion();
	if((version['major'] == 9 && version['minor'] == 0 && version['rev'] < 124)
		|| (version['major'] == 8 && version['minor'] == 0 && version['rev'] < 42))
			document.write('<font size="7">--- This website has detected that you are using an '
						+ 'old version of Adobe Flash(google it)'
						+ ' that is being attacked in-the-wild, upgrade now (version you are using: '
						+ version['major'] +"."+ version['minor'] +"."+ version['rev']+') ---</font>');
</script>
<p>
hi there
</p>
</body>  
</html>

Re: Lua but not Spring. Important.

Posted: 04 Jun 2008, 22:55
by KDR_11k
Lua has no input/output functions by default I think, you'll need to look into the documentation of the Lua interface you're writing it for.

Re: Lua but not Spring. Important.

Posted: 05 Jun 2008, 00:03
by AF
Im not sure he is writing it for an interface, or that he intends to write anything other than the download this post