Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q about non-password login #10

Open
CiE-XinYuChen opened this issue Apr 2, 2023 · 7 comments
Open

Q about non-password login #10

CiE-XinYuChen opened this issue Apr 2, 2023 · 7 comments

Comments

@CiE-XinYuChen
Copy link

Good project! But how could i log in server with non-password?

@CiE-XinYuChen
Copy link
Author

For more, I have in trouble.


PS C:\Users\13102\python\panyc> anyconnect connect ******:443 -u *** -p "" --insecure
[INFO ] Using C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpncli.exe
[INFO ] Connecting to '209.141.36.27:443' as '*****'
[DEBUG] Cisco AnyConnect Secure Mobility Client (version 4.10.05111) .

Copyright (c) 2004 - 2022 Cisco Systems, Inc.  All Rights Reserved.


  >> state: Disconnected
  >> state: Disconnected
  >> notice: Ready to connect.
  >> registered with local VPN subsystem.
  >> contacting host (*******) for login information...
  >> notice: Contacting *******.
AnyConnect cannot verify server: *******
    - Certificate is from an untrusted source.
Connecting to this server may result in a severe security compromise!

Most users do not connect to untrusted servers unless the reason for the error condition is known.

Connect Anyway? [y/n]: admin3
  >> warning: Connection attempt has failed.
  >> state: Disconnected

there are two que:

  1. I use special portal. Did grammar correct?
  2. I have non-password. did using correct?
  3. I login with insecure server.

@CiE-XinYuChen
Copy link
Author

oh my math is in trouble as same. That is three question.

@hacki11
Copy link
Owner

hacki11 commented Apr 2, 2023

I will have a look but may I have a question. Why are you using VPN at all if you don't have a password and trust insecure certificate? You could also just use no vpn at all regarding security.

@CiE-XinYuChen
Copy link
Author

Oh, haha. It is a little bit complex that my team share same server and username , For convenient we set non-passwd at first.If I have no access to set up a new username because I am not admin. It seem not secure so that we change to unnormal portal. Actually we use VPN to avoid government limit in China mainland, Not for secure.

@CiE-XinYuChen
Copy link
Author

Yes. You;re right. Maybe sometimes no password is the best passwd.

@CiE-XinYuChen
Copy link
Author

One more is that we set up server for CS not illegal or crime, Just for research and study. Chinese mainland government block global internet access requirement and use global internet directly. In China, lots of people using VPN for access global internet.

@hacki11
Copy link
Owner

hacki11 commented Apr 2, 2023

It looks like you didn't use the latest version. That's exactly how the last issue looked like where instead of 'Y' for accepting insecure connections the user name is used. But then it is strange, why it doesn't complain about the cli argument --insecure. Can you verify if you are using the latest version v0.6?

@hacki11 hacki11 reopened this Apr 2, 2023
Repository owner deleted a comment from devsquadcore Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants