Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Window Logger

Removed. It was pretty bad tbh.
There are better ways to retrieve the time.
Window could be unicode.
Writing [buffer overflow] when you could have just written partial window title.
Redundant call to memset since stack is cleaned at the end of the scope.
And writing a window title every 500ms seconds which will fill up your file really quickly.

overall trash code, trash design.
(Jun 5, 2019 02:16 PM)YouthInAsia Wrote:  There are better ways to retrieve the time.
Window could be unicode.
Writing [buffer overflow] when you could have just written partial window title.
Redundant call to memset since stack is cleaned at the end of the scope.
And writing a window title every 500ms seconds which will fill up your file really quickly.

overall trash code, trash design.

I'll try to improve. ✌
lol what kinda code is this

your "title" buffer will never have a "strlen" above the MaxCount argument to begin with...
(Jun 5, 2019 03:48 PM)incelsubhuman Wrote:  lol what kinda code is this

your "title" buffer will never have a "strlen" above the MaxCount argument to begin with...

GetWindowText(hwnd, title,buflen);
I wasn't even paying attention to that 🤣


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by annikk.exeMar 18, 2014 06:05 AM 4 736 Mar 18, 2014 06:05 AM
Last Post: annikk.exe
[.NET] by Mr.TwEaKSep 16, 2012 03:27 PM 1 147 Sep 16, 2012 03:27 PM
Last Post: Khaos Theory