Results 1 to 14 of 14
  1. #1
    arunforce's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    A place for amigos
    Posts
    24,760
    Reputation
    4747
    Thanks
    12,592
    My Mood
    Yeehaw

    [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.
    Last edited by arunforce; 01-03-2011 at 01:34 PM.



    BRING BACK BT, BRING BACK SAGA, BRING BACK VF, BRING BACK MPGHCRAFT, BRING BACK HABAMON


  2. #2
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    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

  3. #3
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    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.
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  4. #4
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    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.

  5. #5
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Yes, we know, but I think he wants it written in VB.

    C# is pretty much the same as VB.

  6. #6
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,679
    My Mood
    Mellow
    [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?

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  7. #7
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,749
    My Mood
    Breezy
    [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..
    Last edited by master131; 01-03-2011 at 07:35 PM.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  8. #8
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,679
    My Mood
    Mellow
    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.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  9. #9
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,749
    My Mood
    Breezy
    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.
    Last edited by master131; 01-03-2011 at 08:00 PM.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  10. #10
    arunforce's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    A place for amigos
    Posts
    24,760
    Reputation
    4747
    Thanks
    12,592
    My Mood
    Yeehaw
    Nevermind, it's pretty complicated.

    Posted in VB because it'd be easier to make an app then C#. And VB is more popular.



    BRING BACK BT, BRING BACK SAGA, BRING BACK VF, BRING BACK MPGHCRAFT, BRING BACK HABAMON


  11. #11
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,679
    My Mood
    Mellow
    Well if you still need it, I'll see what I can do.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  12. #12
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    I got this, Give me an hour


     


     


     



    The Most complete application MPGH will ever offer - 68%




  13. #13
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,136
    My Mood
    Dead
    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 !!

  14. #14
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    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.


     


     


     



    The Most complete application MPGH will ever offer - 68%