Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print full mutator paths in list option #24

Open
dmknght opened this issue Nov 16, 2019 · 1 comment
Open

Print full mutator paths in list option #24

dmknght opened this issue Nov 16, 2019 · 1 comment
Labels
good first issue Good for newcomers

Comments

@dmknght
Copy link

dmknght commented Nov 16, 2019

By now -l option give users something like:

Command Obfuscators:

Name: Case Swapper
Description: Flips the case of all alpha chars
Size Rating: 1
Time Rating: 1
Author: capnspacehook

Stubs:

	Name: bash case swap expansion
	Size Rating: 1
	Time Rating: 1
	File write: False
	Binaries Used: None

Name: Reverse
Description: Reverses a command
Size Rating: 1
Time Rating: 1
Author: capnspacehook

Stubs:

	Name: printf rev
	Size Rating: 1
	Time Rating: 1
	File write: False
	Binaries Used: rev

	Name: herestring rev
	Size Rating: 1
	Time Rating: 1
	File write: False
	Binaries Used: rev

String Obfuscators:

And the option for choosing mutator must be something like --choose-mutators token/special_char_only compress/bzip2 string/file_glob
IMO, it is a little confused for new users to remember, understand the mutator module names. So it would be easier for users if you can do something in -l option like:

String Obfuscators:

Name: File Glob
Module name: string/file_glob
Description: Uses files and glob sorting to reassemble a string
Size Rating: 5
Time Rating: 5
Binaries used: cat, mkdir, rm, rmdir
File write: True
Author: Elijah-Barker
@capnspacehook
Copy link
Member

This is a good idea, and would be extremely simple to add in. I'd definitely accept a PR for this 😃

From a brief glance at the source, I'm pretty sure you could add this by adding a line to the listMutatorType function in the main file: https://github.com/Bashfuscator/Bashfuscator/blob/master/bashfuscator/bin/bashfuscator#L76

@capnspacehook capnspacehook added the good first issue Good for newcomers label Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants