Giter Site home page Giter Site logo

stellar-dynpsk's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ebcoelho michaaa

stellar-dynpsk's Issues

Your SSID couldn't be found! Exiting

If I manage SSID length with 11 letters it works but more than this does not works.

$ python3 stellar-dynpsk.py
Stellar DynPSK - a simple PSK changer for Stellar Wireless SSIDs
Written by Benny Eggerstedt in 2018
This is free software not provided/shipped by Alcatel-Lucent Enterprise. Use it at your own risk!
[+] Reading settings.json file
[!] Ignoring certificate warnings or self-signed certificates!
[!] You should really fix this!
[] Attempting to connect to OmniVista server @ https://ov2500.company.com
[
] Connection to ov2500.company.com successful!
[] Working on AP GROUP ALCATEL...
[
] Found instanceID 5b3a30c3e4b078fa68b9e351 for AP group ALCATEL
[*] Found deviceId 5e5f0cc3e4b02df499d4d9fd for SSID 12345678901
[+] Changed the PSK of AP GROUP ALCATEL, SSID 12345678901 to: XwzHRg8VeVM5
[+] Scan the QR Code sent via mail with your mobile phone and login to the network!

$ vi settings.json (changed SSID to 123456789012)

$ python3 stellar-dynpsk.py
Stellar DynPSK - a simple PSK changer for Stellar Wireless SSIDs
Written by Benny Eggerstedt in 2018
This is free software not provided/shipped by Alcatel-Lucent Enterprise. Use it at your own risk!
[+] Reading settings.json file
[!] Ignoring certificate warnings or self-signed certificates!
[!] You should really fix this!
[] Attempting to connect to OmniVista server @ https://ov2500.company.com
[
] Connection to ov2500.company.com successful!
[] Working on AP GROUP ALCATEL...
[
] Found instanceID 5b3a30c3e4b078fa68b9e351 for AP group ALCATEL
[!] Your SSID couldn't be found! Exiting!

Python3 SMTP ValueError: server_hostname cannot be an empty string or start with a leading dot

Issue running the script after python upgrade from 3.5 to 3.7.

Found some references on link below:
ansible/ansible#44552 (comment)

$ python3 stellar-dynpsk.py

Stellar DynPSK - a simple PSK changer for Stellar Wireless SSIDs
Written by Benny Eggerstedt in 2018
This is free software not provided/shipped by Alcatel-Lucent Enterprise. Use it at your own risk!

[+] Reading settings.json file
[!] Ignoring certificate warnings or self-signed certificates!
[!] You should really fix this!
[] Attempting to connect to OmniVista server @ https://ov2500.lettel.com.br
[
] Connection to ov2500.lettel.com.br successful!
[] Working on AP GROUP L2GRE-STELLAR...
[
] Found instanceID 5b57933ce4b0a167146a7b78 for AP group L2GRE-STELLAR
[*] Found deviceId 5b5869a4e4b0391cd6b2a3f6 for SSID ALCA-PSK
[+] Changed the PSK of AP GROUP L2GRE-STELLAR, SSID ALCA-PSK to: aazdbWHk
Traceback (most recent call last):
File "stellar-dynpsk.py", line 660, in
smtp_server, smtp_auth, smtp_user, smtp_port, smtp_password)
File "stellar-dynpsk.py", line 454, in send_mail
smtp.starttls()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/smtplib.py", line 771, in starttls
server_hostname=self._host)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 412, in wrap_socket
session=session
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 843, in _create
owner=self, session=self._session,
ValueError: server_hostname cannot be an empty string or start with a leading dot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.