Git Product home page Git Product logo

dexter's People

Contributors

mikeandrson 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

dexter's Issues

Ability to open apk files

Before in Dexter I don't remember in which version was the ability to open apk files, not only dex files and it was actually very useful option. Now Dexter can open only dex files and we have to take out dex files first. That's not so comfortable. Please return that ability.

31 Stars

İ like it and toss a star to your project! Happy NNN (31) days

Sorting by last modified date

The file selection dialog sorts folders alphabetically and this is not always convenient. Please add the option to sort by the date of the last modification. I have already modified the Dexter dex files and fixed that for my convenience.Screenshot_2022-06-22-13-50-47-522_ma.dexter.jpg

About jadx

Hello sir how you implement jadx 1.2.0 in your latest GitHub Action Android CLI ?

The same thing when I try to implement in my project it is not working ☹️.. I don't know why ..but one more funny thing is, i curiously deleted the 1.2.0 lib from your app and add the latest jadx, then surprisingly it's working fine but when I try to use the latest jadx lib in my project it is not working ☹️ . I don't know what I missed .. It is automatically closed the dialog without any proper error.

See my code

public void _dex2Java(final String _outPath) {
		prog = new ProgressDialog(MainActivity.this);
		prog.setTitle("Dex2Java");
		prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
		prog.show();
		final Handler mHandler = new Handler() {
			public void handleMessage(Message msg) {
				prog.dismiss();
			} 
		};
		new Thread() {
			public void run() {
				Looper.prepare();
				FileUtil.makeDir(_outPath);
				try {
					JadxArgs args = new JadxArgs();
					args.getInputFiles().add(new File(dexPath_java.getText().toString()));
					args.setSkipResources(true);
					args.setShowInconsistentCode(true);
					args.setRespectBytecodeAccModifiers(true);
					args.setFallbackMode(false);
					JadxDecompiler decompiler = new JadxDecompiler(args);
					decompiler.load();
					List<JavaClass> javaClasses=decompiler.getClasses();
					for (int i = 0; i < (int)(javaClasses.size()); i++) {
						JavaClass jcls = javaClasses.get(i);
						jcls.decompile();
						prog.setMessage(jcls.getFullName());
						prog.setMax((int)javaClasses.size());
						prog.setProgress((int)i);
						String fullName = jcls.getFullName();
						String code = jcls.getCode();
						File javaFile = new File(DesPath(_outPath) + (fullName.replace(".","/")) + ".java");
						                        
						FileUtil.writeFile(javaFile.getAbsolutePath(), code);
					}
				} catch (Exception e) {
				showMessage(getApplicationContext(), e.toString());
				}
				mHandler.sendEmptyMessage(0);
				Looper.loop();
			} }.start();
	}
	

	
	    public static String getPrefix(String path) {
		        String result = "";
		        File file = new File(path);
		        if (new File(path).isDirectory()) {
			            return "";
			        }
		
		        result = file.getName().subSequence(0, file.getName().lastIndexOf(".")).toString();
		
		
		        return result;
	}
	
	public String DesPath(String path) {
		        if (path.endsWith("/")) {
			            return path;
			        } else {
			            return path + "/";
			        }
		
		    }
	    
	    public void saveFile(byte[] bfile, String filePath) throws Exception {
		        BufferedOutputStream bos = null;
		        FileOutputStream fos = null;
		        File file = null;
		
		        File dir = new File(filePath);
		        if (!dir.exists() && dir.isDirectory()) {//判断文件目录是否存在
			            dir.mkdirs();
			        }
		        file = new File(filePath);
		        fos = new FileOutputStream(file);
		        bos = new BufferedOutputStream(fos);
		        bos.write(bfile);
		
		        if (bos != null) {
			
			            bos.close();
			
			        }
		        if (fos != null) {
			
			            fos.close();
			
			        }
		
		
	}
``

onBackPressed

When the back button is pressed, the application closes, it would be nice to have a function to avoid this.

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.