hey @discord wtf are you doing here
@discord oh my fucking god it's using a library called systeminformation that calls powershell like "Get-WmiObject Win32_logicaldisk | select Access,Caption,FileSystem,FreeSpace,Size ${drive ? '| where -property Caption -eq ' + drive : ''} | fl" instead of doing anything properly.
@discord holy fucking shit they're executing from DriverStore, assuming System32 AND hardcoding C:\Windows or depending on an environment variable
this person has never programmed on windows in their lives
@discord this code scans EIGHT HUNDRED different folders to try and find an nvidia-smi binary. what the ACTUAL fuck.
@discord THIS is why your software is slow. it's not "web tech" or "electron" or "JIT compilation" or any fucking sorting algorithm
it's boneheaded _design decisions_ made to avoid doing things properly in packages with 1,600,000 weekly downloads.
@discord ASSUMING CODEPAGE 437 IF YOU CAN'T EXECUTE A DOS COMMAND FROM THE 1980S WHEN GetACP IS RIGHT FUCKING THERE.
@discord aight im muting this shit good run y'all hopefully this gets fixed soon xoxo
@rafusca_m @vidxhere @Lopmatus_Ventus @discord stop lying, lol :)
@aubymori @discord in this case learn.microsoft.com/en-us/windows/…
@Ncikxd @aubymori @discord this is one example in a sea of fragility
@Kittenscorner @rafusca_m @vidxhere @Lopmatus_Ventus @discord from what i can tell it depends on your discord data sharing settings
@Kittenscorner @rafusca_m @vidxhere @Lopmatus_Ventus @discord very quick to accuse someone of lying for someone with no skills to back up what they're saying :)
@Kittenscorner @rafusca_m @vidxhere @Lopmatus_Ventus @discord this gets called via a function `getSystemInfo` which then calls the electron IPC mechanism with "PROCESS_UTILS_GET_SYSTEM_INFO" which runs this code, depends on your data sharing settings
@DeFlanko @discord
@Kittenscorner @secondarysmiIe @discord you're lying about *me* now, as well as spreading actual misinformation and refusing any attempt of mine to actually be civil and educate and ya know, not yell at each other? my ass "couldn't handle the truth" your ass couldn't handle being a decent person
@discord aight if y'all are gonna keep spreading misinfo about this being a virus or actively misunderstanding that task manager can only ever show an instance in time, better lock this shit down, nice going y'all
@discord for extra resources and info, here's my digging:
@discord here's a completely independent guy who reminded me that windows logs all powershell invocations:
@discord and here's a fresh download under windows sandbox showing the code is shipped with a clean install of the discord client:
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.
