Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [Tool Request]AS Version Determiner Request

[Tool Request]AS Version Determiner Request

Posts 1–14 of 14 · Page 1 of 1
arunforce
[MPGH]arunforce
[Tool Request]AS Version Determiner Request
Can anyone make a quick tool to check the ActionScript version of a SWF. I read it was like the first four bytes:

flash - How can the actionscript version of a swf file be determined in C#? - Stack Overflow

Also, if you know how, perhaps a tool to check if the swf file is encrypted (more like obfuscated, rename variables and all that, etc), but it's not really necessary at the moment, just need a version checker without manually looking at the code.


-----------------------

Nevermind, the swf version is in hexadecimal in the 4th byte. The actionscript version is in the file attributes tag.
#1 · edited 15y ago · 15y ago
mnpeepno2
mnpeepno2
Quote Originally Posted by arunforce View Post
Can anyone make a quick tool to check the ActionScript version of a SWF. I read it was like the first four bytes:

flash - How can the actionscript version of a swf file be determined in C#? - Stack Overflow

Also, if you know how, perhaps a tool to check if the swf file is encrypted (more like obfuscated, rename variables and all that, etc), but it's not really necessary at the moment, just need a version checker without manually looking at the code.


-----------------------

Nevermind, the swf version is in hexadecimal in the 4th byte. The actionscript version is in the file attributes tag.
thats c# btw, not vb
#2 · 15y ago
'Bruno
'Bruno
Quote Originally Posted by mnpeepno2 View Post
thats c# btw, not vb
I'm pretty sure he knows that.. But giving a reference to VB with C# is not bad at all.. It's almost the same. And can be perfectly used as a guide/help.
#3 · 15y ago
mnpeepno2
mnpeepno2
Quote Originally Posted by Brinuz View Post
I'm pretty sure he knows that.. But giving a reference to VB with C# is not bad at all.. It's almost the same. And can be perfectly used as a guide/help.
yes i know, but this is not the c# section, you see.
#4 · 15y ago
Lolland
Lolland
Yes, we know, but I think he wants it written in VB.

C# is pretty much the same as VB.
#5 · 15y ago
Jason
Jason
[FONT="Microsoft Sans Serif"][SIZE="2"]
Quote Originally Posted by arunforce View Post

-----------------------

Nevermind, the swf version is in hexadecimal in the 4th byte. The actionscript version is in the file attributes tag.


So does this mean you don't need someone to do this now?
#6 · 15y ago
master131
[MPGH]master131
[php]Dim ASVersion() as Byte
ASVersion = IO.File.ReadAllBytes("C:\test.swf")
Dim final as String
For i as Integer = 0 to 3
final = final & CharW(ASVersion(i))
Next
MsgBox(final)
[/php]

All that returns is CWS and a dot when I tried..
#7 · edited 15y ago · 15y ago
Jason
Jason
Quote Originally Posted by master131 View Post
[php]Dim ASVersion() as Byte
ASVersion = IO.File.ReadAllBytes("C:\test.swf")
Dim final as String
For i as Integer = 0 to 3
final = final & CharW(ASVersion(i))
Next
MsgBox(final)
[/php]

First 4 bytes aren't actually the version.
#8 · 15y ago
master131
[MPGH]master131
Yeah, I realised involves decompression and crap to determine the final AS version. Not sure how to convert that to VB.NET since alot of it is pseudo code and I don't know any C#.

Oh and here is the modified version:
[php]Dim ASVersion() as Byte
ASVersion = IO.File.ReadAllBytes("C:\test.swf")
Dim final as String
For i as Integer = 0 to 2
final = final & CharW(ASVersion(i))
Next
final = final & CStr(ASVersion(3))
MsgBox(final) [/php]

Returns CWS or FWS followed by the SWF version. At least its some kind of a start.
#9 · edited 15y ago · 15y ago
arunforce
[MPGH]arunforce
Nevermind, it's pretty complicated.

Posted in VB because it'd be easier to make an app then C#. And VB is more popular.
#10 · 15y ago
Jason
Jason
Well if you still need it, I'll see what I can do.
#11 · 15y ago
NextGen1
NextGen1
I got this, Give me an hour
#12 · 15y ago
Hassan
Hassan
Quote Originally Posted by NextGen1 View Post
I got this, Give me an hour
I made it yesterday. But he doesn't want it anymore. He moved to php !!
#13 · 15y ago
NextGen1
NextGen1
yeah I know, I talked to him, I may need to use some java but I should be able to pull it off in PHP. Just have to figure it out, though proficient, PHP is not one of my languages, I may write it in VB or C# and convert it the best I can with JSC and figure out where it breaks and fix it, unless you want to do the conversion, just use JSC , it's pretty accurate.
#14 · 15y ago
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Tags for this Thread

None