Wam ✨🌈 Profile picture
Aug 17 19 tweets 5 min read Read on X
hey @discord wtf are you doing here Image
@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
Image
Image
@discord this code scans EIGHT HUNDRED different folders to try and find an nvidia-smi binary. what the ACTUAL fuck. Image
@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. Image
@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 Image
@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 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:

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Wam ✨🌈

Wam ✨🌈 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(