فهرست منبع

-Unick is unreliable. You can use nick+bad PW

and harry will address you with the wrong name.
(You could use it to get the real name from
someone's nick.)

Anyway, don't use it, it doesn't work 100%.
bugz 4 سال پیش
والد
کامیت
fffa2aea19
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      hharry.cpp

+ 4 - 0
hharry.cpp

@@ -327,9 +327,13 @@ int main(int argc, char *argv[]) {
   // Locate username (if given) in the command line
   // -U<username>
   for (int x = 0; x < argc; x++) {
+    /*
+    // This doesn't work:  You can give username + wrong password.
+    // You will be identified as the wrong user at the login screen!
     if (strncmp("-U", argv[x], 2) == 0) {
       username.assign(argv[x] + 2);
     }
+    */
     /* Changed in latest version
     if (strncmp("-SL", argv[x], 3) == 0) {
       node = atoi(argv[x] + 3) + 1;