-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Unicode character in contributions #8089
Comments
Did you run |
Thank you for your reply! |
Reviewing your Unicode characters:
You should use the ASCII equivalents. Even though I would hope most of us are using Unicode, you can't guarantee that for every setup. I'll leave what characters we use to your artistic liberty. |
Actually, I assume you used Unicode to improve the current tree output. Can you show the original tree output to compare against? WMAP isn't very well supported, btw. I don't think it's been touched in years, other than for bug fixes. |
Sadly, there is no equivalent in the ASCII table (there are in the 'extended ascii' which is Unicode too) This is the old output :
Yes you're right, I take the character from the tree command on linux/dos What you said is interesting. Why WMAP isn't very well supported ? Is there a better way to scan a web application ? Thanks |
What I meant is to use characters from the ASCII set to build a similar-looking tree. Like Your new tree looks awesome, but if you look at how static const struct linedraw cstable[]={
{ latin1_3, "| ", "|--", "·--", "©" },
{ iso8859_789, "| ", "|--", "·--", "(c)" },
{ shift_jis, "\204\240 ", "\204\245", "\204\244", "(c)" },
{ euc_jp, "\250\242 ", "\250\247", "\250\246", "(c)" },
{ euc_kr, "\246\242 ", "\246\247", "\246\246", "(c)" },
{ iso2022jp, "\033$B(\"\033(B ", "\033$B('\033(B", "\033$B(&\033(B", "(c)" },
{ ibm_pc, "\263 ", "\303\304\304", "\300\304\304", "(c)" },
{ ibm_ps2, "\263 ", "\303\304\304", "\300\304\304", "\227" },
{ ibm_gr, "\263 ", "\303\304\304", "\300\304\304", "\270" },
{ gb, "\251\246 ", "\251\300", "\251\270", "(c)" },
{ utf8, "\342\224\202\302\240\302\240",
"\342\224\234\342\224\200\342\224\200", "\342\224\224\342\224\200\342\224\200", "\302\251" },
{ big5, "\242x ", "\242u", "\242|", "(c)" },
{ viscii, "| ", "|--", "`--", "\371" },
{ koi8ru, "\201 ", "\206\200\200", "\204\200\200", "\277" },
{ windows, "| ", "|--", "`--", "\251" },
{ NULL, "| ", "|--", "`--", "(c)" }
}; Perhaps you should have a compat mode. |
Metasploit isn't really a web scanner. It never was. We support WMAP insofar as we'll maintain it, but no new features are being added to it. Until now. ^^ |
Looks like you already added a compat mode! Thanks!! |
Consider this matter resolved. Moving to #8104. |
Hi guys!
I'm newbie in Metasploit contribution and the last one I wrote was the refactoring of the tree printing in wmap plugin
I reproduced the beautiful output of the tree command on linux
This is the result (without colors):
It’s more pleasant but my problem is this…
So, my questions are: how can I do?
And why Unicode is banished?
Thanks to all for reading me and your fantastic job!
(And sorry for my english)
The text was updated successfully, but these errors were encountered: