CS-Situational-Awareness-BOF icon indicating copy to clipboard operation
CS-Situational-Awareness-BOF copied to clipboard

bug in 'whoami'

Open yanghaoi opened this issue 3 years ago • 7 comments
trafficstars

Hi, Your bof is very nice! But i fond a litter bug in zh-cn local windows, it's look like(DispName words Full display): wrong: image True: image

yanghaoi avatar Jul 30 '22 14:07 yanghaoi

I try fix it , but i not found syntax error... o.0

yanghaoi avatar Jul 30 '22 14:07 yanghaoi

Hello thank you for this report.

I'm honestly not used to working with character maps outside of english. I'm having difficulty understanding what the bug is.

Is the description being cut off or is it the enabled / Disabled showing in english?

freefirex avatar Aug 01 '22 13:08 freefirex

Yes, the bug’s really hard to understand.I’ll try to use w_char* and LookupPrivilegeDisplayNameW fix this🤪

freefirex @.***>于2022年8月1日 周一21:05写道:

Hello thank you for this report.

I'm honestly not used to working with character maps outside of english. I'm having difficulty understanding what the bug is.

Is the description being cut off or is it the enabled / Disabled showing in english?

— Reply to this email directly, view it on GitHub https://github.com/trustedsec/CS-Situational-Awareness-BOF/issues/80#issuecomment-1201176150, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFC5RPB7ESTQ7PY37IAS4QLVW7DSRANCNFSM55DKRAXA . You are receiving this because you authored the thread.Message ID: @.***>

yanghaoi avatar Aug 02 '22 17:08 yanghaoi

Hello, I use "LookupPrivilegeNameW" and "WideCharToMultiByte" fix the bug.

image

yanghaoi avatar Aug 08 '22 09:08 yanghaoi

Awesome, I am open to accepting a pull request if you have code that fixes the bug as stated.

Otherwise I'll address this the next time I'm going through issue lists / pull requests and working this codebase.

freefirex avatar Aug 08 '22 12:08 freefirex

Thanks, I’ll do it this week. 😀

freefirex @.***>于2022年8月8日 周一20:59写道:

Awesome, I am open to accepting a pull request if you have code that fixes the bug as stated.

Otherwise I'll address this the next time I'm going through issue lists / pull requests and working this codebase.

— Reply to this email directly, view it on GitHub https://github.com/trustedsec/CS-Situational-Awareness-BOF/issues/80#issuecomment-1208095716, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFC5RPHXPB737UXRD64MJODVYEACRANCNFSM55DKRAXA . You are receiving this because you authored the thread.Message ID: @.***>

yanghaoi avatar Aug 09 '22 11:08 yanghaoi

Hello,I create a repository BOF_whoami fixes some bugs, thank you.

yanghaoi avatar Aug 14 '22 11:08 yanghaoi

This is not a pull request, its a completely separate repo.

The other issue is if I fix this here I do think I'll be obligated to make the entire code base have international support. At this time I'm unable to allocate that time to such an effort. For these reasons I'm closing this issue and will not be regarding it further.

freefirex avatar Nov 03 '22 14:11 freefirex