소스 검색

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