Code Monkey home page Code Monkey logo

Comments (8)

pkumza avatar pkumza commented on May 28, 2024

from libradar.

 avatar commented on May 28, 2024

Thanks for your help . I will try the Version 1.

from libradar.

 avatar commented on May 28, 2024

@pkumza I'm using Version 1 and set RM_STATUS to 1, it didn't delete the libs, why is that?

from libradar.

pkumza avatar pkumza commented on May 28, 2024

Try [commit 6b2115] and set RM_STATUS to 2.

from libradar.

pkumza avatar pkumza commented on May 28, 2024
Just change code of main/detect.py(around line 400) to:
if RM_STATUS == 1: 
            cmd = 'rm -rf %s' % apk_path 
            subprocess.call(cmd, shell=True)
elif RM_STATUS == 2: 
            zip_file_name = self.project_path + '/../clean_app/' + os.path.basename(apk_path)[:-3] + 'zip' 
            smali_path = apk_path + '/smali' 
            self.zip_apk(smali_path, zip_file_name) 
            return zip_file_name `

and set RM_STATUS to 2.

from libradar.

 avatar commented on May 28, 2024

Still not working...:
self.zip_apk(smali_path, zip_file_name)
AttributeError: Detector instance has no attribute 'zip_apk'

from libradar.

pkumza avatar pkumza commented on May 28, 2024

This functionality was implemented in some version but I deleted it after several versions.
I delete the libraries detected and then dump smali code into a clean_app folder. Maybe you could find a commit [6b2115] and try this version.


I recommend you get a lib list with LibRadar2 and decompile the apk with Apktool. Then write a automatic script to delete smali files in libraries.

from libradar.

 avatar commented on May 28, 2024

Commit [6b2115] won't work either, I will try writing a script.
Thank you very much.

from libradar.

Related Issues (20)

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.