Giter Site home page Giter Site logo

swfretools's People

Contributors

alexminza avatar mstftop avatar sporst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swfretools's Issues

typos in flash_debug.py

CREATEPROCESS -> CREATE_PROCESS
I don't know how to fork or commit.
sorry for writing such small things like this.

Add support for Generics

An exception get's thrown (see below) when attempting to parse a Multiname with a kind.value() of 0x1D. I modified MultinameInfoParser class to include kind.value() and fieldName in the exception message.

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Invalid multiname type: 29, fieldName: DoABC::ABCData::constant_pool::multiname[6]::data
at tv.porst.swfretools.parser.structures.MultinameInfoParser.parseData(MultinameInfoParser.java:34)
at tv.porst.swfretools.parser.structures.MultinameInfoParser.parse(MultinameInfoParser.java:41)
at tv.porst.swfretools.parser.structures.ConstantPoolParser.parse(ConstantPoolParser.java:68)
at tv.porst.swfretools.parser.structures.AS3DataParser.parse(AS3DataParser.java:18)
at tv.porst.swfretools.parser.tags.DoABCParser.parse(DoABCParser.java:33)
at tv.porst.swfretools.parser.tags.TagParser.parseTag(TagParser.java:165)
at tv.porst.swfretools.parser.tags.TagParser.parseTag(TagParser.java:76)
at tv.porst.swfretools.parser.tags.TagParser.parse(TagParser.java:213)
at tv.porst.swfretools.parser.SWFParser.parse(SWFParser.java:95)
at tv.porst.swfretools.dissector.gui.main.models.FileModel.openFile(FileModel.java:63)
at tv.porst.swfretools.dissector.gui.main.implementations.FileActions.openFile(FileActions.java:61)
at tv.porst.swfretools.dissector.gui.main.actions.OpenAction.actionPerformed(OpenAction.java:49)

The following links should be of some help in writing a parser for the Vector type:

Add a way to dump individual Flash elements

Once in a while there are nested SWF files inside a SWF file or shellcode is stored in a DefineBinaryData tag. It would be cool if there was a right-click menu in the Flash tree to dump all structures.

throw NegativeArraySizeException while doing minimizer

java -jar minimizer.jar F:\Tools\flex_sdk_4.1\runtimes\player\10.1\win\FlashPla

yerDebugger.exe e:\ToDo\cve-2011-2110\main.swf
Minimizing SWF file F:\Tools\flex_sdk_4.1\runtimes\player\10.1\win\FlashPlayerDe
bugger.exe with player e:\ToDo\cve-2011-2110\main.swf
Trying to remove tag FileAttributes (1 of 9) at offset 00000015 ... KEEP
Trying to remove tag Metadata (2 of 9) at offset 0000001B ... KEEP
Trying to remove tag ScriptLimits (3 of 9) at offset 000001E8 ... KEEP
Trying to remove tag SetBackgroundColor (4 of 9) at offset 000001EE ... KEEP
Trying to remove tag FrameLabel (5 of 9) at offset 0000020F ... KEEP
Trying to remove tag DoABC (6 of 9) at offset 00000216 ... Exception in thread "
main" java.lang.NegativeArraySizeException
at tv.porst.splib.arrays.ArrayHelpers.removeData(Unknown Source)
at tv.porst.swfretools.minimizer.Minimizer.removeTags(Unknown Source)
at tv.porst.swfretools.minimizer.Minimizer.main(Unknown Source)

i'm using swftools_120.zip

thx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.