Code Monkey home page Code Monkey logo

Comments (4)

twistedpair avatar twistedpair commented on June 25, 2024

There are many reasons why the script is failing

  • many sites keep the static files in a subdirectory, in which case this does not trace the url
  • many apps use *.cache.js, not *.cache.html files
  • most code split apps place fragments in "deferredjs/{int}.cache.js" locations
  • searching the for the word "method" is no longer very effective in the compiled files

The only suggestion I'd have is something like egrep "'(is|can|has|get|set)[a-zA-Z0-9]+'\)" -R -oh . which gets some possible methods, but only assuming they use typical accessor names, which is not very robust.

from gwt-penetration-testing-toolset.

blackbern avatar blackbern commented on June 25, 2024

It seems that version 7 changed the way methods are obfuscated. In my case methods were correctly enumerated but parameters types could not be found.
It seems that type obfuscation is displayed at some point. In fact, if you look for common types like "java.lang,Integer" you'll find the line which contains all types.

From there, you can find obfuscated parameters types in the function declaration.
For each method identified by the script, from line 9 to the first line which starts by ^[a-z]=.* there is another parameter. The type of it is specified by the three last letters of the line.

For example:
9. ..., bUd)));
10. ..., yZk)));
11. k=...
This method has 2 parameters of type bUd and yZk. As explained, these types can be found somewhere (usually at the end). It is in a single line.
... bUd='java.lang.String/1010101'; yZk='java.lang.Integer/123456789'; ...

Finally the method has a pattern like method(String,Integer).

from gwt-penetration-testing-toolset.

quentinhardy avatar quentinhardy commented on June 25, 2024

The tool (e.g. enum module) does not work on 2.5.0rc1 -:( Tested on this version.

I think the problem will appear on all greater than versions (e.g. 2.7.1, 2.8.1) -:(

from gwt-penetration-testing-toolset.

darkpills avatar darkpills commented on June 25, 2024

Hello,
I'm currently working on a 2.7.0 version and would like to test if my changes in the script also apply to other versions. Does anyone has a recent version endpoint to test against?

from gwt-penetration-testing-toolset.

Related Issues (6)

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.