浏览代码

-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;