Arcade Prehacks

Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Flasm Help!

  1. #1

    Join Date
    Jan 2012
    Posts
    8

    Flasm Help!

    Hello all.

    I am using flasm on a mac, and am trying to put the code from a swf into a txt file by using the command -d.

    However, Terminal says there is no command like that, and when i go to the name.txt, it is 0 KB and has no information in it.

    Here is what terminal says:

    Last login: Sat Dec 31 23:06:51 on ttys002
    106371L:~ 16vineetk$ cd/Applications/Chipmunk\Basic/Documentation/man/flasm
    106371L: flasm 16vineetk$ ./flasm

    Flasm 1.63 build Sep 20 2011

    (c) 2001 Opaque Industries (c) 2002-2009 Igor Kogan, (c) 2005 Wang Zhen
    All rights reserved. See LICENSE.TXT for terms of use.

    Usage: flasm [command] filename

    Commands:
    -d Disassemble SWF file to the console
    -a Assemble Flasm project (FLM)
    -u Update SWF file, replace Flasm macros
    -b Assemble actions to _bytecode_ instruction or byte sequence
    -z Compress SWF with zLib
    -x Decompress SWF

    Backups with $wf extension are created for altered SWF files.

    To save disassembly or _bytecode_ to file, redirect it:
    flasm -d foo.swf > foo.flm
    flasm -b foo.txt > foo.as

    Read flasm.html for more information.
    106371L: flasm 16vineetk$ flasm-d complete.swf > complete.txt
    -bash: flasm: command not found
    106371L: flasm 16vineetk$flasm -b complete.txt > complete.as
    -bash: flasm: command not found

    Please help!
    Thanks.

  2. #2
    Senior Member
    Join Date
    Dec 2010
    Location
    stuff do-er
    Posts
    288

    Re: Flasm Help!

    Hmm, I see where the problem is

    Quote Originally Posted by noobHackerD
    on a mac

  3. #3

    Join Date
    Jan 2012
    Posts
    8

    Re: Flasm Help!

    So... is there any way I can hack using flasm on a mac?

    Are there any hackers who use flasm on a mac?

    If you know one can you please ask that person to help me?

    Thanks.

  4. #4
    Senior Member spiderkid12's Avatar
    Join Date
    Jun 2010
    Posts
    1,857

    Re: Flasm Help!

    No one uses macs aside from people that try to fit in.

    Realistically, I don't think you can hack on a mac..I'm not 100% sure because I don't like them so I don't pay attention to them.

  5. #5
    Senior Member
    Join Date
    Jun 2010
    Location
    Southern USA
    Posts
    1,221

    Re: Flasm Help!

    Macs can do command line just like windows, you guys.

    I'm sure the only thing you have to do to get it to work is to place the flasm folder on your desktop, then enter terminal and type in:

    1. "cd desktop" then press enter

    2. "cd flasm" < depending on if you renamed the flasm folder, then press enter

    3. type in "./flasm" to use it's commands

    And that's it.
    "We're playing in the same sandbox. Why can't we be nice to each other?"

  6. #6

    Join Date
    Jan 2012
    Posts
    8

    Re: Flasm Help!

    I did that, and then I got the flasm list of commands.

    However, after that, when I put in flasm -d game.swf > game.txt it says that there is no command 'flasm' and also, the txt file made in the flasm folder has no text in it.

    Please help me!

  7. #7
    Senior Member
    Join Date
    Jun 2010
    Location
    Southern USA
    Posts
    1,221

    Re: Flasm Help!

    To use the command in terminal, you have to use it as ./flasm.

    In other words, use "./flasm -d".

    The tutorial you are reading was written for cmd, which is windows.
    "We're playing in the same sandbox. Why can't we be nice to each other?"

  8. #8

    Join Date
    Jan 2012
    Posts
    8

    Re: Flasm Help!

    How can you tell if something is encrypted, or is AS3?

  9. #9
    Senior Member spiderkid12's Avatar
    Join Date
    Jun 2010
    Posts
    1,857

    Re: Flasm Help!

    Code:
      fileAttributes attrUseNetwork,attrActionScript3,attrHasMetadata
    Should say something like that right on the top.

  10. #10
    Senior Member
    Join Date
    Dec 2010
    Location
    stuff do-er
    Posts
    288

    Re: Flasm Help!

    And encrypted will probably generate like a million lines before converting it to .flm or .txt

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •